Skip to main content
Glama

exchange_rates

Idempotent

Official ECB euro reference exchange rates (about 30 currencies) for today, with any base currency and an optional amount to convert. One request to the European Central Bank. Returns: JSON with simulated, date, base, rates, missing, amount, converted, source, note. PAID: 0.002 USDC per call (USDC on eip155:8453, x402 v2). Requires an x402-capable MCP client that attaches the payment in _meta["x402/payment"] (e.g. createx402MCPClient from @x402/mcp). Without a payment this tool returns a "payment required" result and charges nothing. NOTE: Reference rates for information only, not transaction rates. Sandbox results are simulated.

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": "exchange_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency (ISO code), default EUR.EUR
amountNoOptional amount in the base currency to convert.
symbolsNoCurrencies to return, e.g. ["USD","CHF"]. Default all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Well beyond the annotations, it discloses the exact price (0.002 USDC on eip155:8453, x402 v2), the payment attachment mechanism, the zero-charge behavior on missing payment, the enumerated response keys, and that sandbox results are simulated. These are precisely the operational traits an agent must know before calling a paid, open-world tool.

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?

Purpose and scope are front-loaded in the first sentence, followed by the payment contract and the return-shape list. It is dense but every clause carries actionable information (cost, mechanism, fallback, return keys); only the trailing "Reference rates for information only" and simulation notes sit slightly below the critical tier.

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

Completeness5/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 compensates by enumerating the returned JSON keys (simulated, date, base, rates, missing, amount, converted, source, note). The payment prerequisite, cost, and no-payment fallback are all covered, leaving nothing an agent needs in order 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 description coverage is 100% and the description's per-parameter wording ("any base currency and an optional amount to convert") largely restates what the schema already declares for base, amount, and symbols. With the schema doing the heavy lifting, the baseline 3 applies; the description adds only the ~30-currency coverage bound.

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?

"Official ECB euro reference exchange rates (about 30 currencies) for today, with any base currency and an optional amount to convert" names a specific verb+resource, the data source, the coverage (~30 currencies), and the two degrees of freedom (base, amount). No sibling overlaps this FX-quote purpose, so an agent can identify it immediately without opening 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?

It states the operative usage gate explicitly: a paid tool requiring an x402-capable MCP client that attaches payment in _meta["x402/payment"], plus the fallback behavior when no payment is supplied. It also scopes the data as "reference rates for information only, not transaction rates." The only gap is the absence of an explicit when-to-use-vs-alternative statement, though no sibling here performs currency conversion.

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