Skip to main content
Glama

fx

fx

Currency exchange rates and conversion: latest official European Central Bank reference rates for ~30 fiat currencies (USD, EUR, GBP, JPY, SEK, ...). Convert an amount from one currency to one or more others. Price: $0.001 USDC per successful call (x402).

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

Input Schema

NameRequiredDescriptionDefault
toYesComma-separated ISO 4217 codes, e.g. EUR,SEK
fromYesISO 4217 code to convert from, e.g. USD
amountNoAmount to convert (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does a creditable job: it discloses the upstream provider (ECB official reference rates), the coverage ceiling (~30 fiat currencies), that one call can fan out to multiple target currencies, and a concrete cost of $0.001 USDC per successful call via x402 — a material payment/auth detail an agent must know before invoking. It does not say how fresh the rates are (ECB publishes on a daily cadence), what happens on an unsupported currency code, or whether failed calls are billed.

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?

Three sentences, zero waste: capability first, then the convert operation, then pricing. Each sentence adds distinct information (source and coverage / operation / cost), and the commercial detail is placed last where it does not obstruct the primary purpose.

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?

For a 3-parameter tool with full schema coverage and no output schema, this is close to sufficient: source, currency universe, batch capability, and price are all disclosed. The remaining gap is return-value shape and rate freshness — since there is no output schema, the description is the only place an agent could learn whether it receives a rate map, a converted amount, or both, and that is unaddressed.

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%, with both `to` and `from` documented as ISO 4217 codes and `amount` documented as defaulting to 1, so the schema already does the heavy lifting and the 3 baseline applies. The description adds real semantic value on one point — that `to` accepts multiple currencies in a single call ('one or more others') — but does not add format rules (rounding/precision, decimal handling for `amount` as a string) 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?

The description names a specific verb and resource — 'Convert an amount from one currency to one or more others' backed by 'latest official European Central Bank reference rates' — so the agent knows exactly what data and operation it gets. Sibling names (token, gas, balance) are finance-adjacent but none is a currency-conversion tool, so no explicit contrast is needed; the only minor gap is that it never states which sibling to prefer for crypto pricing.

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?

Usage is implied rather than stated: the agent can infer 'call this when you need a fiat FX rate or conversion.' The '~30 fiat currencies' and 'European Central Bank reference rates' phrasing implicitly excludes crypto pairs and non-ECB quotes, which is useful negative guidance, but there is no explicit when-to-use/when-not sentence or named alternative.

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