Skip to main content
Glama
Coinversaa

Coinversaa Pulse

Official
by Coinversaa

Order Book Stop Map (L4)

book_stop_map
Read-onlyIdempotent

Bucket untriggered stop and take-profit orders by distance from mid price in 0.25% steps to show where size may fire and nearest triggers within a chosen range.

Instructions

Answers: where are the stops, and how much size fires if price gets there? Buckets every untriggered stop / take-profit order by distance from mid in 0.25 % steps, out to within_pct, reporting per bucket the count, size, reduce-only share, stop vs take-profit split and side split — plus totals below and above mid, the nearest trigger each side, and how many sit beyond the window. Example: 'what is stacked under BTC within 2 %?' — book_stop_map('BTC', within_pct=2) and read totals_below plus the negative buckets. Note totals_below / totals_above / nearest_* always cover EVERY trigger on the coin, while buckets is the within_pct window. 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.
within_pctNoHalf-width of the bucketed window, in percent of mid. The stored map always covers ±10 %; this slices it.
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.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial non-obvious traits: snapshot-derived, refreshed every 60s, latest-only with no history, as_of_height semantics, and an instruction to check age_s before citing. It also flags case-sensitivity ('btc' will 404) and the Pro-tier requirement — well beyond what annotations convey.

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 organized, leading with the question it answers and the summary, then the example, then the important window-vs-totals caveat and freshness notes. Nearly every sentence carries load, though the paragraph is long and could be tightened without losing meaning.

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?

For a snapshot tool with no output schema, the description explains both what is returned and how to read it (totals vs buckets, nearest triggers, beyond-window counts) plus freshness (age_s, as_of_height) and addressability constraints. 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 baseline is 3, but the description adds genuine meaning: the totals_below/totals_above/nearest_* fields always cover every trigger while `buckets` is limited to the within_pct window, which clarifies how the parameters interact with the output. The case-sensitivity and spelling guidance is largely repeated from the schema, capping it at 4.

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?

Opens with a direct question the tool answers ('where are the stops, and how much size fires if price gets there?') then states the specific operation: bucketing untriggered stop/take-profit orders by distance from mid in 0.25% steps. It explicitly positions itself against the sibling market_orderbook ('the aggregated L2 view; this is the L4 one'), so an agent can distinguish them.

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?

Provides a concrete usage example ('what is stacked under BTC within 2%?' with the exact call and which fields to read) and clarifies the L4-vs-L2 relationship. It does not enumerate hard when-not conditions or other alternatives, but the context is clear enough to route correctly.

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