Skip to main content
Glama

get_fx_rates

Read-onlyIdempotent

ECB reference FX rates. GET /x402/fx-rates?base=&symbols= — $0.01.

Input Schema

NameRequiredDescriptionDefault
baseYesBase currency, e.g. USD
paymentNoOptional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base or Solana), or an MPP 'Authorization: Payment ...' value. Omit on a first call: the tool then returns the live 402 challenge to pay against. This server relays your proof upstream and retries; it never creates or settles payments itself.
symbolsYesComma codes, e.g. GBP,EUR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive. The description adds a trait annotations do not carry — a $0.01 price and the upstream EBC source — which is genuinely useful, but it omits the paywalled first-call/challenge behavior and any rate limits, leaving the payment nuance to the schema's payment parameter.

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?

Three compact fragments with the purpose front-loaded; nothing is padded. The raw URL template is slightly awkward but is the only marginal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 should say what a caller gets back (base→quote rate pairs), which it only gestures at. The complex payment handshake is covered in the schema, so the gap is moderate rather than severe.

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 schema already documents base, symbols, and the full x402 payment flow. The description's '?base=&symbols=' template merely restates parameter names and adds no format or validation detail beyond the schema, so the baseline 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?

Names the specific resource and its upstream source ('ECB reference FX rates') and pins the exact endpoint path, so it is distinguishable from get_crypto_prices and get_btc_fees without opening the schema. There is no explicit verb, but the GET route makes retrieval unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement of when to call this versus get_crypto_prices or get_btc_fees, no exclusions, and no prerequisite context such as the fact that unpriced first calls return a challenge. Usage must be inferred entirely from the name and endpoint.

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