Skip to main content
Glama

FX history (ECB): daily rate series for up to 10 currencies, any base, up to 366 days, with stats

fx_history
Read-onlyIdempotent

Use when you need a historical exchange-rate series or a period summary (e.g. USD/KRW over the last quarter). Input: symbols (1–10), base (default EUR), start and end (YYYY-MM-DD since 1999-01-04; default last 30 days; max 366 days). Output: JSON daily series of ECB fixings, and per currency first/last, % change, min/max with dates, average and daily volatility. Source: ECB statistics; reference only. Use instead: fx_rates for one fixing (latest); fx_convert for converting one amount. Example: ?base=USD&symbols=KRW,JPY&start=2026-07-01&end=2026-09-30 Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

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": {
      "symbols": "<symbols>"
    },
    "name": "fx_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date YYYY-MM-DD (default today; range ≤ 366 days)
baseNoBase currency (default EUR)
startNoStart date YYYY-MM-DD (default end minus 30 days; earliest 1999-01-04)
symbolsYes1–10 comma-separated currencies. 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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and open-world safety, so the description's addition of data provenance (ECB statistics), the 'reference only' caveat, and the pay-per-call pricing ($0.002 via x402 on named chains) is genuinely new operational context rather than repetition.

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 use case, then Input/Output/Use-instead/Example/Price in clearly labeled fragments — efficient and scannable. It is dense, and the payment tail plus example lengthen it slightly beyond what selection requires.

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, and the description fills that gap by enumerating the returned daily series and per-currency statistics (first/last, % change, min/max with dates, average, volatility). Combined with parameter bounds and source, an agent has everything needed to call and interpret it.

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 still adds value by restating the effective defaults (base EUR, last 30 days) and the 1999-01-04 earliest date alongside the constraint, plus a concrete example of how base and symbols interact. Marginal gain, but real.

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?

Opens with a specific verb+resource: a historical exchange-rate series or period summary, with concrete scope (ECB daily fixings, 1–10 currencies, any base, ≤366 days). It distinguishes itself from fx_rates and fx_convert by name, so an agent can route without opening schemas.

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 states when to use it ('historical exchange-rate series or a period summary') and names the alternatives with their selection conditions: fx_rates for one latest fixing, fx_convert for converting one amount. The worked example query further anchors usage.

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