Skip to main content
Glama

SiteCheck Crypto & Finance

Coinbase Exchange order book for one product: best bid

crypto_coinbase_orderbook
Read-only

Coinbase Exchange (US spot) order book for one product: best bid and ask, spread, USD depth within 1% and 2% of mid (aggregated level-2 levels only), 24h base volume, 24h RFQ (institutional request-for-quote) volume, last price and 24h high/low. Coinbase Exchange data only, not Coinbase Advanced or other venues. Related tools on this server, for a different need: crypto_coinbase_candles when you need Coinbase Exchange OHLCV candles for one product at 1m, 5m; crypto_coinbase_exchange_products when you need Coinbase Exchange trading products with status and minimum. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "product": "<product>"
    },
    "name": "crypto_coinbase_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesCoinbase product id such as BTC-USD or ETH-USD

Output Schema

NameRequiredDescriptionDefault
lastNo
low24hNo
sourceNo
bestAskNo
bestBidNo
high24hNo
open24hNo
productNo
midPriceNo
checkedAtNo
spreadPctNo
bookSequenceNo
volume24hBaseNo
volume30dBaseNo
depthWithin1pctNo
depthWithin2pctNo
rfqVolume24hBaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description must carry the rest, and it does: it discloses the aggregation caveat ('aggregated level-2 levels only'), the USD-denominated depth semantics, and a per-call price of $0.002 with x402/USDC payment and no charge for failed calls. That payment and data-granularity context is genuinely beyond the annotations, though it does not describe rate limits, latency, or failure modes beyond billing.

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?

Front-loaded with the resource and the enumerated payload, then alternatives, then cost. No filler sentences; every clause carries a distinct fact (fields, venue scope, sibling routing, billing). Dense but the semicolon-delimited lists keep it scannable.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't specify return structure, and it supplies venue scope, grain of aggregation, alternatives, and cost. The only minor gap is that it does not state whether depth is a snapshot or streaming/time-bound, which matters for an order-book reader, but that is largely an output-schema concern.

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?

Only one parameter, and its schema description is 100% covered ('Coinbase product id such as BTC-USD or ETH-USD'). The description reinforces the single-product scope but adds no syntax, casing, or normalization rules beyond what the schema already supplies, 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 pair ('order book for one product') and enumerates the exact fields returned: best bid/ask, spread, USD depth within 1% and 2% of mid, 24h base volume, 24h RFQ volume, last price, 24h high/low. It also explicitly scopes the venue ('Coinbase Exchange data only, not Coinbase Advanced or other venues'), which distinguishes it from the sibling crypto_binance_orderbook_depth without inspecting 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?

Names concrete alternatives with the condition that selects them: crypto_coinbase_candles 'when you need Coinbase Exchange OHLCV candles' and crypto_coinbase_exchange_products 'when you need Coinbase Exchange trading products with status and minimum'. Combined with the venue exclusion ('not Coinbase Advanced or other venues'), the agent has both positive routing and a when-not boundary.

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