Skip to main content
Glama

fx_history

Read-only

$0.002 via x402: Historical currency exchange rates: daily European Central Bank (ECB) reference rates for a currency pair over the last N business days (up to 365): {from, to, days, series:[{date, rate}], source}. Pay 0.002 USDC through https://store.agentexchange.work/gw/fx/history?from=EUR&to=USD&days=30. Via the Agent Exchange store gateway; settled by Coinbase.

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

Input Schema

NameRequiredDescriptionDefault
toYesto
daysNo1..365, default 30
fromYesfrom
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the materially important facts beyond them: the call is metered at 0.002 USDC via x402, must be settled through a named gateway by Coinbase, and returns the price rather than data when unpaid. Data provenance (ECB) is also disclosed.

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?

Compact and front-loaded with the price, then purpose, then invocation detail. The response-shape fragment and the trailing gateway attribution are slightly dense but each carries useful information; nothing is filler.

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?

No output schema exists, yet the description sketches the return payload (from, to, days, series of date/rate, source) and fully covers the payment requirement, so an agent knows both what it gets and what it costs. Nothing needed to invoke it correctly is missing.

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 window is counted in business days and capped at 365, and it enumerates the shape of the returned series. The from/to fields themselves gain no extra semantics beyond the schema.

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 ECB reference rates for a currency pair over the last N business days (max 365), plus the response shape. The word 'Historical' implicitly separates it from rate/convert siblings, but no sibling is named, so differentiation relies on inference.

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 clear usage context: this is a paid ($0.002) call reached through a specific gateway URL, with the exact query string pattern shown. It does not say when to prefer a sibling such as fx_rates or fx_convert instead, so alternatives remain unaddressed.

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.