Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Currency exchange rates, forex: currency converter and conversion

fx
Read-only

Foreign exchange rates from the European Central Bank for about 30 major currencies (USD, EUR, GBP, JPY, CHF, SEK, CAD, AUD, CNY, INR, BRL and more). Give a base currency, optionally the target currencies and an amount, and get the rates, the converted amounts and the date the rates apply to. Use for currency conversion, invoice and price calculations, and reporting in another currency. Example: from=USD. Price $0.002/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
toNoOptional comma-separated target currency codes, e.g. EUR,GBP; default is all available currencies
fromYesBase currency as a three-letter ISO 4217 code, e.g. USD
amountNoOptional amount of the base currency to convert (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld and non-destructive, and the description usefully adds the data source (ECB), a freshness signal ('the date the rates apply to'), and a detailed cost model ($0.002/call, first 25 free, failed calls free). That billing note also explains the non-obvious idempotentHint=false. The line 'reads or computes only and changes nothing' largely restates the annotations, and nothing is said about rate limits or staleness beyond the returned date.

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-loads source, scope and return shape, then usage, then pricing. Nothing is truly wasted, though 'reads or computes only and changes nothing' duplicates the annotations and the pricing sentence is dense.

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 still tells the agent what comes back (rates, converted amounts, and the date the rates apply to), where data originates (ECB) and how it is billed. For a three-parameter read tool that is sufficient to call it correctly.

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%, so from/to/amount, ISO 4217 format and comma-separated targets are already documented. The description restates the same facts (base currency, optional targets, amount, default all currencies) with only the from=USD example as added value, so the baseline of 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 verb+resource (fetch ECB foreign exchange rates, return converted amounts) plus scope (~30 major currencies, examples USD/EUR/GBP/JPY). The terse tool name 'fx' is fully disambiguated. It does not, however, contrast itself with the visible siblings fx_all and fx_symbols, leaving the agent to guess which of the three to pick.

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 concrete usage contexts ('currency conversion, invoice and price calculations, and reporting in another currency') and a worked example (from=USD). It stops short of explicit exclusions or routing to fx_all/fx_symbols, so the agent gets context but no negative guidance.

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.