Skip to main content
Glama

Agent Data Tools: Prices and DeFi

fx

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. Costs $0.002 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON 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

A4/5.0
Behavior4/5

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

Annotations already disclose readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false. The description adds crucial behavioral context not in the annotations: the exact cost ($0.002 in USDC on Base per successful call) and payment protocol (x402), plus the data source (ECB) and what the response contains (rates, converted amounts, applicable 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?

The description is front-loaded with what the tool does, followed by usage guidance and cost information. It is efficient with no redundant sentences, though the cost sentence could be considered slightly separate from the core purpose.

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 explains the return values (rates, converted amounts, date the rates apply to) and the payment model. Annotations cover the safety profile, and the description fills in the remaining behavioral and data-source details. An agent has everything needed to call the tool 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 the input schema already documents all three parameters thoroughly. The description restates that a base currency is required and target currencies and amount are optional, but adds no new semantic detail beyond the schema (e.g., no format hints or default behavior clarification beyond what is already in 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 clearly states the resource (foreign exchange rates from the ECB for ~30 major currencies) and the operation (give base currency, get rates and converted amounts). It does not explicitly distinguish itself from any sibling tool, though its domain is unique among the provided siblings.

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 usage contexts: 'Use for currency conversion, invoice and price calculations, and reporting in another currency.' It does not state when not to use the tool or name any alternatives, but it provides enough context for an agent to select it confidently.

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