Skip to main content
Glama

fx_history

Read-only

FX rate history and stats — Historical exchange rates between two currencies (ECB reference rates) with period change, high, low and average. Pass ?from=, ?to= and optional ?days= (2-365). Price: $0.003 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
toNoquote currency, default EUR
daysNooptional 2-365, default 30
fromNobase currency, default USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: the ECB as data source, the exact statistics returned, and a per-call price of $0.003 USDC via x402 — cost disclosure matters a lot for an agent deciding to call. It omits anything about rate limits, freshness/lag of ECB data, or error behavior for invalid currency codes.

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?

Two tight sentences, front-loaded with purpose and return shape, then call syntax, then price. Nothing is wasted, though the pricing sentence could be flagged more distinctly since it is a decision-relevant constraint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 usefully names the returned fields (change, high, low, average) and the data source, and covers all three optional parameters. But it never states the response structure (time series vs. a summary object), the granularity of history, or the currency-code format, which an agent needs to interpret results.

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 from/to/days, their defaults and the 2-365 range are already documented in the schema; the description's 'optional ?days= (2-365)' merely restates it. It adds no extra meaning such as accepted currency-code formats (ISO 4217?) or what happens with non-ECB-covered currencies. Baseline 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: 'Historical exchange rates between two currencies (ECB reference rates)' plus the metrics returned (period change, high, low, average). The word 'history' implicitly separates it from the sibling fx_rate, but no sibling is named explicitly, so it stops short of the top mark.

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?

Gives the required inputs ('Pass ?from=, ?to=') and the optional day window, which implies usage but never says when to choose this over fx_rate or crypto_history. There are no exclusions or alternative-selection cues, so guidance is only implied.

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