Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

get_live_fx_rates

Read-onlyIdempotent

Fetch on-chain and regulated-exchange FX quotes for 8 pairs with bid/ask/mid, ECB deviation, and thin-liquidity flags so agents can compare live rates and sizes.

Instructions

utilpeek: Use when an agent needs on-chain EUR/GBP/MXN/BRL/CAD/SGD/ZAR/IDR vs USD or exchange quotes for 8 pairs, not ECB. For the ECB fix or a past date use get_fx_rates. Returns on-chain FX bid/ask/mid with deviation vs ECB; indicative quotes from a regulated exchange for EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, EURGBP, EURJPY (exchange_quotes). USDCHF/EURGBP/EURJPY exchange-only; USDCAD also on-chain. exchange_gaps compares matching mids (%). Indicative, not dealable or synchronized arbitrage. Pools cached 15 s; thin/errors reported. Exchange cache 60 s; stale quotes kept at most 300 s. Fetch age only; no venue timestamp. Exchange-only empty: 503 exchange_unavailable (not charged). Unknown pair: 422 (not charged). Typically 2 to 4 s (two chain reads). Price: USD 0.002. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/live-fx-rates-api.html

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

Input Schema

NameRequiredDescriptionDefault
pairsNoPairs in market convention, for example EURUSD (USD per EUR) or USDMXN (MXN per USD). Omit for every supported pair. Exchange quotes cover EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, EURGBP and EURJPY. USDJPY, AUDUSD, USDCHF, EURGBP and EURJPY are exchange-only; EURUSD, GBPUSD and USDCAD also have configured on-chain pools. An unknown pair is a 422 that lists the supported ones.
amount_usdNoReference trade size in USD for the price-impact measurement, 100 to 100000 (default 1000). A pair whose impact at this size is 1% or more is listed under `thin`.

Output Schema

NameRequiredDescriptionDefault
thinNo
blockNo
chainNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
pairsNo
cachedNo
errorsNo
methodNo
licenceNo
small_usdNo
timestampNo
amount_usdNo
disclaimerNo
indicativeNo
exchange_gapsNo
exchange_noteNo
exchange_quotesNo
exchange_omittedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: discloses pool cache 15 s, exchange cache 60 s with stale quotes retained up to 300 s, that quotes are indicative and not dealable or synchronized arbitrage, and that fetch age is reported without a venue timestamp. Error behavior (503 exchange_unavailable and 422 unknown pair, both uncharged), typical latency of 2–4 s, price, and the free daily quota are all stated.

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?

Front-loaded with the 'Use when' condition and the alternative, and nearly every sentence carries a distinct fact (caching, errors, latency, cost). It is somewhat dense and repeats pair-coverage details already in the schema, which costs it a point.

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?

Output schema exists, so return values need no explanation; the description still covers source coverage, staleness semantics, failure modes, billing, and latency. Nothing an agent needs to decide or call correctly 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 the schema already documents pairs, market convention, defaults, and the `thin` threshold. The description's pair-coverage restatement duplicates schema text rather than adding syntax or format meaning beyond it, so the baseline 3 applies.

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+resource with full scope: on-chain EUR/GBP/MXN/BRL/CAD/SGD/ZAR/IDR vs USD plus exchange quotes for 8 pairs, and explicitly distinguishes itself from the ECB-based sibling. An agent can tell it apart from get_fx_rates without opening either schema.

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

Usage Guidelines5/5

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

Explicit routing rules: use here for live/on-chain quotes, use get_fx_rates for the ECB fix or a past date. It also names which pairs are exchange-only versus dual-source, which drives selection at the pair level.

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