Skip to main content
Glama

mechacut

num_fx

Explicit-rate currency math: the CALLER supplies the rate, the suite multiplies in exact Decimal and rounds to ISO-4217 minor units (closed table of 33 currencies, half_even). No network, no guessing today's EUR/USD — that guess is the bug this refuses to serve. 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": {
      "amount": "<amount>",
      "rate": "<rate>",
      "to": "<to>"
    },
    "name": "num_fx"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
rateYes
amountYes
precisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does real work: exact Decimal arithmetic, half_even rounding, a closed table of 33 currencies, and no network calls. It stops short of the consequences an agent needs — what happens for a currency outside the 33, whether failures throw or return error text, and what the response looks like.

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 the core mechanic and rounding rule in the first sentence. Later clauses ('that guess is the bug this refuses to serve', 'Free') are rhetorical filler that adds tone rather than decision-relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter tool with no annotations, no output schema, and no parameter descriptions, the definition leaves significant gaps: return shape is unstated, the 'precision' parameter is unaddressed, and error behavior for unsupported currencies is undefined.

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 0%, so the description must compensate and only partially does. It implies 'to' is an ISO-4217 code from a fixed 33-entry table and that rounding is to minor units, but never explains the format of 'rate' or 'amount' as strings, nor what the optional 'precision' parameter overrides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific operation ('currency math' multiplying amount by caller-supplied rate) with the scope constraint that rates are never fetched. The 'Explicit-rate ... the CALLER supplies the rate' framing distinguishes it from any live-FX conversion tool, though it never names a sibling like num_round to contrast with.

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?

Makes the use condition explicit: call this when you already have the rate and want exact Decimal multiplication rounded to ISO-4217 minor units. The 'no network, no guessing today's EUR/USD' clause effectively states when not to use it (i.e., when you want a live quote), but no alternative tool is named for that case.

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.