Skip to main content
Glama

ECB exchange rates

ECB rates: every currency on a day, or a window

rates
Read-onlyIdempotent

The ECB's reference rates as fixings, oldest first, each currency in units per 1 EUR as the ECB published it. With date (default today): every currency's rate in force that day, all from one fixing, whose date the answer gives. With from (and to, default today): every fixing the ECB published in the window, as many as fit in 2000 rates a call (a year of seven currencies, or all of them for about three months). Name currencies to narrow either; leave them out for all. Use it for a chart, an average or a check across several days.

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

Input Schema

NameRequiredDescriptionDefault
toNoA window's last day, included; default today. Only with from.
dateNoOne day, YYYY-MM-DD in Frankfurt: the rates in force on it. Not with from.
fromNoA window's first day, YYYY-MM-DD: every fixing from it to `to`.
currenciesNoISO 4217 codes, e.g. ["USD", "GBP"], without EUR; default every currency the ECB published.

Output Schema

NameRequiredDescriptionDefault
okYes
toNo
dateNoThe day asked for: fixings holds the one in force on it
fromNo
noteNo
countYesHow many rates the fixings hold
absentNoCurrencies asked for that the ECB published no rate of in the window
sourceYes
fixingsYesOldest first; a currency the ECB did not publish on a fixing is missing from that fixing's rates
fixing_dateNoWith date: the date of the fixing that was in force

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open world), so the description wisely spends its words on traits annotations cannot convey: ordering ('oldest first'), the EUR-denominated unit convention, the fact that the answer returns the fixing's own date, and the 2000-rates-per-call cap with concrete sizing examples. That cap is genuine operational context an agent needs to size windowed requests.

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?

One dense paragraph that front-loads the core semantic (units per 1 EUR, oldest first) before branching into the two modes. Some sentences are convoluted — the 2000-rate parenthetical requires a second read — but nearly every clause carries information not available in the structured fields.

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 an output schema present, return-value explanation is unnecessary, and the description still notes the answer's fixing date. For a four-parameter, read-only tool this is nearly complete; the only gap is guidance against sibling tools for single-rate or conversion use cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 exceeds it by explaining the semantic intent behind each parameter rather than restating it — `date` means the single fixing in force that day, `from`/`to` means every fixing published in the inclusive window, and omitting `currencies` yields the full published set. The capacity note ('a year of seven currencies, or all of them for about three months') gives practical meaning to window sizing that the schema cannot.

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?

The description states a specific resource (ECB reference rates as fixings, expressed in units per 1 EUR) and separates two clear modes: one day's fixing versus a window of fixings. It does not explicitly distinguish itself from the sibling `rate` or `convert` tools, leaving the agent to infer that single-rate or conversion needs belong elsewhere.

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?

Clear mode-selection guidance is given: `date` for a single day, `from`/`to` for a window, with mutual exclusion and today-defaults spelled out. The closing line ('for a chart, an average or a check across several days') anchors the multi-day intent. It stops short of naming an alternative for single-point lookups or 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.