Skip to main content
Glama

Agent Data Tools: Utilities

Roman numerals: convert numbers to Roman numerals and back

number_roman
Read-only

Convert a number (1-3999) to Roman numerals, or Roman numerals back to a number. Give either number or roman. Use for dates, outlines and puzzles. Example: number=2026. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "number_roman"
  }
}

Input Schema

NameRequiredDescriptionDefault
romanNoRoman numerals to read
numberNo1 to 3999

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / number / maximum
      Previous value: -9007199254740991New value: +3999
    • changedInput schema / properties / number / minimum
      Previous value: --9007199254740991New value: +1
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description reinforces this with "Reads or computes only and changes nothing." It adds genuinely useful context beyond annotations: the metered cost ($0.01/call, first 10 free, failed calls free) and the warning that repeats are not free, which is consistent with idempotentHint=false. It does not say what happens on invalid input (e.g., number out of range or malformed roman).

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 operation, parameter choice, use cases, and example are front-loaded in the first two sentences. The pricing/credits sentence is longer than needed and reads partly promotional, though the metering fact is relevant to call behavior.

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 simple two-parameter converter with no output schema, the description covers range, direction, inputs, and cost. The only real gap is the return format (Roman numeral casing/string versus integer), which an agent might want stated explicitly.

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% and both properties are documented with bounds, so the baseline is 3. The description earns extra credit by clarifying that exactly one of the two optional parameters should be supplied and by giving a concrete example (number=2026), which resolves the ambiguity created by zero required parameters.

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: convert a number (1-3999) to Roman numerals or Roman numerals back to a number. The scope is bounded and the operation is unmistakable, so an agent can distinguish it from siblings like number_words or units_convert without consulting 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?

"Give either number or roman" tells the agent how to invoke it, and "Use for dates, outlines and puzzles" supplies concrete contexts. It stops short of naming alternatives or stating when a sibling tool would be preferable, but the invocation guidance is clear.

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