Skip to main content
Glama

Duo Data Utilities: IBAN, ISIN, VAT and Tax ID, Barcode, Timezone, Geo APIs

Number to words in 12 languages, with ordinal and currency forms

number_to_words
Read-onlyIdempotent

Number to words: spell a number out in English, Dutch, German, French, Spanish, Italian, Portuguese, Polish, Russian, Turkish, Swedish or Japanese, in cardinal, ordinal or currency form. Currency form agrees the number with the currency noun and gives real minor-unit names for 19 currencies (EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, RUB, TRY, CNY, INR, BRL, MXN, CAD, AUD, NZD, CZK, HUF); any other ISO 4217 code uses a fraction such as 56/100. Values up to 10^15. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

NameRequiredDescriptionDefault
caseNolower (default), sentence or title. Accepted: lower, sentence, title.
formNocardinal (default), ordinal, currency or year. Accepted: cardinal, ordinal, currency, year.
langNoLanguage, ISO 639-1. Default en. Accepted: en, nl, de, fr, es, it, pt, pl, ru, tr, sv, ja.
valueYesInteger or decimal number, absolute value below 1e15, e.g. 1234 or 1234.56. Accepted: an integer or decimal number, absolute value below 1e15, e.g. 1234.
currencyNoISO 4217 code. Required when form=currency, rejected otherwise. Accepted: an ISO 4217 alpha-3 code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / value / description
      Previous value: -"Integer or decimal, absolute value below 1e15. Accepted: absolute value below 1e15."New value: +"Integer or decimal number, absolute value below 1e15, e.g. 1234 or 1234.56. Accepted: an integer or decimal number, absolute value below 1e15, e.g. 1234."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint and a closed-world scope, so safety is covered. The description adds meaningful behavior beyond that: pricing at $0.05 per successful call via x402, a 10^15 value ceiling, and fallback minor-unit handling for non-listed currencies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences and front-loads the core capability before pricing. The first sentence is dense with language names and currency details, but every clause carries useful information for selection and invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the moderate complexity, full schema coverage and no output schema, the description covers what an agent needs: supported languages, all forms, value limits, currency behavior, and cost. The 'spell out' phrasing implicitly establishes a string-returning text transformation, leaving no important gap for this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds semantic detail the schema does not: currency form agrees the number with the currency noun, supplies real minor-unit names for 19 currencies, and falls back to fractions like 56/100 for other ISO codes. It also restates the 10^15 range, reinforcing the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'spell a number out' in 12 named languages and in cardinal, ordinal or currency form. This distinguishes it clearly from sibling tools such as base_convert (base conversion) and currency_lookup (currency metadata).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear contextual guidance by naming the supported forms (cardinal, ordinal, currency, year) and explaining that currency requires an ISO 4217 code. It does not explicitly name alternatives or state when not to use this tool, so it falls short of the top score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.