Skip to main content
Glama

fx_rates

Read-only

$0.002 via x402: Currency exchange rates: European Central Bank (ECB) daily reference rates for the latest published day, rebased to any base currency (EUR by default; USD, GBP, JPY, CNY, CHF and the other ECB currencies): {base, date, rates:{USD:..., JPY:...}, count, source}. Reference rates published once per business day, not trading quotes. Pay 0.002 USDC through https://store.agentexchange.work/gw/fx/rates?ba

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_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNo3-letter code, default EUR
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.6/5.0
Behavior5/5

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

Annotations only say readOnly/openWorld, but the description discloses the paid x402 flow (0.002 USDC, endpoint URL, and that the unpaid call returns the price), plus the data vintage constraint that rates update once per business day. That is exactly the kind of cost, auth, and staleness context annotations cannot carry.

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 price then purpose, and the inline return shape is efficient. It loses a point for restating the 0.002 price twice (opening and closing sentence) and for a truncated endpoint URL that wastes tokens without being usable.

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?

With no output schema, the description supplies the response shape itself, and it covers the payment prerequisite, the base-currency degree of freedom, and the once-per-business-day vintage. An agent has everything needed to call it and interpret the result correctly.

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 earns more by enumerating supported base currencies (EUR default, USD, GBP, JPY, CNY, CHF and other ECB currencies) and by explaining what x_payment does when omitted. The trailing endpoint string is garbled ('?ba'), so the practical detail on the payment parameter is less than it could be.

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: ECB daily reference rates for the latest published day, rebased to any base currency, with an inline shape {base, date, rates, count, source}. The clause 'Reference rates published once per business day, not trading quotes' separates it from live-quote siblings such as fx_convert without needing the schemas.

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?

It gives clear selection context: only the latest published business day, ECB source, not trading quotes. What's missing is any explicit routing against named siblings (e.g. fx_history for past dates, fx_convert for arithmetic conversion), so the agent must infer the boundary from the cadence statement.

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.