Skip to main content
Glama

ECB exchange rates

ECB rate on a day

rate
Read-onlyIdempotent

The European Central Bank's euro foreign exchange reference rate in force on a day: units of the currency per 1 EUR, as the exact value the ECB published (1 EUR = 1.1052 USD), with fixing_date, the date of the fixing it is. The ECB fixes rates on TARGET working days around 16:00 CET; a weekend, a TARGET holiday, or today before 16:00 CET takes the last working day's fixing, so the answer always says which one it used. Covers every day since 1999-01-04, including currencies the ECB has since dropped (HRK, RUB, BGN, ...) on the days it published them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currency": "<currency>"
    },
    "name": "rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day, YYYY-MM-DD in Frankfurt; default today.
currencyYesISO 4217 code: USD, GBP, JPY, CHF, ...; EUR where the tool allows it; case ignored.

Output Schema

NameRequiredDescriptionDefault
okYes
dateYesThe day asked for
noteNo
rateYesThe ECB's exact value, units of the currency per 1 EUR
sourceYes
meaningYes
currencyYes
fixing_dateYesThe date of the ECB fixing this rate is

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare this a read-only, idempotent, open-world call, and the description still adds substantive behavior: the ~16:00 CET TARGET fixing schedule, the last-working-day fallback, the guarantee that the response says which fixing was used, and coverage back to 1999-01-04 including discontinued currencies. That is exactly the kind of context annotations cannot carry.

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?

Three sentences, front-loaded with what the value means, then the fixing mechanics, then historical coverage. Dense but every clause earns its place; the parenthetical example (1 EUR = 1.1052 USD) does real work disambiguating direction.

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?

An output schema exists, so return structure need not be explained, and the description still calls out fixing_date and the fallback guarantee. For a two-parameter lookup this covers everything an agent needs to call it and interpret the result correctly.

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 real meaning: the quote is per 1 EUR (not the inverse), date is a Frankfurt calendar day, and the currency set extends to dropped codes like HRK, RUB, and BGN. These are semantics the schema's ISO-code note does not convey.

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?

States a specific verb and resource: the ECB euro foreign exchange reference rate in force on a given day, with the quote direction spelled out (units of currency per 1 EUR). That is unambiguous, but it never names or contrasts with the sibling tools (rates, convert), so an agent must infer the single-day vs. series vs. conversion split on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description explains the fallback rule for non-fixing days (weekend, TARGET holiday, before 16:00 CET), which shapes when the answer is meaningful, but it gives no explicit routing guidance such as 'use rates for a series' or 'use convert for arithmetic'. Usage is implied rather than stated against alternatives.

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.