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.
Available components
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
- The endpoint's TLS certificate is valid, in date, and uses a strong key. View diagnostics → Pass
- No authorisation is required to call this server. Every tool declares its destructiveHint and none is destructive, so open access doesn't expose one. See how to fix → View diagnostics → Partial
- HTTPS is enforced; there's no plaintext access path. View diagnostics → Pass
- HSTS check failed: the Strict-Transport-Security header is absent. See how to fix → View diagnostics → Fail
- DNSSEC check failed: this domain isn't protected by DNSSEC. See how to fix → View diagnostics → Fail
Transport & Reachability100
- Verified streamable-http transport via a live MCP handshake. View diagnostics → Pass
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
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
claude mcp add --transport http tools-clean-mcp https://mcp.clean.tools/mcp
[mcp_servers.tools-clean-mcp] url = "https://mcp.clean.tools/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"tools-clean-mcp": {
"type": "remote",
"url": "https://mcp.clean.tools/mcp",
"enabled": true
}
}
} openclaw mcp add tools-clean-mcp --url https://mcp.clean.tools/mcp --transport streamable-http
mcp_servers:
tools-clean-mcp:
url: "https://mcp.clean.tools/mcp" {
"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.
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.
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 |
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.
amortization_schedule 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).
| Name | Type | Req | Description |
|---|---|---|---|
| annualRate | number | yes | Annual interest rate as a percent, e.g. 6.5. |
| principal | number | yes | Loan amount (positive). |
| years | integer | yes | Loan term in years. |
| Name | Type | Req | Description |
|---|---|---|---|
| monthlyPayment | number | yes | Level monthly payment, rounded to cents. |
| numberOfPayments | integer | yes | Total monthly payments = years * 12. |
| schedule | array | yes | One row per year of the term. |
| totalInterest | number | yes | Total interest paid = totalPaid - principal. |
| totalPaid | number | yes | Sum of all payments over the full term (monthlyPayment * numberOfPayments). |
No examples provided.
apr_calc APR / APY Calculator ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| compoundingPerYear | integer | — | [rate mode] Compounding periods per year. |
| fees | number | — | [loan mode] Upfront finance charge/fees (default 0). |
| loanAmount | number | — | [loan mode] Amount financed. |
| mode | string | — | "rate" for nominal->APY, "loan" for loan APR (default loan). |
| monthlyPayment | number | — | [loan mode] Payment per month. |
| nominalRate | number | — | [rate mode] Nominal annual rate as a percent. |
| termMonths | integer | — | [loan mode] Number of monthly payments. |
| Name | Type | Req | Description |
|---|---|---|---|
| apr | number | — | (loan mode) True annual percentage rate as a percent, rounded to 4 decimals. |
| apy | number | — | (rate mode) Annual percentage yield as a percent, rounded to 4 decimals. |
| compoundingPerYear | integer | — | (rate mode) Compounding periods per year used for the APY. |
| mode | string | yes | Which calculation was performed. |
| monthlyRate | number | — | (loan mode) Periodic (monthly) rate as a percent, rounded to 6 decimals. |
| nominalRate | number | — | (rate mode) The nominal annual rate that was supplied, as a percent. |
| totalInterest | number | — | (loan mode) totalPaid minus loanAmount, rounded to cents. |
| totalPaid | number | — | (loan mode) monthlyPayment x termMonths, rounded to cents. |
No examples provided.
color_contrast WCAG Contrast Checker ~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'.
| Name | Type | Req | Description |
|---|---|---|---|
| background | string | yes | Background color as a 3 or 6 digit HEX string, with or without a leading #, e.g. "#ffffff" or "fff". |
| foreground | string | yes | Foreground (text) color as a 3 or 6 digit HEX string, with or without a leading #, e.g. "#1a1a1a" or "777". |
| Name | Type | Req | Description |
|---|---|---|---|
| background | string | yes | Normalized background color as a 6-digit hex string. |
| foreground | string | yes | Normalized foreground color as a 6-digit hex string. |
| largeAA | boolean | yes | Unrounded ratio >= 3 (large text >=18pt / 14pt bold, AA). |
| largeAAA | boolean | yes | Unrounded ratio >= 4.5 (large text, AAA). |
| normalAA | boolean | yes | Unrounded ratio >= 4.5 (normal text, AA). |
| normalAAA | boolean | yes | Unrounded ratio >= 7 (normal text, AAA). |
| ratio | number | yes | WCAG 2.x contrast ratio, 1 to 21, rounded to 2 decimals. |
| suggestedForeground | string|null | yes | A 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 Color Palette Generator ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| color | string | yes | A 6-digit hex color, with or without a leading '#', e.g. "#e11d48" or "e11d48". Case-insensitive. |
| Name | Type | Req | Description |
|---|---|---|---|
| analogous | array | yes | [hue-30, base, hue+30] — 3 hex swatches. |
| base | string | yes | Normalized base color as a 6-digit hex string (lowercased, with leading '#'). |
| complementary | array | yes | [base, hue+180] — 2 hex swatches. |
| monochromatic | array | yes | 5 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. |
| splitComplementary | array | yes | [base, hue+150, hue+210] — 3 hex swatches. |
| triadic | array | yes | [base, hue+120, hue+240] — 3 hex swatches. |
No examples provided.
compound_interest Compound Interest Projection ~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).
| Name | Type | Req | Description |
|---|---|---|---|
| annualRate | number | yes | Annual interest rate as a percent. |
| compoundingPerYear | integer | — | Compounding periods per year (default 12). |
| monthlyContribution | number | — | Amount added at the start of each month (default 0). |
| principal | number | yes | Starting principal (>= 0). |
| years | integer | yes | Number of years. |
| Name | Type | Req | Description |
|---|---|---|---|
| finalBalance | number | yes | Ending balance after all years. |
| schedule | array | yes | One row per year. |
| totalContributions | number | yes | Principal plus all monthly contributions. |
| totalInterest | number | yes | Interest earned = finalBalance - totalContributions. |
No examples provided.
convert_case 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".
| Name | Type | Req | Description |
|---|---|---|---|
| case | string | yes | Target 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). |
| text | string | yes | The input text to convert. |
| Name | Type | Req | Description |
|---|---|---|---|
| case | string | yes | The target case that was applied (echoes the requested `case`). |
| result | string | yes | The converted text. Empty string if the input text was empty. |
No examples provided.
convert_color Color Converter ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| color | string | yes | A 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. |
| Name | Type | Req | Description |
|---|---|---|---|
| cmyk | object | yes | — |
| hex | string | yes | 6-digit lowercase hex, e.g. '#ff0000'. |
| hsl | object | yes | — |
| hsv | object | yes | — |
| oklch | object | yes | — |
| rgb | object | yes | — |
No examples provided.
convert_data 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.
| Name | Type | Req | Description |
|---|---|---|---|
| data | string | yes | The source document as text. |
| from | string | yes | Input format. |
| to | string | yes | Output format. |
| Name | Type | Req | Description |
|---|---|---|---|
| from | string | yes | Echo of the input format. |
| output | string | yes | The converted document as text in the target format (JSON is pretty-printed with 2-space indent). |
| rowCount | integer | yes | Number of data rows (objects) parsed from the input. |
| to | string | yes | Echo of the target format. |
No examples provided.
convert_number_base Number Base Converter ~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).
| Name | Type | Req | Description |
|---|---|---|---|
| from | integer | yes | The base the input value is written in (2-36). |
| to | — | — | Target base(s): a single integer 2-36, or an array of them. Optional; defaults to [2, 8, 10, 16] with the source base excluded. |
| value | string | yes | The 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". |
| Name | Type | Req | Description |
|---|---|---|---|
| decimal | string | yes | The value in base 10 (may carry a leading '-'). |
| from | integer | yes | Echo of the source base. |
| results | object | yes | Converted 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… |
| value | string | yes | Echo of the input value. |
No examples provided.
convert_timestamp Timestamp Converter ~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".
| Name | Type | Req | Description |
|---|---|---|---|
| timezone | string | — | IANA time zone used to render iso_tz, human, and weekday, e.g. "America/Chicago". Defaults to "UTC". |
| value | string|number | yes | The 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").… |
| Name | Type | Req | Description |
|---|---|---|---|
| detected | string | yes | How the input was classified: an epoch band chosen by digit length, or 'iso' when parsed as a date-time string. |
| human | string | yes | Human-readable local time with weekday, date, time, and zone abbreviation. |
| iso_tz | string | yes | The instant rendered in the requested zone, ISO-8601 with a numeric offset (e.g. '-05:00'). |
| iso_utc | string | yes | The instant in UTC, ISO-8601 with milliseconds and a trailing 'Z'. |
| timezone | string | yes | IANA time zone used to render iso_tz, human, and weekday (echo of input; default 'UTC'). |
| unix_ms | integer | yes | Unix epoch in milliseconds. |
| unix_s | integer | yes | Unix epoch in whole seconds (negative for pre-1970 instants). |
| weekday | string | yes | Day of week in the requested zone, e.g. 'Tuesday'. |
No examples provided.
convert_timezone Time Zone Converter ~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).
| Name | Type | Req | Description |
|---|---|---|---|
| datetime | string | yes | Local date-time in the source zone, ISO form YYYY-MM-DDTHH:MM. |
| fromTz | string | yes | Source IANA zone, e.g. America/New_York. |
| toTz | string | yes | Target IANA zone, e.g. Asia/Tokyo. |
| Name | Type | Req | Description |
|---|---|---|---|
| converted | string | yes | Wall-clock time in the target zone, e.g. '9 Jul 2026, 03:30:00'. |
| fromTz | string | yes | Source IANA time zone. |
| fromUtcOffsetMinutes | integer | yes | Source zone's UTC offset in minutes at that instant (e.g. -240 for EDT). |
| input | string | yes | Echo of the source wall-clock datetime. |
| toTz | string | yes | Target IANA time zone. |
| toUtcOffsetMinutes | integer | yes | Target zone's UTC offset in minutes at that instant (e.g. 540 for JST). |
| utc | string | yes | The corresponding UTC instant, ISO-8601. |
No examples provided.
convert_units 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).
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | yes | Unit category. |
| from | string | yes | Source unit key (e.g. km, lb, celsius, MB). |
| to | string | yes | Target unit key. |
| value | number | yes | The numeric value to convert. |
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | yes | Echo of the unit category, lowercased. |
| from | string | yes | Echo of the source unit key. |
| result | number | yes | Converted value, rounded to 12 significant figures (magnitudes >= 1e15 or < 1e-10 use exponential rounding to ~7 significant figures). |
| to | string | yes | Echo of the target unit key. |
| value | number | yes | Echo of the input value (coerced to a number). |
No examples provided.
convert_yaml YAML / JSON Converter ~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}" }.
| Name | Type | Req | Description |
|---|---|---|---|
| data | string | yes | The document to convert, as a string. |
| from | string | yes | Input format of data. |
| to | string | yes | Output format; if equal to "from", the document is normalized (parsed and re-emitted). |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | The converted (or, when from equals to, normalized) document as text in the target format. |
No examples provided.
count_text Text Counter ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| text | string | yes | Text to analyze. |
| Name | Type | Req | Description |
|---|---|---|---|
| characters | integer | yes | Count of grapheme clusters (user-perceived characters), including whitespace. |
| charactersNoSpaces | integer | yes | Grapheme count after removing all whitespace. |
| paragraphs | integer | yes | Count of non-empty blocks separated by blank lines. |
| sentences | integer | yes | Sentence count using abbreviation-aware segmentation. |
| words | integer | yes | Count of word-like segments. |
No examples provided.
css_gradient CSS Gradient Builder ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| colors | array | yes | 2 to 5 color stops as 6-digit hex strings, with or without a leading '#', e.g. ["#3b82f6", "8b5cf6"]. |
| direction | string | — | Linear 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"… |
| type | string | — | Gradient type. Defaults to "linear". "radial" produces radial-gradient(circle, ...). |
| Name | Type | Req | Description |
|---|---|---|---|
| colors | array | yes | Normalized 6-digit hex color stops, in input order. |
| css | string | yes | Ready-to-paste CSS gradient value, e.g. 'linear-gradient(to bottom, #3b82f6, #8b5cf6)' or 'radial-gradient(circle, #3b82f6, #8b5cf6)'. |
| direction | string | — | Resolved linear direction (keyword or angle). Present only for linear gradients; omitted for radial. |
| type | string | yes | Resolved gradient type. |
No examples provided.
decode_jwt 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".
| Name | Type | Req | Description |
|---|---|---|---|
| now | string | — | Optional ISO time for the expiry check (default: current time). |
| token | string | yes | The compact JWT string (header.payload.signature). |
| Name | Type | Req | Description |
|---|---|---|---|
| claims | object | yes | Normalized standard claims; each key appears only when the corresponding claim is present in the payload. |
| expired | boolean|null | yes | Whether now is past exp; null when the payload has no numeric exp. |
| header | object | yes | Decoded JWT header (parsed JSON; arbitrary fields, e.g. alg, typ). |
| notYetValid | boolean|null | yes | Whether now is before nbf; null when the payload has no numeric nbf. |
| payload | object | yes | Decoded JWT payload/claims (parsed JSON; arbitrary fields). |
| segments | integer | yes | Number of dot-separated segments in the token (2 or 3). |
| signatureVerified | boolean | yes | Always false — this tool never checks the signature. |
No examples provided.
diff_text Text Diff ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| modified | string | yes | Modified text. |
| original | string | yes | Original text. |
| Name | Type | Req | Description |
|---|---|---|---|
| added | integer | yes | Number of lines present only in the modified text. |
| lines | array | yes | The full diff in order, one entry per line. |
| removed | integer | yes | Number of lines present only in the original text. |
| unchanged | integer | yes | Number of lines common to both texts. |
No examples provided.
encode_decode Encoder / Decoder ~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".
| Name | Type | Req | Description |
|---|---|---|---|
| mode | string | yes | Operation to perform. |
| text | string | yes | Input text. |
| Name | Type | Req | Description |
|---|---|---|---|
| mode | string | yes | The operation that was performed (echoed back). |
| output | string | yes | The encoded or decoded result string. |
No examples provided.
expand_rrule RRULE Expander ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| byday | array | — | Days of week (WEEKLY/MONTHLY). |
| bymonth | array | — | Months (YEARLY). |
| count | integer | — | Total number of occurrences (mutually exclusive with until; count wins). |
| freq | string | yes | Recurrence frequency. |
| interval | integer | — | Repeat every N periods (default 1). |
| ordinal | integer | — | Ordinal week position for MONTHLY BYDAY (e.g. 2 = 2nd, -1 = last). |
| start | string | yes | Start date-time, ISO form YYYY-MM-DDTHH:MM (interpreted as UTC). |
| until | string | — | End date YYYY-MM-DD (ignored if count is set). |
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | yes | Plain-English description of the recurrence. |
| occurrences | array | yes | Upcoming occurrence timestamps as ISO-8601 UTC strings; capped at min(COUNT,10), otherwise 10. |
| rrule | string | yes | iCalendar RRULE string, e.g. 'RRULE:FREQ=MONTHLY;BYDAY=2MO;COUNT=3'. |
No examples provided.
explain_cron Cron Explainer ~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)'.
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | — | How many upcoming run times to return (default 5). |
| expression | string | yes | 5-field cron, e.g. "*/15 9-17 * * 1-5" (minute hour day-of-month month day-of-week). |
| now | string | — | Optional ISO timestamp to compute next runs from (default: current time). |
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | yes | Plain-English description of the schedule. |
| error | null | yes | Always null on the success result. |
| expression | string | yes | The normalized 5-field cron expression. |
| fields | object | yes | — |
| nextRuns | array | yes | Upcoming run times in UTC; length is capped by `count` (default 5). |
| valid | boolean | yes | Always true on the success result. |
No examples provided.
fancy_text 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 "𝐇𝐞𝐥𝐥𝐨 𝟏𝟐𝟑".
| Name | Type | Req | Description |
|---|---|---|---|
| style | string | — | The style to apply. Omit entirely to receive the list of valid style keys instead of transforming. |
| text | string | — | The 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. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | — | Transform mode only: the styled text, with unsupported characters passed through unchanged. |
| style | string | — | Transform mode only: the style that was applied (echoes the requested `style`). |
| styles | array | — | Discovery mode only (when `style` is omitted): the list of valid style keys. |
No examples provided.
format_json JSON Formatter ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| indent | — | — | Indentation for pretty-printing: 2 or 4 spaces, "tab" for tab characters, or 0 to minify. Optional; defaults to 2. |
| json | string | yes | The JSON document to format, minify, or validate. Required, capped at 128 KB. |
| sortKeys | boolean | — | Recursively sort object keys alphabetically; array element order is preserved (default false). |
| Name | Type | Req | Description |
|---|---|---|---|
| formatted | string | yes | The reformatted JSON text (pretty-printed, minified, or key-sorted per the options). |
| valid | boolean | yes | Always true on the success result; malformed JSON instead returns {error, line, column}. |
| warnings | array | yes | Non-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 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.
| Name | Type | Req | Description |
|---|---|---|---|
| dialect | string | — | SQL dialect hint (affects identifier quoting, e.g. T-SQL [brackets]). Optional; defaults to standard 'sql'. |
| indent | — | — | Indentation: a number of spaces (e.g. 2 or 4) or the string "tab" for tab characters. Optional; defaults to 2. |
| keywordCase | string | — | How to case reserved keywords/functions: UPPER, lower, or preserve as-is. Optional; defaults to 'upper'. |
| sql | string | yes | The SQL query text to format. Required, non-empty. |
| Name | Type | Req | Description |
|---|---|---|---|
| formatted | string | yes | The 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 ID Generator + Decoder ~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}.
| Name | Type | Req | Description |
|---|---|---|---|
| alphabet | string | — | nanoid only: characters to draw from (2-256 chars; default is the 64-char URL-safe set). |
| count | integer | — | How many ids to generate (default 1). For uuid_v5 all copies are identical (deterministic). |
| decode | string | — | A ULID or UUIDv7 to decode; returns its embedded timestamp. type is ignored when set. |
| name | string | — | uuid_v5 only: the name hashed within the namespace. |
| namespace | string | — | uuid_v5 only: the namespace UUID, e.g. 6ba7b810-9dad-11d1-80b4-00c04fd430c8 (DNS). |
| size | integer | — | nanoid only: id length (default 21). |
| type | string | — | Which id to generate. Required unless decode is given. |
| Name | Type | Req | Description |
|---|---|---|---|
| decoded | object | — | [decode mode] The timestamp embedded in the supplied ULID or UUIDv7. |
| ids | array | — | [generate mode] The generated identifiers, length = count. For uuid_v5 every copy is identical (deterministic). |
No examples provided.
generate_password 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"].
| Name | Type | Req | Description |
|---|---|---|---|
| addNumber | boolean | — | [memorable] Insert a random number (default true). |
| addSymbol | boolean | — | [memorable] Insert a random symbol (default false). |
| count | integer | — | How many passwords (default 1). |
| length | integer | — | [random] Character length (default 16). |
| lowercase | boolean | — | [random] Include a-z (default true). |
| mode | string | — | Password style (default random). |
| numbers | boolean | — | [random] Include 0-9 (default true). |
| separator | string | — | [memorable] Word separator (default "-"). |
| symbols | boolean | — | [random] Include symbols (default false). |
| uppercase | boolean | — | [random] Include A-Z (default true). |
| words | integer | — | [memorable] Number of words (default 4). |
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | yes | Number of passwords generated (matches passwords.length). |
| length | integer | — | [random mode only] character length of each password. |
| mode | string | yes | Which generator produced the passwords. |
| passwords | array | yes | The generated passwords/passphrases, length = count. |
| words | integer | — | [memorable mode only] number of words in each passphrase. |
No examples provided.
generate_qr Generate QR Code ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| moduleSize | integer | — | SVG pixels per module (default 10). |
| quietZone | integer | — | Quiet-zone module border (default 4). |
| text | string | yes | Text/URL to encode (up to 213 bytes). |
| Name | Type | Req | Description |
|---|---|---|---|
| byteLength | integer | yes | UTF-8 byte length of the encoded text. |
| errorCorrectionLevel | string | yes | Always "M" (medium, ~15% recovery). |
| mask | integer | yes | Chosen mask pattern (0-7), the one with the lowest penalty score. |
| matrix | array | yes | size x size grid; each row is an array of 0/1 where 1 is a dark module. Excludes the quiet-zone border. |
| moduleSize | integer | yes | SVG pixels per module (echo of input, clamped 1-40; default 10). |
| quietZone | integer | yes | Quiet-zone border width in modules (echo of input, clamped 0-16; default 4). |
| size | integer | yes | Matrix dimension in modules (version*4+17, so 21-57). |
| svg | string | yes | Self-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. |
| text | string | yes | Echo of the encoded text. |
| version | integer | yes | Auto-selected QR version (1-10). |
No examples provided.
hash_text 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".
| Name | Type | Req | Description |
|---|---|---|---|
| algorithm | string | — | A single algorithm to compute. |
| algorithms | array | — | Multiple algorithms (default: all three). |
| text | string | yes | The text to hash (UTF-8; empty string is allowed). |
| Name | Type | Req | Description |
|---|---|---|---|
| byteLength | integer | yes | UTF-8 encoded byte length of the input text (0 for the empty string). |
| hashes | object | yes | Lowercase hex digest keyed by algorithm; only the requested algorithms appear. |
No examples provided.
interest_rate Interest Rate Solver ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| compoundingPerYear | integer | — | Compounding periods per year for compound mode (default 1). |
| principal | number | yes | Starting amount (positive). |
| target | number | yes | Ending amount (must exceed principal). |
| type | string | — | Interest model (default compound). |
| years | number | yes | Time horizon in years (positive). |
| Name | Type | Req | Description |
|---|---|---|---|
| compoundingPerYear | integer|null | yes | Compounding periods per year for compound mode; null for simple interest. |
| growthMultiple | number | yes | target divided by principal, rounded to 4 decimals. |
| interestEarned | number | yes | target minus principal, rounded to cents. |
| ratePercent | number | yes | Solved annual interest rate as a percent, rounded to 4 decimals. |
| type | string | yes | Interest model used. |
No examples provided.
lorem_ipsum 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.
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | — | How 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". |
| mode | string | yes | Unit 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. |
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | yes | The effective number of units generated after clamping/defaulting; always 0 for "formatted" mode. |
| mode | string | yes | The generation mode used (echoes the requested `mode`). |
| text | string | yes | The generated placeholder text. Paragraphs are separated by blank lines; words mode is capitalized and terminated with a period. |
No examples provided.
luhn_validate 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.
| Name | Type | Req | Description |
|---|---|---|---|
| number | string | yes | Digits to validate (spaces and dashes are ignored). |
| Name | Type | Req | Description |
|---|---|---|---|
| digitCount | integer | yes | Number of digits validated. |
| mod10 | integer | yes | sum modulo 10; 0 exactly when valid. |
| number | string | yes | Input with spaces and dashes removed (digits only). |
| steps | array | yes | Per-digit working, one entry per digit in original left-to-right order. |
| sum | integer | yes | Sum of the transformed digits. |
| valid | boolean | yes | True when sum is divisible by 10 (mod10 === 0). |
No examples provided.
percentage Percentage Calculator ~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".
| Name | Type | Req | Description |
|---|---|---|---|
| from | number | — | (mode "change") The starting value; must be non-zero. |
| mode | string | yes | Which calculation to perform. "of" = percent% of value; "is-what" = x is what percent of y; "change" = percent change from -> to. |
| percent | number | — | (mode "of") The percentage to apply, e.g. 15 for 15%. |
| to | number | — | (mode "change") The ending value. |
| value | number | — | (mode "of") The base value that the percentage is taken of. |
| x | number | — | (mode "is-what") The part value. |
| y | number | — | (mode "is-what") The whole value; must be non-zero. |
| Name | Type | Req | Description |
|---|---|---|---|
| direction | string | — | (change mode only) Whether the change was an increase (result >= 0) or a decrease. |
| formula | string | yes | Human-readable statement of what was computed, e.g. "15% of 80". |
| mode | string | yes | Which calculation was performed. |
| percent | number | — | (is-what and change modes) The percent, equal to result; present alongside result for those two modes. |
| result | number | yes | The numeric answer: the computed amount (of), or the percent (is-what, change). May be negative for a decrease. |
No examples provided.
query_json JSONPath Query ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| json | string | yes | The JSON document to query, as a string. Must parse as valid JSON (object, array, or primitive). |
| path | string | yes | JSONPath (subset). Supports $ root, .name / ['name'] child, [n] index (negative allowed), [*] wildcard, .. recursive descent, and [start:end] slice (optional :step). Filter (?()) and script (()) expr… |
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | yes | Number of matches (equals matches.length). |
| matches | array | yes | Every matching value in document order; items may be any JSON type (object, array, string, number, boolean, or null). |
| path | string | yes | Echo of the JSONPath that was evaluated. |
| truncated | boolean | yes | True if the internal match cap was reached and further matches were dropped. |
No examples provided.
random_number 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].
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | — | How many numbers (default 1). |
| decimals | integer | — | Decimal places for decimal type (default 0). |
| max | number | yes | Upper bound (inclusive for integers). |
| min | number | yes | Lower bound (inclusive). |
| type | string | — | Number type (default integer). |
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | yes | Number of values drawn (matches values.length). |
| max | number | yes | Effective upper bound after normalization (inclusive for integers). |
| min | number | yes | Effective lower bound after normalization (inclusive). |
| type | string | yes | Whether integers or decimals were drawn. |
| values | array | yes | The generated numbers, length = count. |
No examples provided.
redact_text 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.
| Name | Type | Req | Description |
|---|---|---|---|
| caseSensitive | boolean | — | When true, match terms case-sensitively. Defaults to false (case-insensitive). |
| fixedWidth | boolean | — | When 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). |
| terms | — | yes | The sensitive terms to redact, given either as a comma-separated string (e.g. "Jane Doe, [email protected]") or an array of strings. |
| text | string | yes | The text to redact terms from. |
| wholeWords | boolean | — | When true (default), only match terms as whole words using Unicode word boundaries (so "ann" will not match inside "annual"). |
| Name | Type | Req | Description |
|---|---|---|---|
| redacted | string | yes | The text with all matched terms replaced by block characters; identical to the input when no terms matched. |
| redactedCount | integer | yes | The number of replacements made. |
No examples provided.
render_markdown 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>".
| Name | Type | Req | Description |
|---|---|---|---|
| markdown | string | yes | The Markdown source text to render to HTML. |
| Name | Type | Req | Description |
|---|---|---|---|
| html | string | yes | The 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 Slug Generator ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| lowercase | boolean | — | Lowercase the result (default true). |
| maxLength | integer | — | Maximum slug length; 0 means no limit (default). When set and exceeded, the slug is cut at a separator boundary when possible, otherwise hard-cut. |
| separator | string | — | Word separator: empty string (join words) or a single character from "-", "_", ".". Default "-". |
| text | string | yes | Text to slugify (max 10000 characters). |
| Name | Type | Req | Description |
|---|---|---|---|
| changed | boolean | yes | True when the slug differs from the input text. |
| slug | string | yes | The URL/filename-safe slug. |
No examples provided.
strftime_preview 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'.
| Name | Type | Req | Description |
|---|---|---|---|
| datetime | string | — | Optional ISO date-time to format (default: current time). |
| format | string | yes | strftime format string, e.g. "%A, %B %e, %Y at %I:%M %p". |
| now | string | — | Alias for the reference time when datetime is omitted. |
| Name | Type | Req | Description |
|---|---|---|---|
| datetimeUtc | string | yes | The reference date-time that was formatted, ISO-8601 UTC. |
| format | string | yes | Echo of the strftime format string. |
| output | string | yes | The formatted result; unknown directives are emitted literally as '%X'. |
No examples provided.
test_regex Regex Tester ~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"}.
| Name | Type | Req | Description |
|---|---|---|---|
| flags | string | — | Any of g i m s u v y. |
| pattern | string | yes | Regular expression source (no delimiters). |
| text | string | yes | String to search. |
| Name | Type | Req | Description |
|---|---|---|---|
| flags | string | yes | The flags applied (subset of g i m s u v y). |
| matchCount | integer | yes | Number of matches returned in the matches array. |
| matches | array | yes | One entry per match, in order of appearance. |
| pattern | string | yes | The regex source that was compiled (echoed back). |
| truncated | boolean | yes | True if the 10,000-match cap was hit and further matches were dropped. |
No examples provided.
tip Tip Calculator ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| bill | number | yes | The pre-tip bill amount in dollars. Required. Must be zero or positive. |
| people | integer | — | Number of people splitting the bill. Optional, defaults to 1; values below 1 are treated as 1. |
| tipPercent | number | yes | The tip as a percentage of the bill (e.g. 20 for 20%). Required. Must be zero or positive. |
| Name | Type | Req | Description |
|---|---|---|---|
| bill | number | yes | The pre-tip bill amount, rounded to cents. |
| people | integer | yes | Number of people the bill was split across (>= 1). |
| perPersonTip | number | yes | tipAmount divided by people, rounded to cents. |
| perPersonTotal | number | yes | total divided by people, rounded to cents. |
| tipAmount | number | yes | Total tip in dollars, rounded to cents. |
| tipPercent | number | yes | The tip percentage that was applied (echoed as supplied). |
| total | number | yes | Bill plus tip in dollars, rounded to cents. |
No examples provided.
tvm_solve TVM Solver ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| annuityDue | boolean | — | True if payments occur at the beginning of each period (default false = ordinary annuity). |
| compoundingPerYear | integer | — | Compounding periods per year (default 1). |
| fv | number | — | Future value. |
| iy | number | — | Interest rate per year as a percent. |
| n | number | — | Number of periods. |
| pmt | number | — | Payment per period. |
| pv | number | — | Present value (cash-flow sign convention). |
| solveFor | string | yes | Which variable to solve for. |
| Name | Type | Req | Description |
|---|---|---|---|
| annuityDue | boolean | yes | True if payments were treated as beginning-of-period (annuity due). |
| compoundingPerYear | integer | yes | Compounding periods per year used (default 1). |
| result | number | yes | The solved value (iy in percent, rounded to 4 decimals; n/pv/pmt/fv rounded to 2). |
| solveFor | string | yes | Echo of which variable was solved for. |
No examples provided.
uuid_v4 UUID v4 Generator ~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".
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | — | How many UUIDs to generate (default 1). |
| uppercase | boolean | — | Return uppercase hex (default false). |
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | yes | Number of UUIDs generated (matches uuids.length). |
| uuids | array | yes | The generated RFC 4122 v4 UUIDs, length = count. |
No examples provided.
validate_cron Cron Validator ~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"'}.
| Name | Type | Req | Description |
|---|---|---|---|
| expression | string | yes | 5-field cron expression to validate. |
| Name | Type | Req | Description |
|---|---|---|---|
| error | null | yes | Always null on the success result. |
| fields | object | yes | — |
| normalized | string | yes | The normalized 5-field cron expression. |
| valid | boolean | yes | Always true on the success result (a failed validation instead returns {valid:false, error}). |
No examples provided.