Skip to main content
Glama

Agent Data Hub

Live crypto order book (bids/asks, spread, depth)

crypto_orderbook
Read-onlyIdempotent

Live level-2 order book for a crypto trading pair (BTC-USD, ETH-USDC, SOL-USD…; a bare symbol means -USD): top 1-100 bid and ask levels (price, size, order count), best bid/ask, mid, spread and spread in bps, total size and notional per side within the depth, and bid/ask imbalance (-1..1). Source Coinbase Exchange public market data, 5 s cache. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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": {
      "pair": "<pair>"
    },
    "name": "crypto_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairYesTrading pair BASE-QUOTE, e.g. BTC-USD, ETH-USDC, or a symbol (SOL)
depthNoLevels per side 1-100 (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description goes well beyond them: Coinbase Exchange as the source, a 5 s cache, $0.002 per call with the first 10 free per day. Cost and caching behavior are exactly the operational facts an agent needs before calling repeatedly, and they are stated plainly.

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?

Content is front-loaded with purpose followed by returned fields, source, and pricing, and every clause carries information. The long parenthetical lists ("BTC-USD, ETH-USDC, SOL-USD…" and the field enumeration) make it dense but not padded.

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?

There is no output schema, so the description carries the return-value burden and discharges it fully by enumerating each field, including the -1..1 imbalance range and per-side notional. Combined with the 5 s cache and pricing, an agent has everything needed to call and interpret results.

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 would be 3, but the description adds real meaning: a bare symbol implies -USD normalization, and depth is described as levels per side out of the top 1-100. That resolves the only genuine ambiguity in the pair parameter.

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?

The description opens with a specific verb+resource ("Live level-2 order book for a crypto trading pair") and enumerates the exact returned fields (bid/ask levels, best bid/ask, mid, spread, bps, notional, imbalance). This clearly separates it from price/ticker siblings, which only offer a single quote rather than depth.

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?

Usage context is implied by the data offered (depth and imbalance suit microstructure analysis) and by naming the source and cost model, but there is no explicit when-to-use or when-not-to-use statement and no sibling is named as an alternative. An agent must infer that crypto_price or crypto_ticker is the cheaper choice for a single quote.

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