Skip to main content
Glama

ScorpTech x402 Tools

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. Returns JSON with: input, mode, lang, currency, words. Price: $0.001 USDC per successful call (x402, Base or 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.5/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real context beyond them: the JSON return fields, numeric limits (36 digits), accepted input forms, and notably the pricing model ($0.001 USDC via x402 on Base or Solana) plus a direct HTTPS endpoint. Cost and payment-scheme disclosure is exactly the kind of pre-call information an agent needs.

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 mode list before the examples, price, and endpoint, so the most decision-relevant information comes first. It is a dense single paragraph with several parenthetical grammar examples that are illustrative but add bulk.

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?

For a 6-parameter, no-output-schema tool the description is largely sufficient: it lists the return fields (input, mode, lang, currency, words) so no output schema is needed, and states the input limits. The main omission is that "style" and "capitalize" are never addressed in prose despite being user-visible behavior switches.

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?

With 50% schema coverage, the description compensates well by naming the supported languages, enumerating every mode, and clarifying the number field accepts signs, decimals, comma-grouped values, and Roman numerals. It leaves the "style" (uk/us) and "capitalize" parameters undocumented in prose, which are only explained or implied by the schema itself.

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?

Opens with a specific verb+resource ("Spell out numbers in words") and immediately enumerates the modes (cardinal, ordinal, currency, cheque, years, Roman numerals), so an agent can tell it apart from arithmetic or numeric-sequence siblings without opening the schema.

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 contexts ("invoices, cheques, contracts, accessibility and voice output") which tells the agent when this tool is the right pick. It stops short of naming an alternative or stating exclusions, so it lands just under a 5.

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