number_to_words
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 mi...
This record as markdown: /tools/com-it-scorptech-x402/number-to-words.md
What number_to_words does on ScorpTech x402 API
AI agents call number_to_words to retrieve information from ScorpTech x402 API without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
lang | string | — | |
mode | string | — | |
style | string | — | English: uk = "one hundred and five" with commas; us = "one hundred five" |
number | string | Yes | Number (digits, optional sign / decimals; "1,234.50" ok), or a Roman numeral |
currency | string | — | ISO code: USD, EUR, GBP, CAD, AUD, INR, JPY, CNY, CHF, MXN, BRL |
capitalize | boolean | — |
Parameters from the server's own tool schema.
Why number_to_words is rated Low
Even though number_to_words only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs number_to_words safely
PolicyLayer is an MCP gateway: it sits between your AI agents and ScorpTech x402 API, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For number_to_words, this is the rule to start with:
number_to_words is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect ScorpTech x402 API, apply this rule, and every number_to_words call is checked against it from then on.
Questions about number_to_words
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. It is categorised as a Read tool in the ScorpTech x402 API MCP Server, which means it retrieves data without modifying state.
number_to_words accepts 6 parameters: lang, mode, style, number, currency, capitalize. Required: number. The full parameter table on this page comes from the server's own tool schema.
Register the ScorpTech x402 API MCP server in PolicyLayer and add a rule for number_to_words: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches ScorpTech x402 API. Nothing to install.
number_to_words is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the number_to_words rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for number_to_words. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
number_to_words is provided by the ScorpTech x402 API MCP server (https://scorptech.it.com/api/x402/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on ScorpTech x402 API, and thousands of servers like it.
This server
Across the catalogue