Skip to main content
Glama

util_number_words

Read-only

Number to words (and back) — Spell numbers in English: words, ordinal (twenty-first, 21st), Roman numerals (1-3999), currency words and check-writing format (One thousand two hundred thirty-four and 56/100 dollars) for USD, EUR, GBP, CAD, AUD, INR, JPY, MXN, CHF. Exact up to 10^18 (BigInt). Or text= to parse English words back to a number (two thousand and five, one hundred twenty-first, 1.5 million, three point one four). Params: n= or text=, optional currency=. Price: $0.001 USDC (Base, via x402).

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": {
      "n": "<n>"
    },
    "name": "util_number_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes1234.56

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive profile, and the description adds genuinely useful context beyond them: an exactness bound ('Exact up to 10^18 (BigInt)'), a Roman numeral range (1-3999), the supported currency set, and a payment requirement ('$0.001 USDC (Base, via x402)') that an agent must know before calling. It stops short of describing error behavior for out-of-range input.

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 core capability and examples are front-loaded in the first two clauses, and every sentence carries information (formats, limits, reverse parsing, price). It is a dense em-dash run-on with many parentheticals, but no sentence is filler.

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, the description does the work of characterizing return values (spelled words, ordinals, Roman numerals, check-writing 'and 56/100 dollars' form) and the reverse-parse output. Gaps remain around out-of-range handling (above 10^18, Roman >3999) and the parameter/schema mismatch, but an agent has enough to call it correctly.

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

Parameters3/5

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

Schema coverage is 100% but the schema itself is nearly bare — a single 'n' with description '1234.56' — so the description's explanation of what n accepts and the currency options adds real meaning. The gain is undercut by a mismatch: the description advertises 'text=' and 'currency=' parameters that do not exist in the input schema, which could mislead an agent constructing the call.

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 bidirectional verb pair and resource ('Number to words (and back)') and enumerates the exact output modes: English words, ordinal ('twenty-first, 21st'), Roman numerals, currency/check-writing format. An agent can distinguish this from any sibling util_* tool immediately.

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

Usage Guidelines3/5

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

It does give mode-selection guidance ('n= or text=') and clarifies the reverse direction ('Or text= to parse English words back to a number'), which tells the agent which input style to pick. However it never says when to choose this tool over a general converter sibling like util_convert, and offers no exclusions or preconditions.

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