Skip to main content
Glama

fx_rate

Currency exchange rates and conversion from the European Central Bank: about 30 currencies, latest or any date since 1999, several target currencies in one call. Paid via x402 ($0.0033 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).

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

Input Schema

NameRequiredDescriptionDefault
toYesTarget code(s), comma-separated (e.g. MXN or USD,MXN,JPY); "*" for all.
dateNoYYYY-MM-DD (since 1999-01-04); omit for the latest fixing.
fromNoBase ISO 4217 code (default EUR), e.g. USD.
amountNoAmount of `from` to convert (default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does unusually well: it discloses the paid x402 model, the exact per-call price and chain options, that invalid input is rejected without charge, the 3/day per-IP free-trial mechanics, and that responses include asOf and source. It stops short of describing rate limits on paid calls, error shapes, or response field structure beyond two named fields.

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 capability before cost, and every clause carries information (source, scope, batching, price, trial). The payment sentence is dense and its nested parentheses are unbalanced ('Base mainnet (also Polygon, Arbitrum and Solana))'), which slightly hurts readability but not comprehension.

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?

Complete for a four-parameter, no-output-schema tool: all parameters are documented in the schema, and the description supplies the commercial and failure context an agent needs before calling. The remaining gap is return-shape detail — only asOf and source are named, with no indication of how the rate/converted amount is represented.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: that multiple target codes can be supplied in a single paid call (batching semantics), and that date omission yields the latest fixing versus any date back to 1999. It adds no detail on amount/from interaction or conversion versus raw-rate behavior.

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 (currency exchange rates and conversion) plus the authoritative source (European Central Bank), the scope (~30 currencies, dates since 1999), and a distinctive capability (multiple target currencies in one call). An agent can distinguish this from fiat-unrelated siblings such as crypto_price or funding_rates without opening the schema.

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?

The description implies usage contexts (latest fixing vs. historical date, batch conversion of several targets) and discloses the payment/trial conditions, but it never says when to prefer this tool over an alternative or when not to use it. Guidance is implicit rather than an explicit use/exclude rule.

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