Skip to main content
Glama

FX reference rates (ECB): 30 currencies incl. KRW, any base, conversion, last 90 days

fx_rates
Read-onlyIdempotent

Use when you need an official daily FX rate or currency conversion (USD, EUR, KRW, JPY, CNY, GBP + 24 more). Input: base (default EUR), optional symbols (comma list), date (YYYY-MM-DD, last ~90 days; weekends use the prior fixing), amount. Output: JSON rates for the fixing date, % change vs prior fixing, converted amounts, raw ECB EUR rates. Source: ECB statistics, updated each TARGET day ~16:00 CET; reference only. Use instead: fx_convert for converting an amount, or a date older than ~90 days; fx_history for a daily series or period stats. Example: ?base=USD&symbols=KRW,JPY&amount=100 Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via 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": "fx_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency, ISO 4217 (one of the 30 ECB reference currencies; default EUR)
dateNoFixing date YYYY-MM-DD within the last ~90 days (default latest)
amountNoAmount in base currency to convert
symbolsNoComma-separated target currencies (default: all). Supported: EUR,USD,JPY,KRW,CNY,GBP,AUD,BRL,CAD,CHF,CZK,DKK,HKD,HUF,IDR,ILS,INR,ISK,MXN,MYR,NOK,NZD,PHP,PLN,RON,SEK,SGD,THB,TRY,ZAR

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Changed2 schema fields changed
    • changedInput schema / properties / base / description
      Previous value: -"Base currency ISO 4217 (default EUR)"New value: +"Base currency, ISO 4217 (one of the 30 ECB reference currencies; default EUR)"
    • changedInput schema / properties / symbols / description
      Previous value: -"Comma-separated target currencies (default: all 30)"New value: +"Comma-separated target currencies (default: all). Supported: EUR,USD,JPY,KRW,CNY,GBP,AUD,BRL,CAD,CHF,CZK,DKK,HKD,HUF,IDR,ILS,INR,ISK,MXN,MYR,NOK,NZD,PHP,PLN,RON,SEK,SGD,THB,TRY,ZAR"
  5. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered. The description still adds real value beyond them: weekend dates fall back to the prior fixing, the ~90-day window is a hard limit, the data refreshes each TARGET day around 16:00 CET, and each call is paid ($0.002 via x402 in USDC on listed chains) — the payment requirement is the kind of operational trait an agent must know. What it omits is failure/pagination/latency behavior, so it sits at solidly-adequate rather than rich.

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 use case, then input, output, source, alternatives, example and price — an efficient, scannable ordering. It is dense but nearly every clause carries information; the price/payment sentence is long and the parenthetical currency list partly duplicates the schema's enum, keeping it below a 5.

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?

There is no output schema, so the description carries the return-shape burden and does it: JSON rates for the fixing date, % change vs prior fixing, converted amounts, and raw EUR rates, plus the data source and refresh cadence. For a 4-parameter, zero-required read tool this is sufficient to call correctly and interpret results.

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 description coverage is 100%, so the baseline is 3; the description goes slightly beyond by showing a concrete composed example (?base=USD&symbols=KRW,JPY&amount=100) and restating defaults, which clarifies how the parameters combine in one call. It does not add format subtleties (e.g. symbol separator tolerance, string vs numeric amount) beyond what the schema states.

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+resource (fetch official daily FX rates / currency conversion), the currency universe, and scope (last ~90 days, ECB source). It names the siblings it is not (fx_convert, fx_history), so an agent can discriminate without opening any 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?

Explicit 'Use when' plus an explicit routing rule to fx_convert for conversions or dates older than ~90 days, and to fx_history for series/period stats — strong when/when-not guidance. It loses a point for internal tension: this tool itself accepts an 'amount' parameter and returns 'converted amounts', yet the guidance says to use fx_convert for converting an amount, which leaves the agent unsure which one to pick.

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