Skip to main content
Glama

Number to words

number_to_words
Read-onlyIdempotent

Writes a number out in US English words (short scale, up to 999 trillion): cardinal words, the ordinal, and the amount line used on a check. Decimals are read digit by digit. The page at redbison.dev/number-to-words-converter adds copy buttons.

Returns: Text: the number in words. structuredContent { words, wholePart, ordinal, check }. Example input: {"value":"1234.56"}

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": {
      "value": "<value>"
    },
    "name": "number_to_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesThe number, e.g. '1234.56' or '-17'. Commas are allowed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, idempotentHint=true, openWorldHint=false), so the description is free to add what they cannot: the supported magnitude ceiling (999 trillion), the short-scale convention, and the rule that decimals are read digit by digit. Those are real behavioral constraints an agent would otherwise have to discover by trial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is dense and front-loaded with the useful facts, and the Returns line is efficient. However, the sentence about the redbison.dev page adding copy buttons is promotional noise that does not help an agent invoke the tool, and the mixed prose/Returns/Example layout is only loosely structured.

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 one-parameter, read-only formatting tool with no output schema, the description covers the supported range, scale convention, decimal behavior, and names the structuredContent fields so the agent knows what comes back. What is missing is edge-case behavior — rounding of excess decimals, handling of strings beyond the 999-trillion claim versus the 40-character maxLength — but those are minor for a deterministic formatter.

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% and the single `value` parameter is documented in-schema with its own example and the comma allowance, so the schema carries the load. The description repeats the example `{"value":"1234.56"}` but adds no meaning beyond what the schema already supplies, making baseline 3 correct.

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?

The description states a specific transformation — writing a number out in US English short-scale words — and enumerates the three output forms it produces (cardinal words, ordinal, check amount line). This is concrete enough to distinguish it from numeric siblings such as number_base_convert, which converts bases rather than rendering prose.

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?

Usage is implied by the clear purpose, but there is no explicit when-to-use or when-not-to-use guidance, and no reference to any alternative tool. The only 'alternative' mentioned is an external web page, which does not help an agent choose between MCP tools.

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