Skip to main content
Glama

x402_exrates_get_v1_coinbase_pair

Fetches the live Coinbase spot ticker for a specified crypto pair so agents can retrieve exchange rates for pricing or trading tasks.

Instructions

exrates — Real-time crypto exchange tickers aggregated from Coinbase, Kraken, Bitstamp, Gemini, KuCoin. Use when an agent needs live spot prices across venues. [GET /v1/coinbase/{pair}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/coinbase/BTC-USD

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_exrates_get_v1_coinbase_pair"
  }
}

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.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does disclose genuinely useful non-schema behavior: the call costs $0.005 USDC and is payable on four eip155 chains, which tells the agent this is a paid operation. It says nothing about payment failure handling, whether the price is latched before or after the call, rate limits, or how the 'restart'/'operationId' retry contract in the schema interacts with a charged call — a material gap for a paid GET.

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 purpose, then usage, then endpoint/price/example — a sensible ordering with little waste. The pricing fragment 'eip155:8453+137+42161+480' is terse to the point of being cryptic, but the example at the end usefully closes the loop.

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 paid, nested-schema GET with no annotations and no output schema, the definition leaves the return shape and field names entirely unexplained, and does not describe the payment/retry flow implied by 'restart' and 'operationId'. Endpoint and price are covered, but an agent still cannot anticipate the response or recover from a failed paid call from this text alone.

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 point by supplying information the schema does not: the schema only exposes generic body/query/restart/operationId objects, whereas '/v1/coinbase/BTC-USD' shows the actual pair argument and its BASE-QUOTE format. It still says nothing about which query parameters are meaningful for this endpoint.

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/resource — real-time crypto exchange tickers for a specific venue — and pins the exact endpoint via '[GET /v1/coinbase/{pair}]' plus the BTC-USD example. It falls short of full sibling differentiation because the prose ('aggregated from Coinbase, Kraken, Bitstamp, Gemini, KuCoin') reads as venue-agnostic boilerplate shared with the kraken/bitstamp/gemini pair siblings, so only the URL path reveals that this is the Coinbase-specific endpoint.

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?

'Use when an agent needs live spot prices across venues' gives a usage context, but 'across venues' actively muddies the choice versus the sibling per-venue tools, since this endpoint returns one venue. There is no when-not guidance, no statement of how it relates to the aggregated or OHLC/order-book siblings, and no note that a paid call is involved in selection.

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