Skip to main content
Glama

Agent Utils (x402)

FX time series (ECB reference rates, 90 days)

fx_history

Daily ECB reference-rate time series for up to 10 currencies against any base over the last ~90 days, with min/max/first/last/% change per currency. Data: ECB euro reference rates - this data is available free of charge at ecb.europa.eu; this service adds cross-rate computation, JSON formatting and caching. Information purposes only, not for transactions. (Paid tool: $0.01 USDC per call via x402 on eip155:8453, eip155:137.)

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

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD (default: latest)
baseYesBase currency, e.g. USD
startNoYYYY-MM-DD (default: earliest available)
symbolsYesComma-separated quote currencies (max 10), e.g. EUR,JPY,KRW

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does so well: it discloses the paid model ($0.01 USDC per call via x402 on eip155:8453/eip155:137), that results are cached, that cross-rates are computed rather than sourced, and data provenance. It stops short of stating failure behavior when a currency is unsupported or a range exceeds availability.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the capability, then constraints, then provenance, then pricing — a sensible priority order. The parenthetical payment and disclaimer lines are dense but each adds decision-relevant information.

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?

No output schema, so the description usefully specifies the return shape (min/max/first/last/% change per currency) and the ~90-day span. Combined with full schema coverage and disclosed pricing, an agent has what it needs to call it and to anticipate cost.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline 3 applies; the schema already documents base, symbols, start and end with formats and defaults. The description adds only the currency-count cap and the ~90-day window, which the schema does not encode.

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: daily ECB reference-rate time series for up to 10 currencies against any base over ~90 days, plus the per-currency summary stats returned. An agent can separate this from fx_convert (single conversion) without opening a schema.

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?

Names explicit boundaries: max 10 currencies, ~90-day window, any base, ECB euro reference rates as the source, and 'information purposes only, not for transactions' as a use restriction. It leaves sibling routing (e.g. fx_convert for one-off conversions) to inference, which is the only gap.

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