Skip to main content
Glama

Fx Rates

fx_rates
Read-only

Currency exchange rates and conversion for about 30 currencies (USD, EUR, GBP, INR, JPY, CNY ...) from the European Central Bank reference rates of the latest working day. Costs USD 0.001 per call, paid with x402 (USDC on Base); calls that fail are not charged.

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
baseNoBase currency, default USD
amountNoAmount to convert (default 1)
symbolsNoComma-separated, e.g. EUR,INR (default: all)

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 declare readOnly, openWorld, non-idempotent, non-destructive, so the safety profile is covered; the description adds genuinely new behavior: pricing of USD 0.001 per call, x402/USDC-on-Base payment requirement, and that failed calls are not charged. It still leaves the response shape and any rate limits or caching behavior unstated.

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?

Two tight sentences with zero filler: capability and data source first, cost and payment terms second. Every clause earns its place, and the pricing caveat is placed where it is read before invocation.

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?

With no output schema, the description could have sketched the returned rate structure, but for a three-optional-parameter lookup it covers source, freshness, coverage, and payment sufficiently. Only the return-value shape is missing.

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 coverage is 100%, so base, amount, and symbols are already documented, and the description only reinforces symbols semantics by enumerating supported currencies. It adds no format or edge-case guidance (e.g., unsupported currency handling) beyond the schema.

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 concrete scope: about 30 currencies with named examples, ECB reference source, and 'latest working day' recency. An agent immediately knows what data it gets and how fresh it is.

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 (you need a rate or a conversion) and the per-call price signals this is a paid, metered lookup, but there is no explicit when-to-use or when-not-to-use guidance and no named alternative for historical or non-ECB rates. The agent must infer that this covers spot reference rates only.

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