Skip to main content
Glama

get_fx_rates

Read-onlyIdempotent

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

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": {
      "base": "<base>",
      "symbols": "<symbols>"
    },
    "name": "get_fx_rates"
  }
}

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, Polygon 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. Changed1 schema field changed
    • changedInput schema / properties / payment / description
      Previous value: -"Optional. 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."New value: +"Optional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base, Polygon 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."
  2. 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 readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered without description help. The description does add genuinely useful non-annotation context: the upstream is ECB and each call costs $0.01, which matters for an agent budgeting calls. It says nothing about rate freshness, ECB publication cadence, or rate-limit behavior, all of which are relevant for a paid read.

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 short fragments, front-loaded with the resource and ending with the price, so the most decision-relevant facts arrive immediately. Nothing is padded, though the telegraphic style costs a little readability and the route fragment is largely redundant with the tool name and schema.

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?

For a simple three-parameter read tool, the essentials are present: the data source, the route shape, the cost, and the payment-challenge mechanics carried by the schema. With no output schema, the description should say something about what is returned (per-symbol rates? a single base-relative table?), and it does not.

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, symbols and payment are fully documented in the schema, establishing a baseline of 3. The description's '?base=&symbols=' fragment merely echoes the schema parameter names and adds no format, default, or edge-case detail beyond it.

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 states a specific resource and data source: 'ECB reference FX rates', with the exact route 'GET /x402/fx-rates?base=&symbols='. This is clearly distinguishable from sibling market-data tools like get_crypto_prices or get_btc_fees because it names ECB as the authority and FX as the asset class. It stops short of 5 only because it never uses an explicit verb phrase describing the retrieval action.

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?

There is no stated when-to-use guidance, no prerequisites, and no reference to any alternative. An agent must infer from the name alone that this is the fiat-FX tool rather than the crypto-price tool. The only operating instruction, the payment flow, lives in the schema rather than the description.

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