Skip to main content
Glama

Official Records Hub: Company, Sanctions & Financial Checks (UK, US & Global)

exchange_rates

Read-onlyIdempotent

Pay-per-call official exchange rates for AI agents. Get the European Central Bank's euro reference rates for about 30 currencies (USD, GBP, JPY, CHF and more), converted to any base currency you choose (cross rates are labelled), for the latest day or any date in the last 90 days. Optional amount converts for you. Errors never charged. Use this when the user needs an official exchange rate or a currency conversion (ECB reference rates, about 30 currencies, last 90 days). Not for: live trading prices or crypto prices; rates for currencies the ECB does not publish. Price: $0.005 USDC per call (x402).

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, 3 letters (default EUR). Example: GBP
dateNoDate YYYY-MM-DD within the last 90 days (default latest). Example: 2026-11-27
amountNoAmount of the base currency to convert. Example: 100
symbolsNoComma-separated currencies to return (default all). Example: USD,EUR,JPY

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, but the description adds billing behavior the annotations cannot convey: $0.005 USDC per call via x402, and 'Errors never charged'. It also discloses the 90-day retention window and that cross rates are explicitly labelled, which affects how results must be interpreted.

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 capability, then scope, then exclusions, then price — a sensible order. There is mild redundancy: the parenthetical '(ECB reference rates, about 30 currencies, last 90 days)' restates the first sentence, and the price appears both in the title and the closing line.

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 burden of describing returns and does so partially: rates converted to a chosen base, cross rates labelled, optional amount yields a conversion. It does not state the response shape (e.g., per-symbol fields) or how a cross-rate result is flagged, which is the main remaining gap for a 4-parameter tool.

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%, so the baseline is 3; the description pushes above that by explaining that the base currency drives cross-rate computation and that amount performs the conversion automatically rather than merely returning a rate. It reinforces the 90-day date bound and the 'default latest' behavior, though it adds no syntax detail beyond the schema examples.

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 verb and resource ('Get the European Central Bank's euro reference rates'), the scope (~30 currencies, 90 days), and the transformation offered (converted to any base currency, cross rates labelled). It also carves out what it is not for (live trading/crypto prices, non-ECB currencies), so an agent can distinguish it from rate-adjacent siblings without reading 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Use this when the user needs an official exchange rate or a currency conversion' and lists exclusions under 'Not for: live trading prices or crypto prices; rates for currencies the ECB does not publish.' That is a complete when/when-not statement with concrete boundaries.

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