Skip to main content
Glama

Inspect DeepBook orderbook

read_inspect_deepbook_orderbook
Read-only

Fetch a pinned-SDK DeepBook mainnet orderbook snapshot at fetchedAt for review or evidence; it returns a point-in-time view, not a live stream.

Instructions

Return a pinned-SDK DeepBook mainnet orderbook snapshot at fetchedAt. Not a live stream.

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": {
      "poolKey": "<poolKey>"
    },
    "name": "read_inspect_deepbook_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticksNo
poolKeyYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.5

TDQS

B3.4/5.0
Behavior4/5

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

The annotations only tell the agent that this is a read-only, open-world call, so the description has to carry the rest, and it does add real context: the data comes from a pinned (versioned, deterministic) SDK, covers mainnet, and is a point-in-time snapshot rather than a stream. This tells the agent the data may go stale and should not be treated as current. It does not say whether the call is rate-limited or what freshness 'fetchedAt' actually means, but on the whole it adds more than the annotations do.

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?

Two short sentences, with the resource and the snapshot nature stated first. Nothing is padded. The only waste is the 'fetchedAt' reference, which points at an unnamed field and makes the agent stop to work out what it means.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema exists, so return values need not be explained, and the annotations cover the safe-read profile. Still missing is anything about the 'ticks' depth limit, what 'poolKey' accepts (a pool id, a pair name, or a sibling tool's output), or when to choose this over the mid-price and quote siblings. For a two-parameter, open-world network read, that leaves real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description has to explain both parameters, and it explains neither: 'ticks' (1-50, presumably depth levels) and 'poolKey' (which pool) are never mentioned. It also refers to 'fetchedAt,' which is not an input field, so an agent could waste a call passing it as a parameter. The description adds no parameter meaning beyond the input schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: returns a DeepBook mainnet orderbook snapshot from a pinned SDK. It distinguishes itself from a streaming feed, though it never contrasts itself with the sibling price tools such as read_get_deepbook_mid_price or read_quote_deepbook_action. The reference to 'fetchedAt' is clear enough as a timestamp concept but is not a field in the input schema.

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?

The only guidance is the negative 'Not a live stream,' which tells the agent what this is not but never states when to call it instead of a mid-price, quote, or history tool. Usage is therefore implied by the name and the word 'snapshot' rather than stated. No prerequisites or conditions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.