Skip to main content
Glama

Combined order book

orderbook
Read-onlyIdempotent

The order book for one pair merged across the streamed venues and aggregated by exact price: best bid and ask, the spread, and the dollars resting on each side in the top levels, with the venues holding each level. Use it for "where are the walls on BTC", "how deep is the bid", "what is the spread". Keyless reaches the free pairs at 5 levels; Starter any pair at 10; Pro 25. Descriptive market data only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinNoAlias for pair.
pairNoTrading pair, for example ETH/USD. A bare symbol like ETH is read as ETH/USD. Defaults to BTC/USD when omitted.
levelsNoPrice levels per side. Defaults to 10; the ceiling is 5 on the free plans, 10 on Starter, 25 on Pro (hard).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelsNoLevels per side returned.
summaryNoThe answer in one plain sentence, computed from the fields below. Open the reply with this, then let the numbers back it up. Null only when there was nothing to summarise.
best_askNoBest ask across venues.
best_bidNoBest bid across venues.
combinedNobids and asks aggregated by price, each level listing the venues holding it.
availableNoFalse when the pair is not covered, not in the free set on this plan, or has no snapshot.
spread_pctNoSpread as a percent of the ask.
per_exchangeNoEach venue's own top levels.
exchange_countNoVenues merged.
ask_usd_in_levelsNoDollars resting on the ask side in the returned levels.
bid_usd_in_levelsNoDollars resting on the bid side in the returned levels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / levels / description
      Previous value: -"Price levels per side. Defaults to 10; the ceiling is 5 keyless, 10 on Starter, 25 on Pro (hard)."New value: +"Price levels per side. Defaults to 10; the ceiling is 5 on the free plans, 10 on Starter, 25 on Pro (hard)."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: it explains the aggregation logic (merged across venues, aggregated by exact price), the plan-based level limits (free=5, Starter=10, Pro=25), and explicitly states 'Descriptive market data only' to prevent misuse. This goes beyond what annotations provide.

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?

The description is compact and front-loaded: it states the core function in the first sentence, gives example queries, then covers plan limits and the read-only nature. Every sentence earns its place, and the structure flows logically from what → when → constraints.

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?

The tool has an output schema, so return values are already documented. The description covers the key contextual gaps: aggregation behavior, plan-based level limits, and the read-only nature. It could mention pagination or the exact structure of the top levels, but the output schema likely covers that, and the description is sufficient for an agent to select and invoke the tool correctly.

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 description coverage is 100%, so the schema already documents all three parameters (coin, pair, levels) with their defaults and constraints. The description adds the plan-based level ceiling context, which complements the schema's 'hard' ceiling note, but does not substantially add meaning beyond the schema. Baseline 3 is appropriate.

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 states a specific verb ('merged', 'aggregated') and resource ('order book for one pair'), and distinguishes it from siblings by emphasizing the merged/aggregated nature across streamed venues. It also gives concrete example queries ('where are the walls on BTC', 'how deep is the bid', 'what is the spread'), making the tool's purpose unmistakable.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool via example questions, and implicitly distinguishes it from other market data tools by focusing on order book depth and spread. It does not explicitly name alternative tools or state when not to use it, but the examples and 'Descriptive market data only' caveat give adequate guidance.

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