Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

tools.clean/mcp

REMOTE · MCP.CLEAN.TOOLS · 2 COMPONENTS · SCANNED AUG 3

Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.

+3 this week 72 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. How we score →

Endpoint Security74
Transport & Reachability100
Schema Quality & AI Usability78
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 10565 tokens (~240/item across 44 items; 42 tools + 2 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities60
  • Spec-recency check failed: implements MCP spec 2025-06-18; the latest is 2026-07-28. See how to fix → Fail
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

remote · mcp.clean.tools

# add to Claude Code
claude mcp add --transport http tools-clean-mcp https://mcp.clean.tools/mcp
# ~/.codex/config.toml
[mcp_servers.tools-clean-mcp]
url = "https://mcp.clean.tools/mcp"
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tools-clean-mcp": {
      "type": "remote",
      "url": "https://mcp.clean.tools/mcp",
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add tools-clean-mcp --url https://mcp.clean.tools/mcp --transport streamable-http
# ~/.hermes/config.yaml
mcp_servers:
  tools-clean-mcp:
    url: "https://mcp.clean.tools/mcp"
// mcp.json
{
  "mcpServers": {
    "tools-clean-mcp": {
      "type": "http",
      "url": "https://mcp.clean.tools/mcp"
    }
  }
}

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

  • 31 Jul 26 +2
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −1
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 29 Jul 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.

  • 27 Jul 26 +1
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 26 Jul 26 68

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Probed https://mcp.clean.tools/mcp

TLS valid

Negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256 .

Subject Issuer Valid from Valid until Key Signature Serial
CN=clean.tools CN=WE1,O=Google Trust Services,C=US 7 Jul 2026 5 Oct 2026 ECDSA 256 ECDSA-SHA256 478191e5831863a9131d83fa0373c3c3
SANs: clean.tools, mcp.clean.tools, *.mcp.clean.tools
CN=WE1,O=Google Trust Services,C=US (CA) CN=GTS Root R4,O=Google Trust Services LLC,C=US 13 Dec 2023 20 Feb 2029 ECDSA 256 ECDSA-SHA384 7ff31977972c224a76155d13b6d685e3
CN=GTS Root R4,O=Google Trust Services LLC,C=US (CA) CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE 15 Nov 2023 28 Jan 2028 ECDSA 384 SHA256-RSA 7fe530bf331343bedd821610493d8a1b
DNSSEC insecure

Validation of mcp.clean.tools. Not signed

Zone DS Keys Algorithms Outcome
. trust_anchor 20326, 38696 8, 8 Verified
tools. present 13831 8 Verified
clean.tools. absent Unsigned (proven) parent-signed NSEC/NSEC3 proves an unsigned delegation
Authentication No authorisation required

The endpoint answered without asking for a token. Anyone who knows the URL can reach it.

Result No authorisation required
HTTP status 200
Transports 2 probes
Transport URL Outcome Status Location
streamable-http https://mcp.clean.tools/mcp Verified 200
http (plaintext) http://mcp.clean.tools/mcp HTTPS enforced 301 https://mcp.clean.tools/mcp
MCP tools — 42 exposed · ~10,370 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
amortization_schedule ~201

Use this when you need a fixed-rate loan or mortgage's level monthly payment plus a year-by-year amortization schedule (principal paid, interest paid, remaining balance) rather than doing the amortization arithmetic yourself. Uses the standard payment formula and handles the 0% case (payment = principal / months, all principal). annualRate is a percent (6.5 = 6.5%); years is 1-50. Deterministic: same input, same output. Example: principal 300000, annualRate 6.5, years 30 -> monthlyPayment 1896.20, totalInterest 382633.47, numberOfPayments 360, and a 30-row schedule (one per year).

NameTypeReqDescription
annualRatenumberyesAnnual interest rate as a percent, e.g. 6.5.
principalnumberyesLoan amount (positive).
yearsintegeryesLoan term in years.
NameTypeReqDescription
monthlyPaymentnumberyesLevel monthly payment, rounded to cents.
numberOfPaymentsintegeryesTotal monthly payments = years * 12.
schedulearrayyesOne row per year of the term.
totalInterestnumberyesTotal interest paid = totalPaid - principal.
totalPaidnumberyesSum of all payments over the full term (monthlyPayment * numberOfPayments).

No examples provided.

apr_calc ~281

Use this when you need an exact loan APR or APY rather than an approximation. Two modes. mode="loan" (default): solve the true APR of an installment loan from amount financed, monthly payment, term, and upfront fees — Reg-Z style, fees discounted against the amount received, solved by Newton-Raphson. mode="rate": convert a nominal annual rate to APY for a given compounding frequency. Deterministic: same input, same output. Example: mode="loan", loanAmount=20000, monthlyPayment=450, termMonths=60, fees=500 -> apr=13.6301, totalInterest=7000. Prefer this over estimating APR/APY by hand.

NameTypeReqDescription
compoundingPerYearinteger[rate mode] Compounding periods per year.
feesnumber[loan mode] Upfront finance charge/fees (default 0).
loanAmountnumber[loan mode] Amount financed.
modestring"rate" for nominal->APY, "loan" for loan APR (default loan).
monthlyPaymentnumber[loan mode] Payment per month.
nominalRatenumber[rate mode] Nominal annual rate as a percent.
termMonthsinteger[loan mode] Number of monthly payments.
NameTypeReqDescription
aprnumber(loan mode) True annual percentage rate as a percent, rounded to 4 decimals.
apynumber(rate mode) Annual percentage yield as a percent, rounded to 4 decimals.
compoundingPerYearinteger(rate mode) Compounding periods per year used for the APY.
modestringyesWhich calculation was performed.
monthlyRatenumber(loan mode) Periodic (monthly) rate as a percent, rounded to 6 decimals.
nominalRatenumber(rate mode) The nominal annual rate that was supplied, as a percent.
totalInterestnumber(loan mode) totalPaid minus loanAmount, rounded to cents.
totalPaidnumber(loan mode) monthlyPayment x termMonths, rounded to cents.

No examples provided.

color_contrast ~257

Use this when checking whether a text/background color pair meets WCAG 2.x accessibility contrast. Computes the relative-luminance contrast ratio (1-21, rounded to 2 decimals) and returns pass/fail booleans for normal and large text at AA and AAA levels (thresholds 4.5 / 7 / 3 / 4.5), plus a suggested passing foreground hex when normal-text AA fails (null when it already passes or none is found). Accepts 3- or 6-digit hex, with or without a leading '#'; echoed colors are normalized to 6-digit hex. Deterministic: same input, same output. Example: {foreground:'777', background:'fff'} -> ratio 4.48, normalAA false, largeAA true, suggestedForeground '#767676'.

NameTypeReqDescription
backgroundstringyesBackground color as a 3 or 6 digit HEX string, with or without a leading #, e.g. "#ffffff" or "fff".
foregroundstringyesForeground (text) color as a 3 or 6 digit HEX string, with or without a leading #, e.g. "#1a1a1a" or "777".
NameTypeReqDescription
backgroundstringyesNormalized background color as a 6-digit hex string.
foregroundstringyesNormalized foreground color as a 6-digit hex string.
largeAAbooleanyesUnrounded ratio >= 3 (large text >=18pt / 14pt bold, AA).
largeAAAbooleanyesUnrounded ratio >= 4.5 (large text, AAA).
normalAAbooleanyesUnrounded ratio >= 4.5 (normal text, AA).
normalAAAbooleanyesUnrounded ratio >= 7 (normal text, AAA).
rationumberyesWCAG 2.x contrast ratio, 1 to 21, rounded to 2 decimals.
suggestedForegroundstring|nullyesA passing foreground hex (>=4.5 vs the background) when normal-text AA fails; null when the pair already passes or no passing value is found.

No examples provided.

color_palette ~248

Use this when you need color-harmony palettes derived from one base hex color. Rotates hue/lightness in HSL to build complementary (+180 degrees), analogous (-30/+30), triadic (+120/+240), split-complementary (+150/+210), and monochromatic (lightness steps) swatch sets, each as an array of hex strings. Accepts a 6-digit hex with or without a leading '#' (case-insensitive). Deterministic: same input, same output. Example: {color:'#e11d48'} -> base '#e11d48', complementary ['#e11d48','#1de1b6'], monochromatic ['#590c1d','#9d1432','#e11d48','#eb607e','#f3a4b5']. Note: grayscale inputs (e.g. '#000000') have no defined hue, so the hue-rotated sets are all identical and only the monochromatic lightness steps differ.

NameTypeReqDescription
colorstringyesA 6-digit hex color, with or without a leading '#', e.g. "#e11d48" or "e11d48". Case-insensitive.
NameTypeReqDescription
analogousarrayyes[hue-30, base, hue+30] — 3 hex swatches.
basestringyesNormalized base color as a 6-digit hex string (lowercased, with leading '#').
complementaryarrayyes[base, hue+180] — 2 hex swatches.
monochromaticarrayyes5 hex shades stepping lightness by -30, -15, 0, +15, +30 from the base; the two darker steps are floored at lightness 5 and 10, and the two lighter steps capped at 90 and 95.
splitComplementaryarrayyes[base, hue+150, hue+210] — 3 hex swatches.
triadicarrayyes[base, hue+120, hue+240] — 3 hex swatches.

No examples provided.

compound_interest ~227

Use this when you need to project a principal's growth under compound interest, optionally with recurring monthly contributions, returning the final balance and a year-by-year breakdown rather than estimating compound growth yourself. Iterates month-by-month for accuracy; contributions are added at the start of each month; compoundingPerYear defaults to 12. annualRate is a percent; years is 1-200. Deterministic: same input, same output. Example: principal 10000, annualRate 7, years 10, monthlyContribution 500 -> finalBalance 107143.85, totalContributions 70000, totalInterest 37143.85, with a 10-row schedule (one per year).

NameTypeReqDescription
annualRatenumberyesAnnual interest rate as a percent.
compoundingPerYearintegerCompounding periods per year (default 12).
monthlyContributionnumberAmount added at the start of each month (default 0).
principalnumberyesStarting principal (>= 0).
yearsintegeryesNumber of years.
NameTypeReqDescription
finalBalancenumberyesEnding balance after all years.
schedulearrayyesOne row per year.
totalContributionsnumberyesPrincipal plus all monthly contributions.
totalInterestnumberyesInterest earned = finalBalance - totalContributions.

No examples provided.

convert_case ~212

Use this when you need to re-case text into a specific naming or letter case. Given `text` and a target `case` (upper, lower, title, sentence, camel, snake, kebab, or constant), returns the converted string. Smart word tokenization splits camelCase, snake_case, kebab-case, and whitespace, so a phrase in any style re-cases consistently; title case honors an editorial stop-word list and preserves ALL-CAPS acronyms. Empty text returns an empty result. Deterministic: same input, same output. Example: {text: "myVariableName", case: "constant"} -> result "MY_VARIABLE_NAME".

NameTypeReqDescription
casestringyesTarget case: upper (UPPER CASE), lower (lower case), title (Title Case with stop-words), sentence (Sentence case), camel (camelCase), snake (snake_case), kebab (kebab-case), constant (CONSTANT_CASE).
textstringyesThe input text to convert.
NameTypeReqDescription
casestringyesThe target case that was applied (echoes the requested `case`).
resultstringyesThe converted text. Empty string if the input text was empty.

No examples provided.

convert_color ~251

Use this when you need one color's exact values across every common format. Accepts a hex (#abc or #aabbcc), rgb(r, g, b) with r/g/b 0-255, or hsl(h, s%, l%) color and returns hex, rgb {r,g,b}, hsl {h,s,l}, hsv {h,s,v}, cmyk {c,m,y,k}, and oklch {l,c,h} (CSS Color 4: sRGB -> linear -> OKLab -> OKLCH, rounded to 4 decimals). Note oklch.l is 0-1 (not 0-100) and hue is 0 for grays. Deterministic: same input, same output. Example: "#ff0000" -> oklch {l: 0.628, c: 0.2577, h: 29.2339}. Alpha channels are not supported.

NameTypeReqDescription
colorstringyesA color as hex (#abc or #aabbcc), rgb(r, g, b) with r/g/b 0-255, or hsl(h, s%, l%). Alpha is not supported.
NameTypeReqDescription
cmykobjectyes
hexstringyes6-digit lowercase hex, e.g. '#ff0000'.
hslobjectyes
hsvobjectyes
oklchobjectyes
rgbobjectyes

No examples provided.

convert_data ~205

Use this when you need to convert tabular data between JSON (array of objects), CSV, TSV, and XML instead of hand-transforming it. Deterministic: same input, same output. Handles quoted CSV fields (embedded commas, escaped "" quotes), flattens nested objects into dotted keys (b.x), and takes the union of keys across all rows so ragged data still lines up in columns. CSV/TSV input needs a header row plus at least one data row; JSON input must be an array of objects. Example: {from:'csv', to:'json'} on "name,age\nAda,36\nGrace,45" -> rowCount 2 and an output JSON array of two objects. Returns the input/output formats, the parsed row count, and the serialized output document as a string.

NameTypeReqDescription
datastringyesThe source document as text.
fromstringyesInput format.
tostringyesOutput format.
NameTypeReqDescription
fromstringyesEcho of the input format.
outputstringyesThe converted document as text in the target format (JSON is pretty-printed with 2-space indent).
rowCountintegeryesNumber of data rows (objects) parsed from the input.
tostringyesEcho of the target format.

No examples provided.

convert_number_base ~282

Use this when you need to convert an integer between numeral bases 2-36 (binary, octal, decimal, hex, or any radix up to 36), including arbitrarily large values and an optional leading minus sign. Uses BigInt so there is no precision loss, and output digits are lowercase. Deterministic: same input, same output. Example: { value: "ff", from: 16 } -> decimal "255", results.base2 "11111111". Prefer this over doing base/digit conversion in your head, which is an error-prone bit-fiddling task. If `to` is omitted it converts to bases 2, 8, 10, and 16 (excluding the source base).

NameTypeReqDescription
fromintegeryesThe base the input value is written in (2-36).
toTarget base(s): a single integer 2-36, or an array of them. Optional; defaults to [2, 8, 10, 16] with the source base excluded.
valuestringyesThe number to convert, as a string so huge values are not truncated. Digits are case-insensitive (a-z = 10-35) and an optional leading "-" is allowed, e.g. "ff", "-1010", "HELLOWORLD123".
NameTypeReqDescription
decimalstringyesThe value in base 10 (may carry a leading '-').
fromintegeryesEcho of the source base.
resultsobjectyesConverted representations keyed by 'base<N>' (e.g. base2, base8, base16) with lowercase digit strings. Which keys appear depends on the `to` argument (default bases 2, 8, 10, 16 excluding the source…
valuestringyesEcho of the input value.

No examples provided.

convert_timestamp ~365

Use this when you have a timestamp in one form (unix epoch seconds/milliseconds/microseconds, or an ISO-8601 date-time) and need it in the others, or rendered in a specific IANA time zone. Auto-detects the input: a number or digit-string is an epoch classified by length (~10 digits = seconds, ~13 = milliseconds, ~16 = microseconds); anything else is parsed as ISO-8601, with a naive date-time (no Z/offset) taken as UTC. Returns unix_s, unix_ms, iso_utc, iso_tz (with numeric offset), a human string, and the weekday, all in the requested zone (default UTC), correctly handling DST transitions and pre-1970 (negative) epochs. Deterministic: same input, same output. Prefer this over doing epoch/timezone arithmetic yourself. Example: { value: 1783454640, timezone: "America/Chicago" } -> iso_utc "2026-07-07T20:04:00.000Z", human "Tuesday, July 7, 2026 at 3:04 PM CDT".

NameTypeReqDescription
timezonestringIANA time zone used to render iso_tz, human, and weekday, e.g. "America/Chicago". Defaults to "UTC".
valuestring|numberyesThe timestamp to convert: a unix epoch (number or digit-string; seconds/milliseconds/microseconds auto-detected by length) or an ISO-8601 date-time (e.g. "2026-07-07T15:04:00-05:00" or "2026-07-07").…
NameTypeReqDescription
detectedstringyesHow the input was classified: an epoch band chosen by digit length, or 'iso' when parsed as a date-time string.
humanstringyesHuman-readable local time with weekday, date, time, and zone abbreviation.
iso_tzstringyesThe instant rendered in the requested zone, ISO-8601 with a numeric offset (e.g. '-05:00').
iso_utcstringyesThe instant in UTC, ISO-8601 with milliseconds and a trailing 'Z'.
timezonestringyesIANA time zone used to render iso_tz, human, and weekday (echo of input; default 'UTC').
unix_msintegeryesUnix epoch in milliseconds.
unix_sintegeryesUnix epoch in whole seconds (negative for pre-1970 instants).
weekdaystringyesDay of week in the requested zone, e.g. 'Tuesday'.

No examples provided.

convert_timezone ~230

Use this when you need to convert a wall-clock date-time between IANA time zones with correct DST handling. Prefer this over doing timezone math yourself (a documented LLM failure mode): it uses the runtime's IANA database so offsets and daylight-saving transitions are exact. Deterministic: same input, same output. Returns the corresponding UTC instant, both zones' UTC offsets in minutes at that instant, and the converted local time. Example: {datetime:'2026-07-08T14:30', fromTz:'America/New_York', toTz:'Asia/Tokyo'} -> converted '9 Jul 2026, 03:30:00' (UTC 2026-07-08T18:30:00.000Z).

NameTypeReqDescription
datetimestringyesLocal date-time in the source zone, ISO form YYYY-MM-DDTHH:MM.
fromTzstringyesSource IANA zone, e.g. America/New_York.
toTzstringyesTarget IANA zone, e.g. Asia/Tokyo.
NameTypeReqDescription
convertedstringyesWall-clock time in the target zone, e.g. '9 Jul 2026, 03:30:00'.
fromTzstringyesSource IANA time zone.
fromUtcOffsetMinutesintegeryesSource zone's UTC offset in minutes at that instant (e.g. -240 for EDT).
inputstringyesEcho of the source wall-clock datetime.
toTzstringyesTarget IANA time zone.
toUtcOffsetMinutesintegeryesTarget zone's UTC offset in minutes at that instant (e.g. 540 for JST).
utcstringyesThe corresponding UTC instant, ISO-8601.

No examples provided.

convert_units ~218

Use this when you need to convert a value between units within one category (length, weight, temperature, volume, data, speed, area, time) instead of doing conversion arithmetic yourself. Deterministic: same input, same output. Temperature uses the correct offset formulas (Celsius/Fahrenheit/Kelvin), not a naive ratio, and unit keys are case-sensitive (e.g. km, lb, celsius, MB) while the category name is case-insensitive. Example: {category:'length', value:5, from:'km', to:'mile'} -> result 3.10685596119. Returns the echoed category/value/from/to plus the converted result, rounded to 12 significant figures (switching to exponential for very large or very small magnitudes).

NameTypeReqDescription
categorystringyesUnit category.
fromstringyesSource unit key (e.g. km, lb, celsius, MB).
tostringyesTarget unit key.
valuenumberyesThe numeric value to convert.
NameTypeReqDescription
categorystringyesEcho of the unit category, lowercased.
fromstringyesEcho of the source unit key.
resultnumberyesConverted value, rounded to 12 significant figures (magnitudes >= 1e15 or < 1e-10 use exponential rounding to ~7 significant figures).
tostringyesEcho of the target unit key.
valuenumberyesEcho of the input value (coerced to a number).

No examples provided.

convert_yaml ~192

Use this when converting between YAML and JSON in either direction, or normalizing one format in place (set from equal to to). Deterministic: same input, same output. Parses a single YAML document and caps alias expansion at 100 to defuse billion-laughs bombs; multi-document input, tabs-as-indentation, and other parse errors return a typed error with the line number. Example: { data: "name: web\nport: 8080", from: "yaml", to: "json" } -> { result: "{\n \"name\": \"web\",\n \"port\": 8080\n}" }.

NameTypeReqDescription
datastringyesThe document to convert, as a string.
fromstringyesInput format of data.
tostringyesOutput format; if equal to "from", the document is normalized (parsed and re-emitted).
NameTypeReqDescription
resultstringyesThe converted (or, when from equals to, normalized) document as text in the target format.

No examples provided.

count_text ~155

Use this when you need exact word, character, sentence, and paragraph counts instead of estimating. Deterministic: same input, same output. Uses Unicode-aware segmentation (Intl.Segmenter): characters are grapheme clusters, so an emoji or an accented letter counts as one; words are word-like segments; sentence splitting is abbreviation-aware (Dr., etc., won't end a sentence). charactersNoSpaces counts graphemes after stripping whitespace, and paragraphs are blocks separated by blank lines. Example: "Café 👩‍💻!" -> words 1, characters 7, charactersNoSpaces 6, sentences 1, paragraphs 1. Empty input returns all zeros.

NameTypeReqDescription
textstringyesText to analyze.
NameTypeReqDescription
charactersintegeryesCount of grapheme clusters (user-perceived characters), including whitespace.
charactersNoSpacesintegeryesGrapheme count after removing all whitespace.
paragraphsintegeryesCount of non-empty blocks separated by blank lines.
sentencesintegeryesSentence count using abbreviation-aware segmentation.
wordsintegeryesCount of word-like segments.

No examples provided.

css_gradient ~345

Use this when you need a ready-to-paste CSS gradient value from 2-5 hex color stops. Builds a linear-gradient(...) (default; direction defaults to 'to bottom') or a radial-gradient(circle, ...). Direction accepts keywords ('to right', 'to left', 'to top', 'to bottom'), angles ('45deg', '90deg', '135deg'), or 'to <side> <side>'; it is ignored for radial, and passing type 'radial' (or direction 'radial') forces a radial gradient. Colors accept 6-digit hex with or without a leading '#' and are echoed normalized in order. Deterministic: same input, same output. Example: {colors:['#3b82f6','8b5cf6']} -> css 'linear-gradient(to bottom, #3b82f6, #8b5cf6)', type 'linear'. Radial results omit the 'direction' field.

NameTypeReqDescription
colorsarrayyes2 to 5 color stops as 6-digit hex strings, with or without a leading '#', e.g. ["#3b82f6", "8b5cf6"].
directionstringLinear direction: a keyword ("to right", "to left", "to bottom", "to top"), an angle ("45deg", "135deg", "90deg"), or "to <side> <side>". Defaults to "to bottom". Ignored for radial; passing "radial"…
typestringGradient type. Defaults to "linear". "radial" produces radial-gradient(circle, ...).
NameTypeReqDescription
colorsarrayyesNormalized 6-digit hex color stops, in input order.
cssstringyesReady-to-paste CSS gradient value, e.g. 'linear-gradient(to bottom, #3b82f6, #8b5cf6)' or 'radial-gradient(circle, #3b82f6, #8b5cf6)'.
directionstringResolved linear direction (keyword or angle). Present only for linear gradients; omitted for radial.
typestringyesResolved gradient type.

No examples provided.

decode_jwt ~209

Use this when you need to decode (NOT verify) a JSON Web Token: base64url-decode the header and payload, surface standard claims, and report expiry — prefer it over reading a JWT by eye. The decode is deterministic, but `expired`/`notYetValid` are compared against the current clock unless you pass `now` (ISO) to pin the reference time. The signature is never checked (`signatureVerified` is always false), so never authorize anything based on the output. `expired`/`notYetValid` are booleans when `exp`/`nbf` are present in the payload, otherwise null. Example: a token with sub "1234567890" and a far-future exp -> signatureVerified false, expired false, claims.subject "1234567890".

NameTypeReqDescription
nowstringOptional ISO time for the expiry check (default: current time).
tokenstringyesThe compact JWT string (header.payload.signature).
NameTypeReqDescription
claimsobjectyesNormalized standard claims; each key appears only when the corresponding claim is present in the payload.
expiredboolean|nullyesWhether now is past exp; null when the payload has no numeric exp.
headerobjectyesDecoded JWT header (parsed JSON; arbitrary fields, e.g. alg, typ).
notYetValidboolean|nullyesWhether now is before nbf; null when the payload has no numeric nbf.
payloadobjectyesDecoded JWT payload/claims (parsed JSON; arbitrary fields).
segmentsintegeryesNumber of dot-separated segments in the token (2 or 3).
signatureVerifiedbooleanyesAlways false — this tool never checks the signature.

No examples provided.

diff_text ~176

Use this when you need an exact line-level diff between two blocks of text instead of eyeballing the differences. Deterministic: same input, same output. Computes a longest-common-subsequence diff and returns every line tagged added, removed, or unchanged, plus per-category counts. Example: original "a\nb", modified "a\nB" -> added 1, removed 1, unchanged 1, with lines [{type:"unchanged",text:"a"},{type:"removed",text:"b"},{type:"added",text:"B"}]. Trailing edits produce separate removed+added lines rather than an in-place change. Inputs whose line-count product exceeds 4,000,000 are rejected as too large to diff.

NameTypeReqDescription
modifiedstringyesModified text.
originalstringyesOriginal text.
NameTypeReqDescription
addedintegeryesNumber of lines present only in the modified text.
linesarrayyesThe full diff in order, one entry per line.
removedintegeryesNumber of lines present only in the original text.
unchangedintegeryesNumber of lines common to both texts.

No examples provided.

encode_decode ~181

Use this when you need to encode or decode text and want multi-byte and entity edge cases handled correctly rather than doing it by hand. Deterministic: same input, same output. The mode selects the operation: url-encode/url-decode (percent-encoding), html-encode/html-decode (entity table plus numeric character references), base64-encode/base64-decode (UTF-8 safe; decode tolerates URL-safe alphabet, whitespace, and missing padding), and unicode-encode/unicode-decode (\uXXXX and \u{...} escapes for non-ASCII). Every mode returns the same shape: {mode, output}. Example: mode base64-encode, text "héllo" -> output "aMOpbGxv".

NameTypeReqDescription
modestringyesOperation to perform.
textstringyesInput text.
NameTypeReqDescription
modestringyesThe operation that was performed (echoed back).
outputstringyesThe encoded or decoded result string.

No examples provided.

expand_rrule ~355

Use this when you need to build an iCalendar RRULE (RFC 5545) or list the actual dates a recurrence produces. Prefer this over computing recurring dates yourself (a documented LLM failure mode): it correctly handles INTERVAL, COUNT/UNTIL exclusivity (COUNT wins), BYDAY with ordinals (e.g. the 2nd Monday), BYMONTH, and month-length edge cases. Deterministic: same input, same output; start is interpreted as UTC. Returns the RRULE string, a plain-English description, and up to 10 (or COUNT) occurrence timestamps. Example: {freq:'MONTHLY', start:'2026-01-05T09:00', byday:['MO'], ordinal:2, count:3} -> rrule 'RRULE:FREQ=MONTHLY;BYDAY=2MO;COUNT=3', first occurrence 2026-01-12T09:00:00.000Z.

NameTypeReqDescription
bydayarrayDays of week (WEEKLY/MONTHLY).
bymontharrayMonths (YEARLY).
countintegerTotal number of occurrences (mutually exclusive with until; count wins).
freqstringyesRecurrence frequency.
intervalintegerRepeat every N periods (default 1).
ordinalintegerOrdinal week position for MONTHLY BYDAY (e.g. 2 = 2nd, -1 = last).
startstringyesStart date-time, ISO form YYYY-MM-DDTHH:MM (interpreted as UTC).
untilstringEnd date YYYY-MM-DD (ignored if count is set).
NameTypeReqDescription
descriptionstringyesPlain-English description of the recurrence.
occurrencesarrayyesUpcoming occurrence timestamps as ISO-8601 UTC strings; capped at min(COUNT,10), otherwise 10.
rrulestringyesiCalendar RRULE string, e.g. 'RRULE:FREQ=MONTHLY;BYDAY=2MO;COUNT=3'.

No examples provided.

explain_cron ~230

Use this when you need to understand or schedule a 5-field cron expression. Prefer this over reasoning about cron semantics yourself (a documented LLM failure mode): it correctly handles ranges, lists, steps, month/day names, and the tricky day-of-month OR day-of-week rule. Deterministic: same input, same output. Returns a plain-English description, the expanded matching values per field, and the next run times computed in UTC (pass `now` to fix the reference point, `count` for how many). Example: '*/15 9-17 * * 1-5' -> description 'At minute */15 past hour 9-17 on every weekday (Monday through Friday)'.

NameTypeReqDescription
countintegerHow many upcoming run times to return (default 5).
expressionstringyes5-field cron, e.g. "*/15 9-17 * * 1-5" (minute hour day-of-month month day-of-week).
nowstringOptional ISO timestamp to compute next runs from (default: current time).
NameTypeReqDescription
descriptionstringyesPlain-English description of the schedule.
errornullyesAlways null on the success result.
expressionstringyesThe normalized 5-field cron expression.
fieldsobjectyes
nextRunsarrayyesUpcoming run times in UTC; length is capped by `count` (default 5).
validbooleanyesAlways true on the success result.

No examples provided.

fancy_text ~259

Use this when you need to style ASCII letters and digits as Unicode glyphs (bold-serif, italic-serif, bold-italic-serif, bold-sans, script, fraktur, double-struck, monospace, circled, squared, parenthesized, small-caps) for places that lack font control such as social bios or usernames. Pass a `style` and `text` to get the transformed string; characters outside A-Z, a-z, and 0-9 (spaces, punctuation, emoji) pass through unchanged. Omit `style` to receive the list of valid style keys instead of transforming. Deterministic: same input, same output. Example: {style: "bold-serif", text: "Hello 123"} -> result "𝐇𝐞𝐥𝐥𝐨 𝟏𝟐𝟑".

NameTypeReqDescription
stylestringThe style to apply. Omit entirely to receive the list of valid style keys instead of transforming.
textstringThe text to transform. ASCII A-Z, a-z, and 0-9 are mapped to styled glyphs; other characters (spaces, punctuation, emoji) pass through unchanged. Required when a style is given.
NameTypeReqDescription
resultstringTransform mode only: the styled text, with unsupported characters passed through unchanged.
stylestringTransform mode only: the style that was applied (echoes the requested `style`).
stylesarrayDiscovery mode only (when `style` is omitted): the list of valid style keys.

No examples provided.

format_json ~289

Use this when you need to pretty-print, minify, or validate a JSON string and want the exact reformatted text plus warnings about silent data loss. Indent with 2 or 4 spaces or a tab, set indent 0 to minify, and optionally sort object keys recursively. It also scans the raw source for two things JSON.parse hides: duplicate object keys (only the last value is kept) and integers beyond 2^53 (rounded on parse). Deterministic: same input, same output. Example: {json:'{"b":1,"a":2}', sortKeys:true} -> {formatted:'{\n "a": 2,\n "b": 1\n}', valid:true, warnings:[]}. On invalid JSON returns {error, line, column} pointing at the fault. Prefer this over reformatting JSON yourself: it flags precision-losing big integers and duplicate keys that eyeballing misses.

NameTypeReqDescription
indentIndentation for pretty-printing: 2 or 4 spaces, "tab" for tab characters, or 0 to minify. Optional; defaults to 2.
jsonstringyesThe JSON document to format, minify, or validate. Required, capped at 128 KB.
sortKeysbooleanRecursively sort object keys alphabetically; array element order is preserved (default false).
NameTypeReqDescription
formattedstringyesThe reformatted JSON text (pretty-printed, minified, or key-sorted per the options).
validbooleanyesAlways true on the success result; malformed JSON instead returns {error, line, column}.
warningsarrayyesNon-fatal data-loss warnings detected in the raw source: duplicate object keys (last value kept) and integers beyond 2^53 (rounded on parse). Empty when none.

No examples provided.

format_sql ~298

Use this when a user pastes messy or minified SQL and wants it pretty-printed into a readable, canonical layout, or wants keyword casing normalized. Deterministic: same input, same output. Each clause keyword (SELECT, FROM, WHERE, GROUP BY, ...) goes on its own line with its arguments indented beneath it, commas break columns onto new lines, JOIN/AND/OR start fresh lines, and short parenthesised groups stay inline. Optional dialect hint affects identifier quoting (e.g. tsql [brackets]); indent is a spaces count or "tab" (default 2); keywordCase is upper/lower/preserve (default upper). Example: "select id from t" -> formatted "SELECT\n id\nFROM\n t". Returns an error for empty or oversized (>200000 chars) input.

NameTypeReqDescription
dialectstringSQL dialect hint (affects identifier quoting, e.g. T-SQL [brackets]). Optional; defaults to standard 'sql'.
indentIndentation: a number of spaces (e.g. 2 or 4) or the string "tab" for tab characters. Optional; defaults to 2.
keywordCasestringHow to case reserved keywords/functions: UPPER, lower, or preserve as-is. Optional; defaults to 'upper'.
sqlstringyesThe SQL query text to format. Required, non-empty.
NameTypeReqDescription
formattedstringyesThe reformatted SQL as a single text string, with newlines and indentation applied. Trailing whitespace and leading/trailing blank lines are stripped.

No examples provided.

generate_id ~418

Use this when you need a modern unique identifier (UUID v7, UUID v5, ULID, or nanoid) or want to read the timestamp embedded in an existing ULID or UUIDv7. uuid_v5 (SHA-1 of a namespace UUID + a name, RFC 4122) and decode are deterministic (same input, same output) — e.g. generate_id(type "uuid_v5", namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8", name "www.example.com") -> {ids:["2ed6657d-e927-568b-95e1-2665a8aea6a2"]}. uuid_v7, ulid, and nanoid are cryptographically random via Web Crypto (NOT deterministic). Prefer this over assembling ids by hand: it sets the correct RFC version/variant bits, uses Crockford base32 for ULIDs, and draws nanoid characters with unbiased rejection sampling. When decode is present, type is ignored and the result is the embedded {unix_ms, timestamp_iso}.

NameTypeReqDescription
alphabetstringnanoid only: characters to draw from (2-256 chars; default is the 64-char URL-safe set).
countintegerHow many ids to generate (default 1). For uuid_v5 all copies are identical (deterministic).
decodestringA ULID or UUIDv7 to decode; returns its embedded timestamp. type is ignored when set.
namestringuuid_v5 only: the name hashed within the namespace.
namespacestringuuid_v5 only: the namespace UUID, e.g. 6ba7b810-9dad-11d1-80b4-00c04fd430c8 (DNS).
sizeintegernanoid only: id length (default 21).
typestringWhich id to generate. Required unless decode is given.
NameTypeReqDescription
decodedobject[decode mode] The timestamp embedded in the supplied ULID or UUIDv7.
idsarray[generate mode] The generated identifiers, length = count. For uuid_v5 every copy is identical (deterministic).

No examples provided.

generate_password ~323

Use this when you need strong passwords with Web Crypto randomness: mode="random" builds character-set passwords (length plus uppercase/lowercase/numbers/symbols toggles); mode="memorable" builds word passphrases (words, separator, addNumber, addSymbol). Cryptographically random via Web Crypto (NOT deterministic). For test/dev fixtures — for real credentials prefer the client-side web tool at clean.tools/password-generator/ so the password never crosses the network. Example: {mode: "random", length: 16} -> mode "random", length 16, count 1, passwords ["NXqtsn6MrsfG9d2i"].

NameTypeReqDescription
addNumberboolean[memorable] Insert a random number (default true).
addSymbolboolean[memorable] Insert a random symbol (default false).
countintegerHow many passwords (default 1).
lengthinteger[random] Character length (default 16).
lowercaseboolean[random] Include a-z (default true).
modestringPassword style (default random).
numbersboolean[random] Include 0-9 (default true).
separatorstring[memorable] Word separator (default "-").
symbolsboolean[random] Include symbols (default false).
uppercaseboolean[random] Include A-Z (default true).
wordsinteger[memorable] Number of words (default 4).
NameTypeReqDescription
countintegeryesNumber of passwords generated (matches passwords.length).
lengthinteger[random mode only] character length of each password.
modestringyesWhich generator produced the passwords.
passwordsarrayyesThe generated passwords/passphrases, length = count.
wordsinteger[memorable mode only] number of words in each passphrase.

No examples provided.

generate_qr ~232

Use this when you need to turn text or a URL into a real, scannable QR code rather than describing one. Deterministic: same input, same output. Byte mode, error-correction level M, versions 1-10 auto-selected by length (up to 213 bytes); the encoder scores all 8 mask patterns and keeps the lowest-penalty one. Returns both the module matrix as rows of 0/1 (1 = dark module) and a ready-to-render self-contained SVG string. moduleSize sets SVG pixels per module (default 10) and quietZone the border width in modules (default 4). Example: {text:'HELLO'} -> version 1, size 21x21, byteLength 5. Longer text auto-bumps the version and matrix size; over 213 bytes returns an error.

NameTypeReqDescription
moduleSizeintegerSVG pixels per module (default 10).
quietZoneintegerQuiet-zone module border (default 4).
textstringyesText/URL to encode (up to 213 bytes).
NameTypeReqDescription
byteLengthintegeryesUTF-8 byte length of the encoded text.
errorCorrectionLevelstringyesAlways "M" (medium, ~15% recovery).
maskintegeryesChosen mask pattern (0-7), the one with the lowest penalty score.
matrixarrayyessize x size grid; each row is an array of 0/1 where 1 is a dark module. Excludes the quiet-zone border.
moduleSizeintegeryesSVG pixels per module (echo of input, clamped 1-40; default 10).
quietZoneintegeryesQuiet-zone border width in modules (echo of input, clamped 0-16; default 4).
sizeintegeryesMatrix dimension in modules (version*4+17, so 21-57).
svgstringyesSelf-contained SVG document string rendering the QR code (includes the quiet zone and moduleSize scaling): a white background rect plus a #000000 group of one rect per dark module.
textstringyesEcho of the encoded text.
versionintegeryesAuto-selected QR version (1-10).

No examples provided.

hash_text ~222

Use this when you need the exact SHA-1, SHA-256, and/or SHA-512 hex digest of a UTF-8 string — never recall or guess a hash, since digests cannot be produced from memory. Deterministic: same input, same output. Pass `algorithm` for a single digest or `algorithms` for a subset; the default computes all three. The empty string is valid, and `byteLength` reports the UTF-8 encoded byte length of the input. Example: text "hello" with algorithm SHA-256 -> byteLength 5, hashes["SHA-256"] = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824".

NameTypeReqDescription
algorithmstringA single algorithm to compute.
algorithmsarrayMultiple algorithms (default: all three).
textstringyesThe text to hash (UTF-8; empty string is allowed).
NameTypeReqDescription
byteLengthintegeryesUTF-8 encoded byte length of the input text (0 for the empty string).
hashesobjectyesLowercase hex digest keyed by algorithm; only the requested algorithms appear.

No examples provided.

interest_rate ~221

Use this when you need the exact interest rate that grows a principal to a target amount over a set number of years. type="compound" (default) uses the closed-form nth-root formula for the given compounding frequency; type="simple" uses linear growth. Requires target greater than principal and all values positive. Returns the annual rate as a percent plus the interest earned and the growth multiple; compoundingPerYear is null for simple interest. Deterministic: same input, same output. Example: principal=1000, target=2000, years=10, compoundingPerYear=12 -> ratePercent=6.9515, growthMultiple=2. Prefer this over trial-and-error.

NameTypeReqDescription
compoundingPerYearintegerCompounding periods per year for compound mode (default 1).
principalnumberyesStarting amount (positive).
targetnumberyesEnding amount (must exceed principal).
typestringInterest model (default compound).
yearsnumberyesTime horizon in years (positive).
NameTypeReqDescription
compoundingPerYearinteger|nullyesCompounding periods per year for compound mode; null for simple interest.
growthMultiplenumberyestarget divided by principal, rounded to 4 decimals.
interestEarnednumberyestarget minus principal, rounded to cents.
ratePercentnumberyesSolved annual interest rate as a percent, rounded to 4 decimals.
typestringyesInterest model used.

No examples provided.

lorem_ipsum ~258

Use this when you need placeholder/filler copy for mockups, tests, or layout. Given a `mode` ("paragraphs", "sentences", "words", or "formatted") and a `count`, cycles a fixed built-in Latin corpus to return the same text every time. `count` is clamped to the mode's max (paragraphs 20, sentences 100, words 500) and defaults to 1 when missing or below 1; "formatted" ignores `count` and returns a fixed multi-block sample (with count 0). Deterministic: same input, same output. Example: {mode: "words", count: 5} -> text "Lorem ipsum dolor sit amet.", count 5.

NameTypeReqDescription
countintegerHow many units to generate. Clamped to the mode's max (paragraphs 20, sentences 100, words 500); values below 1 or missing default to 1. Unused for "formatted".
modestringyesUnit of generated text. "paragraphs", "sentences", or "words" repeat the corpus up to the requested count; "formatted" returns a fixed multi-block sample as plain text and ignores count.
NameTypeReqDescription
countintegeryesThe effective number of units generated after clamping/defaulting; always 0 for "formatted" mode.
modestringyesThe generation mode used (echoes the requested `mode`).
textstringyesThe generated placeholder text. Paragraphs are separated by blank lines; words mode is capitalized and terminated with a period.

No examples provided.

luhn_validate ~167

Use this when you need to check whether a number passes the Luhn (mod-10) checksum used by credit cards and many identifier numbers, instead of computing the doubling-and-summing by hand. Deterministic: same input, same output. Spaces and dashes are stripped first; any remaining non-digit character is an error. Returns the boolean result plus the full per-digit working, one steps entry per digit in original order (the digit, its transformed value after Luhn doubling, and whether that position was doubled). Example: {number:'4539 1488 0343 6467'} -> valid true, sum 80, mod10 0, digitCount 16.

NameTypeReqDescription
numberstringyesDigits to validate (spaces and dashes are ignored).
NameTypeReqDescription
digitCountintegeryesNumber of digits validated.
mod10integeryessum modulo 10; 0 exactly when valid.
numberstringyesInput with spaces and dashes removed (digits only).
stepsarrayyesPer-digit working, one entry per digit in original left-to-right order.
sumintegeryesSum of the transformed digits.
validbooleanyesTrue when sum is divisible by 10 (mod10 === 0).

No examples provided.

percentage ~300

Use this when you want exact, auditable percentage math with a written-out formula. Three modes: "of" computes percent% of value (fields percent, value); "is-what" computes what percent x is of y (fields x, y; y must be non-zero); "change" computes the percent change from -> to (from must be non-zero) and reports direction as "increase" or "decrease". Returns the numeric result plus a human-readable formula string. Deterministic: same input, same output. Example: mode="change", from=200, to=250 -> result=25, direction="increase".

NameTypeReqDescription
fromnumber(mode "change") The starting value; must be non-zero.
modestringyesWhich calculation to perform. "of" = percent% of value; "is-what" = x is what percent of y; "change" = percent change from -> to.
percentnumber(mode "of") The percentage to apply, e.g. 15 for 15%.
tonumber(mode "change") The ending value.
valuenumber(mode "of") The base value that the percentage is taken of.
xnumber(mode "is-what") The part value.
ynumber(mode "is-what") The whole value; must be non-zero.
NameTypeReqDescription
directionstring(change mode only) Whether the change was an increase (result >= 0) or a decrease.
formulastringyesHuman-readable statement of what was computed, e.g. "15% of 80".
modestringyesWhich calculation was performed.
percentnumber(is-what and change modes) The percent, equal to result; present alongside result for those two modes.
resultnumberyesThe numeric answer: the computed amount (of), or the percent (is-what, change). May be negative for a decrease.

No examples provided.

query_json ~292

Use this when you need to pull specific values out of a JSON document by JSONPath and getting the path exactly right on deeply nested or large structures matters. Evaluates a JSONPath subset — $ (root), .name or ['name'] (child), [n] (index, negative allowed), [*] (wildcard), .. (recursive descent), and [start:end] (slice) — and returns every matching value in document order. Prefer this over hand-walking nested JSON, where it is easy to miscount array indices or miss a deep match. Filter (?()) and script (()) expressions are not supported and are rejected with a message naming the supported subset. Deterministic: same input, same output. Example: path "$.store.book[-1].title" over {"store":{"book":[{"title":"A"},{"title":"B"}]}} -> matches ["B"], count 1.

NameTypeReqDescription
jsonstringyesThe JSON document to query, as a string. Must parse as valid JSON (object, array, or primitive).
pathstringyesJSONPath (subset). Supports $ root, .name / ['name'] child, [n] index (negative allowed), [*] wildcard, .. recursive descent, and [start:end] slice (optional :step). Filter (?()) and script (()) expr…
NameTypeReqDescription
countintegeryesNumber of matches (equals matches.length).
matchesarrayyesEvery matching value in document order; items may be any JSON type (object, array, string, number, boolean, or null).
pathstringyesEcho of the JSONPath that was evaluated.
truncatedbooleanyesTrue if the internal match cap was reached and further matches were dropped.

No examples provided.

random_number ~216

Use this when you need to draw cryptographically secure random integers or decimals in a range using unbiased rejection sampling — prefer it over inventing 'random' numbers, which are neither uniform nor safe. Cryptographically random via Web Crypto (NOT deterministic). Bounds are inclusive; a reversed min/max is auto-swapped; integer mode rounds the bounds inward; `decimals` sets the decimal places in decimal mode. `count` (default 1, max 100). The returned `min`/`max` are the normalized effective bounds. Example: {min: 1, max: 6} -> type "integer", min 1, max 6, count 1, values [2].

NameTypeReqDescription
countintegerHow many numbers (default 1).
decimalsintegerDecimal places for decimal type (default 0).
maxnumberyesUpper bound (inclusive for integers).
minnumberyesLower bound (inclusive).
typestringNumber type (default integer).
NameTypeReqDescription
countintegeryesNumber of values drawn (matches values.length).
maxnumberyesEffective upper bound after normalization (inclusive for integers).
minnumberyesEffective lower bound after normalization (inclusive).
typestringyesWhether integers or decimals were drawn.
valuesarrayyesThe generated numbers, length = count.

No examples provided.

redact_text ~343

Use this when scrubbing test/dev text: replaces each occurrence of the given terms with block characters (████). Provide `text` plus `terms` (a comma-separated string or an array of strings). By default it matches whole words only using Unicode boundaries (so "ann" will not match inside "annual") and is case-insensitive; set `caseSensitive` to match exactly, `wholeWords: false` to match substrings, or `fixedWidth: true` to hide each term's length behind a constant-width bar. Returns the redacted text and a replacement count, and never echoes the original terms. Deterministic: same input, same output. Truly sensitive text is better redacted client-side at clean.tools/text-redact/. Example: {text: "Contact Jane Doe", terms: "Jane Doe"} -> redacted "Contact ████████", redactedCount 1.

NameTypeReqDescription
caseSensitivebooleanWhen true, match terms case-sensitively. Defaults to false (case-insensitive).
fixedWidthbooleanWhen true, replace every matched term with a constant-width block bar so the redacted length does not leak the original term length. Defaults to false (block length equals term length).
termsyesThe sensitive terms to redact, given either as a comma-separated string (e.g. "Jane Doe, [email protected]") or an array of strings.
textstringyesThe text to redact terms from.
wholeWordsbooleanWhen true (default), only match terms as whole words using Unicode word boundaries (so "ann" will not match inside "annual").
NameTypeReqDescription
redactedstringyesThe text with all matched terms replaced by block characters; identical to the input when no terms matched.
redactedCountintegeryesThe number of replacements made.

No examples provided.

render_markdown ~164

Use this when you need to convert lightweight Markdown into a sanitized, XSS-safe HTML fragment to preview or embed, matching the Clean.tools markdown preview. Deterministic: same input, same output. Supports headings, bold/italic/strikethrough, inline and fenced code, links and images (http/https/mailto URL schemes only; other schemes become "#"), blockquotes, ordered/unordered/task lists, GFM tables, and horizontal rules. All raw angle brackets are HTML-escaped so the output is safe to inject. Example: "# Hi\n\n**bold**" -> html "<h1>Hi</h1><p><strong>bold</strong></p>".

NameTypeReqDescription
markdownstringyesThe Markdown source text to render to HTML.
NameTypeReqDescription
htmlstringyesThe rendered HTML fragment. Block elements are concatenated with no separators; inline styles are attached to tables, code, blockquotes, images, and task-list items. No wrapping document element.

No examples provided.

slugify ~266

Use this when you need a URL- or filename-safe slug from arbitrary text. Deterministic: same input, same output. Applies Unicode NFKD normalization, strips combining accents, and transliterates non-decomposing letters (ß->ss, æ->ae, œ->oe, ø->o, đ->d, ł->l, þ->th, ð->d, plus uppercase variants), then collapses every run of non-alphanumeric characters to a single separator and trims separators; e.g. "Héllo Wörld!" -> "hello-world". Emoji, CJK, and any other characters with no ASCII form are dropped. Prefer this over transliterating Unicode yourself, which models routinely get wrong. Returns { error } when no URL-safe characters remain.

NameTypeReqDescription
lowercasebooleanLowercase the result (default true).
maxLengthintegerMaximum slug length; 0 means no limit (default). When set and exceeded, the slug is cut at a separator boundary when possible, otherwise hard-cut.
separatorstringWord separator: empty string (join words) or a single character from "-", "_", ".". Default "-".
textstringyesText to slugify (max 10000 characters).
NameTypeReqDescription
changedbooleanyesTrue when the slug differs from the input text.
slugstringyesThe URL/filename-safe slug.

No examples provided.

strftime_preview ~226

Use this when you need to know exactly what a C/POSIX strftime pattern (%Y %m %d %H %M %S %A %B %j %z etc.) produces. Prefer this over guessing the output yourself. Deterministic: same input, same output; the reference time is formatted in UTC (%Z is 'UTC', %z is '+0000', defaults to current time when datetime is omitted). Unknown directives pass through literally. Example: {format:'%A, %B %e, %Y at %I:%M %p', datetime:'2026-07-08T14:30:45'} -> 'Wednesday, July 8, 2026 at 02:30 PM'.

NameTypeReqDescription
datetimestringOptional ISO date-time to format (default: current time).
formatstringyesstrftime format string, e.g. "%A, %B %e, %Y at %I:%M %p".
nowstringAlias for the reference time when datetime is omitted.
NameTypeReqDescription
datetimeUtcstringyesThe reference date-time that was formatted, ISO-8601 UTC.
formatstringyesEcho of the strftime format string.
outputstringyesThe formatted result; unknown directives are emitted literally as '%X'.

No examples provided.

test_regex ~241

Use this when you need the true matches of a JavaScript regular expression rather than predicting regex behavior yourself, which is easy to get wrong. Deterministic: same input, same output. Returns every match with its index, length, matched text, positional capture groups (null for a group that didn't participate), and named groups (an object, or null when the pattern has none). Without the g flag only the first match is returned; with g all matches are collected, capped at 10,000 with truncated=true. Inputs are length-bounded (pattern 2,000 chars, text 50,000 chars) as a ReDoS guard. Example: pattern (?<y>\d{4})-(?<m>\d{2}) over "2024-01" with flag g -> matchCount 1, match "2024-01", groups ["2024","01"], named {y:"2024",m:"01"}.

NameTypeReqDescription
flagsstringAny of g i m s u v y.
patternstringyesRegular expression source (no delimiters).
textstringyesString to search.
NameTypeReqDescription
flagsstringyesThe flags applied (subset of g i m s u v y).
matchCountintegeryesNumber of matches returned in the matches array.
matchesarrayyesOne entry per match, in order of appearance.
patternstringyesThe regex source that was compiled (echoed back).
truncatedbooleanyesTrue if the 10,000-match cap was hit and further matches were dropped.

No examples provided.

tip ~207

Use this when you want penny-accurate tip and bill-split figures. Given a bill amount, a tip percentage, and an optional number of people (default 1; values below 1 are treated as 1), returns the tip amount, grand total, and the per-person tip and per-person total, all rounded to cents. Deterministic: same input, same output. Example: bill=120, tipPercent=18, people=4 -> tipAmount=21.6, total=141.6, perPersonTotal=35.4.

NameTypeReqDescription
billnumberyesThe pre-tip bill amount in dollars. Required. Must be zero or positive.
peopleintegerNumber of people splitting the bill. Optional, defaults to 1; values below 1 are treated as 1.
tipPercentnumberyesThe tip as a percentage of the bill (e.g. 20 for 20%). Required. Must be zero or positive.
NameTypeReqDescription
billnumberyesThe pre-tip bill amount, rounded to cents.
peopleintegeryesNumber of people the bill was split across (>= 1).
perPersonTipnumberyestipAmount divided by people, rounded to cents.
perPersonTotalnumberyestotal divided by people, rounded to cents.
tipAmountnumberyesTotal tip in dollars, rounded to cents.
tipPercentnumberyesThe tip percentage that was applied (echoed as supplied).
totalnumberyesBill plus tip in dollars, rounded to cents.

No examples provided.

tvm_solve ~293

Use this when you have four of the five time-value-of-money variables (N periods, I/Y annual rate percent, PV, PMT, FV) and need the fifth - annuity, loan, or investment problems - instead of solving the equation by hand. Solving for I/Y uses Newton-Raphson (no closed form). Supports compoundingPerYear and annuityDue (payments at the beginning of each period). Follows the cash-flow sign convention (outflows negative). Deterministic: same input, same output. Example: solveFor 'fv', n 120, iy 6, pv -10000, pmt -200, compoundingPerYear 12 -> result 50969.84. result holds the solved value; iy is rounded to 4 decimals, all others to 2.

NameTypeReqDescription
annuityDuebooleanTrue if payments occur at the beginning of each period (default false = ordinary annuity).
compoundingPerYearintegerCompounding periods per year (default 1).
fvnumberFuture value.
iynumberInterest rate per year as a percent.
nnumberNumber of periods.
pmtnumberPayment per period.
pvnumberPresent value (cash-flow sign convention).
solveForstringyesWhich variable to solve for.
NameTypeReqDescription
annuityDuebooleanyesTrue if payments were treated as beginning-of-period (annuity due).
compoundingPerYearintegeryesCompounding periods per year used (default 1).
resultnumberyesThe solved value (iy in percent, rounded to 4 decimals; n/pv/pmt/fv rounded to 2).
solveForstringyesEcho of which variable was solved for.

No examples provided.

uuid_v4 ~165

Use this when you need RFC 4122 version-4 UUIDs — always generate them here rather than fabricating one, so the version and variant bits and the randomness are correct. Cryptographically random via Web Crypto (NOT deterministic): every call returns fresh values. `count` (default 1, max 100) sets how many; `uppercase` returns upper-case hex (lowercase by default). Example: {count: 1} -> count 1, uuids[0] = "2c549b2f-497c-47fc-a1b6-c24bc69667e5".

NameTypeReqDescription
countintegerHow many UUIDs to generate (default 1).
uppercasebooleanReturn uppercase hex (default false).
NameTypeReqDescription
countintegeryesNumber of UUIDs generated (matches uuids.length).
uuidsarrayyesThe generated RFC 4122 v4 UUIDs, length = count.

No examples provided.

validate_cron ~150

Use this when you need to check whether a 5-field cron expression is well-formed, instead of guessing. Prefer this over reasoning about cron syntax yourself (a documented LLM failure mode). Deterministic: same input, same output. On success returns valid=true, the normalized expression, and the expanded matching values per field; on failure returns valid=false with a specific error (out-of-range value, reversed range, invalid step, wrong field count, or a field that matches nothing). Example: '99 * * * *' -> {valid:false, error:'Minute field: value out of range "99"'}.

NameTypeReqDescription
expressionstringyes5-field cron expression to validate.
NameTypeReqDescription
errornullyesAlways null on the success result.
fieldsobjectyes
normalizedstringyesThe normalized 5-field cron expression.
validbooleanyesAlways true on the success result (a failed validation instead returns {valid:false, error}).

No examples provided.