Skip to main content
Glama

Currency Exchange Rates API - official ECB rates, convert 30 currencies

currency_exchange_rates
Read-onlyIdempotent

Convert an amount between 30 currencies with the official euro foreign exchange reference rates of the European Central Bank, or get all rates for a base currency. Today's rate or any date in the last 90 days (weekends and holidays answer with the last published day, shown as rateDate). For invoices, price lists, accounting and reports. Rates are reference rates, published once per working day about 16:00 CET. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/currency-exchange-rates.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "USD,GBP",
      "from": "EUR",
      "amount": 100
    },
    "name": "currency_exchange_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoCurrency or currencies you want, e.g. USD or USD,GBP,BGN (empty = all)
dateNoRate date YYYY-MM-DD within the last 90 days (default: latest)
fromNoCurrency you have, ISO code, e.g. EUR, USD, GBP (default EUR)
amountNoAmount to convert, default 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: it discloses that rates are published once per working day around 16:00 CET, that weekends and holidays fall back to the last published day exposed as rateDate, and it states the rate limits and auth paths (5 calls/day per IP free, X-API-Key paid tier, x402 per-call pricing). An agent can predict result semantics and quota behavior before calling.

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 capability, date window and fallback behavior are front-loaded in the first two sentences, and the use-case sentence is short. The closing pricing paragraph is longer than strictly necessary and carries promotional framing (URLs, tier pricing) that is useful but slightly bloats the definition.

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?

For a four-optional-parameter read-only lookup with a fully documented schema and no output schema, the description covers everything an agent needs: what it returns, date resolution rules, publication timing, quotas, and how to authenticate on paid tiers. Nothing material is missing.

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, but the description adds meaning the schema lacks — notably the weekend/holiday fallback behavior that governs how a requested `date` is actually resolved, plus the 'get all rates for a base currency' mode that explains omitting `to`. It does not add anything about amount precision or multi-currency conversion output shape.

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 ('Convert an amount between 30 currencies with the official ECB reference rates', or 'get all rates for a base currency') and pins the data source, which distinguishes it from adjacent rate tools such as central_bank_rates_api or treasury_yields_api. Both modes of operation are named explicitly, so an agent knows what it returns 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?

Gives concrete usage context ('For invoices, price lists, accounting and reports') and clarifies the data cadence and lookback window that constrain legitimate use. It stops short of naming a sibling alternative or an explicit when-not-to-use case, so it is clear context rather than full routing guidance.

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