Skip to main content
Glama

x402_fxrate_get_v1_rates

Fetch live fiat and crypto exchange rates and convert amounts by base and quote currencies for pricing, settlement, or portfolio calculations.

Instructions

fxrate — Live FX + crypto rates and conversions (fiat via ECB-sourced API, crypto via CoinPaprika) [GET /v1/rates] $0.005 USDC on eip155:8453. Example: /v1/rates?base=USD&quote=EUR,GBP&amount=100&crypto=BTC,ETH

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": "x402_fxrate_get_v1_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does a fair job: it names the HTTP endpoint, the two upstream providers, and the exact price ($0.005 USDC on eip155:8453), which matters for a paid x402 call. It omits response shape and error/payment-failure behavior, but the schema's restart/operationId descriptions partially cover retry semantics.

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?

A single dense line: name, purpose, provenance, endpoint, price, and a concrete example in that order. No sentence is filler and the differentiating information is front-loaded.

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?

There is no output schema, so the description should signal what comes back — rate fields, conversion results, or error shapes — and it says nothing about returns. Parameters and retry semantics are covered by the schema, but a paid conversion tool leaves the agent guessing about response format and failure handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns a bump: the query schema is a generic open object with no named properties, and the example is the only place that names the real parameters (base, quote, amount, crypto) and shows the comma-separated multi-value convention. It does not explain body or the restart/operationId interaction beyond what the schema already says.

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 and resource: live FX and crypto rates plus conversions, with upstream provenance (ECB-sourced fiat API, CoinPaprika crypto). That distinguishes it from the ECB- and NYFed-only rate siblings listed, though it never names an alternative explicitly.

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?

The description supplies an example call showing base/quote/amount/crypto, which implies usage, but gives no when-to-use or when-not guidance. An agent cannot tell from this text whether to prefer it over the ECB or NYFed rate tools for plain fiat lookups.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools