Skip to main content
Glama

Number To Words

number_to_words
Read-onlyIdempotent

Spell out numbers in words — cardinal, ordinal, currency amounts, cheque wording, years and Roman numerals — in English, Spanish, French, German, Italian, Portuguese (PT) and Brazilian Portuguese, with each language's real grammar (French "quatre-vingts" / "et un", Spanish "veintiún mil" / "un millón", German compounds, Italian elision, long and short scales). Integers up to 36 digits, decimals ("twelve point five"), negatives. Also converts Roman numerals back to numbers. For invoices, cheques, contracts, accessibility and voice output. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/number-to-words

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "number": "<number>"
    },
    "name": "number_to_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoen
modeNocardinal
styleNoEnglish: uk = "one hundred and five" with commas; us = "one hundred five"uk
numberYesNumber (digits, optional sign / decimals; "1,234.50" ok), or a Roman numeral
currencyNoISO code: USD, EUR, GBP, CAD, AUD, INR, JPY, CNY, CHF, MXN, BRLUSD
capitalizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real value beyond that with the per-call price ($0.001 USDC via x402 on Solana), the 36-digit input limit, and an HTTPS fallback endpoint. It does not describe latency or failure/refund behavior for paid calls, which would have pushed it higher.

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?

Front-loads the capability and language/grammar detail, then pricing and the HTTP alternative at the end, so an agent gets the essentials first. It is dense and slightly run-on in the parenthetical grammar examples, but nearly every clause carries information.

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

Completeness4/5

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

With no output schema and an input schema that covers the enums, the description supplies enough for correct invocation: supported languages, mode semantics, input bounds, and the paid-call caveat. Only the exact return shape (e.g., capitalization behavior in check mode) is left implicit.

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 only 50%, but the description compensates: it explains what each language does grammatically, clarifies what 'check' mode means (cheque wording) and that roman mode works in reverse, and bounds the number parameter (up to 36 digits, sign, decimals). The capitalize and style parameters are still explained only in 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?

States a specific verb (spell out) and resource (numbers), then enumerates the covered modes (cardinal, ordinal, currency, cheque, year, roman), languages and edge cases (negatives, decimals, 36 digits). It is clearly distinguishable from numeric siblings like base_convert or currency_format.

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?

Gives concrete use cases — invoices, cheques, contracts, accessibility, voice output — which map well to the check/currency/cardinal modes, and the language list guides lang selection. It stops short of saying when to prefer a sibling such as currency_format instead, so no explicit alternative routing.

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.

Resources