Skip to main content
Glama
Coinversaa

Coinversaa Pulse

Official
by Coinversaa

Order Book Levels (L4)

book_levels
Read-onlyIdempotent

Inspect per-level order book depth to see total size, order count, distinct wallets, and oldest order age per bid/ask level, revealing whether a level is real depth or one wallet.

Instructions

Answers: what does the depth ladder look like, with the detail L2 throws away? The top price levels per side, best-first, each with total size, order count, DISTINCT WALLET count and the age of the oldest order on it — so a level held by one wallet's single order is distinguishable from the same size spread across twenty. Example: 'is SOL's 3rd bid level real depth or one wallet?' — book_levels('SOL', depth=5) and read bids[2].wallets. Snapshot-derived: refreshed every 60 s, latest-only (no history), and as_of_height is the L1 block the answer is true at — check age_s before citing it. market_orderbook remains the aggregated L2 view; this is the L4 one. Coin is case-sensitive in the node's own spelling (BTC, xyz:GOLD, #28200) and is passed through unchanged — 'btc' will 404. Pro tier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYesCoin in the node's own spelling, CASE-SENSITIVE: BTC, HYPE, xyz:GOLD, cash:TSLA, #28200. Not normalized — 'btc' returns 404. Use list_markets to discover exact spellings. Spot pairs (names containing '/', e.g. PURR/USDC) are not addressable on this route.
depthNoPrice levels returned per side.
useToonFormatNoReturn data in compact toon format (default: true). Set to false for standard JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover readOnly/idempotent/destructive, but the description adds substantial behavioral context beyond them: 60 s refresh cadence, latest-only with no history, the meaning of as_of_height at the L1 block, the caution to check age_s before citing, and the Pro-tier requirement. This is rich disclosure layered on top of annotations.

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?

Dense but front-loaded: the answer to 'what does this provide' leads, followed by the example, then caveats. Every sentence carries information, though the em-dash-heavy prose is slightly heavy for the payload.

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?

With no output schema, the description compensates by naming the returned fields (total size, order count, DISTINCT WALLET count, oldest-order age, as_of_height) and the freshness constraint. An agent has everything needed to call and interpret it correctly.

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 schema already documents coin, depth, and useToonFormat, giving a baseline of 3. The description adds value by showing depth=5 in a worked example and pointing to bids[2].wallets, tying the parameter to the returned structure rather than merely restating it.

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 concrete verb+resource (top price levels per side, best-first) and explicitly contrasts with the aggregated L2 view via 'market_orderbook remains the aggregated L2 view; this is the L4 one'. An agent can distinguish this from siblings without opening the 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?

Explicitly names the alternative (market_orderbook) and the condition selecting this tool, plus a concrete use case ('is SOL's 3rd bid level real depth or one wallet?'). The L2-vs-L4 routing is spelled out.

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