Skip to main content
Glama

Agent Data Tools: Utilities

Number to words, in English: write a number out in English words

number_words
Read-only

Write a whole number (up to trillions, negatives allowed) out in English words, e.g. for cheques and invoices. Also returns the cheque form with 'and' cents when given a decimal amount. Use when amounts must be written out in full. Example: number=1234.5. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesThe number, decimals allowed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only/non-destructive/non-idempotent, and the description adds genuinely new behavioral facts: $0.01/call via x402 or card key, first 10 free, failed calls free, and the consequence that repeats are charged (explaining the non-idempotent hint). It also discloses the return content—the word form plus a cheque form with 'and' cents—which no structured field provides. Minor gap: no error behavior for out-of-range inputs beyond the 'up to trillions' bound.

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-loaded with what the tool does, then usage, then pricing—logical order with an inline example. The closing sentence partially restates the readOnly annotation ('changes nothing'), but it pivots to a cost implication that earns its place.

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 carries the return-value burden and does so by describing both the word output and the cheque form. A single-parameter, single-purpose tool is otherwise adequately covered; only the exact shape of the response (both values vs. one) is left slightly 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 100% with one documented parameter, so the baseline is 3; the description earns above baseline by adding meaning the schema lacks—negatives permitted, upper bound near trillions, and that decimals trigger a second cheque-style output rather than being rejected.

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?

Names a specific verb+resource ('write a whole number ... out in English words') and bounds the domain explicitly (up to trillions, negatives allowed). The cheque/invoice framing plus a concrete example (number=1234.5) makes it distinguishable from a Roman-numeral or random-number sibling at a glance.

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 a clear activation condition: 'Use when amounts must be written out in full', reinforced by 'for cheques and invoices'. It stops short of naming any alternative tool or stating when-not to use it, so it is clear context without explicit 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