Skip to main content
Glama

Exchange rate history

fx_history
Read-only

Retrieve daily ECB reference exchange-rate history between currencies for a date range, including period change, high, and low for charts, backtests, invoices, and trend analysis.

Instructions

Daily exchange rate history between currencies over a date range (European Central Bank reference rates, back to 1999), with the change over the period, high and low. For charts, backtests, invoices and trend questions. Costs $0.001 per call.

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

Input Schema

NameRequiredDescriptionDefault
endNoLast day, YYYY-MM-DD. Default today.
baseYesCurrency code to convert from, e.g. "USD".
startYesFirst day, YYYY-MM-DD.
symbolsYesCurrencies to show, e.g. ["EUR", "JPY"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description adds genuinely useful context beyond that: the upstream source (ECB), the historical depth limit (back to 1999), the computed outputs, and a per-call cost of $0.001. It does not discuss rate limits, missing-day behavior (ECB publishes no weekend/holiday rates), or response shape, which keeps it below the top band.

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?

One dense sentence front-loads what the tool returns, and a short trailing sentence covers use cases and cost. No filler or redundancy, and every clause carries information an agent needs.

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 no output schema, the description compensates by naming the returned fields (change over the period, high and low) and by disclosing data source, historical depth and cost. Remaining gaps are minor: granularity is stated as daily but nothing addresses non-trading days, the symbols cap, or what the response structure looks like.

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 description coverage is 100%, so formats and defaults for base, symbols, start and end are already documented in the schema. The description adds no per-parameter meaning beyond a general 'date range' framing and the 1999 floor, so the baseline of 3 applies.

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 resource and scope: daily exchange rate history between currencies over a date range, with the data source (ECB reference rates, back to 1999) and the derived fields returned (period change, high, low). That is enough for an agent to distinguish it from a current-rate conversion tool, though it never names a sibling explicitly.

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?

Gives concrete use cases (charts, backtests, invoices, trend questions) that make the historical/range-based intent obvious. It stops short of stating when NOT to use it or pointing to an alternative such as a live conversion tool, so it is clear context without exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.