Skip to main content
Glama
Coinversaa

Coinversaa Pulse

Official
by Coinversaa

Order Book Summary (L4)

book_summary
Read-onlyIdempotent

Summarizes L4 order book depth and imbalance: returns touch prices, spread in bps, and per-side size, order, and wallet counts within 0.5–10% of mid. Use to compare bid vs ask liquidity.

Instructions

Answers: how deep and how lopsided is this book right now? Returns touch prices, spread in bps, and per side the size / order count / distinct wallet count within 0.5, 1, 2, 5 and 10 % of mid (nested bands, not rings), plus near- and far-band imbalance, the number of orders resting at the touch, their median age, and the share of them that are post-only. Example: 'is HYPE's bid side thinner than its ask side inside 1 %?' — book_summary('HYPE') and compare bid.bands vs ask.bands. 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.
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.4/5.0
Behavior4/5

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

On top of the readOnly/idempotent/openWorld annotations, the description discloses that results are snapshot-derived, refreshed every 60s, latest-only with no history, that as_of_height is the L1 block of truth, and that age_s should be checked before citing. It also flags Pro-tier gating. The main omission is expected response shape, which is partly covered by the field enumeration.

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?

It is a long description but dense and front-loaded with the core question and the return enumeration before the caveats. Most sentences earn their place, though the coin-spelling warning is somewhat duplicative of the schema.

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 carries the return-value burden and does so by naming the bands, imbalance metrics, and touch statistics an agent will actually receive. Combined with the freshness and interpretation guidance, an agent has everything needed to call and correctly cite it.

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 coverage is 100%, so both parameters are already documented, including the case-sensitive coin spelling, the 404 on 'btc', and the spot-pair exclusion. The description largely restates this, adding the nuance that the value is 'passed through unchanged', which is marginal. Baseline 3 applies when the schema carries the detail.

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 the exact question the tool answers ('how deep and how lopsided is this book right now?') and then enumerates the specific outputs: touch prices, spread in bps, per-side size/count/wallets in nested bands, imbalance, and post-only share. It explicitly distinguishes itself from the sibling 'market_orderbook' by labeling this the L4 view versus the aggregated L2 one.

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?

It gives a concrete worked example ('is HYPE's bid side thinner than its ask side inside 1 %?'), names the alternative tool and the condition that separates them (L4 vs L2), and states the refresh cadence and latest-only constraint so the agent knows when the answer is valid. Nothing about when to reach for this tool is left to inference.

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