Skip to main content
Glama
Kraken MCP Connector

Kraken MCP Connector

Get order book

get_book
Read-onlyIdempotent

Fetch a trading pair's order-book snapshot with bids and asks sorted best-first, up to 500 levels per side, to inspect market depth and liquidity.

Instructions

Order-book snapshot (bids and asks) for a pair, up to 500 levels per side, best prices first.

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": {
      "pair": "<pair>"
    },
    "name": "get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairYesTrading pair, e.g. "BTC/USD", "ETHEUR", "XBTUSDT". Separators and case do not matter.
depthNoLevels per side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint, so the safety profile is fully covered. The description adds useful behavior not in the schema: result ordering (best prices first) and the 500-level cap. It still says nothing about rate limits, auth, or snapshot staleness, so this is solid-but-not-rich.

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?

A single front-loaded sentence with no filler; every clause (snapshot, both sides, cap, ordering) carries information. It is a fragment rather than a full sentence, but that costs nothing here.

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?

With only 2 well-documented params, dense annotations, and no output schema, the description covers what the agent needs: what is returned (bids/asks), how much (up to 500/side), and in what order. The only real gap is the absence of any sibling-routing guidance.

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 both parameters (pair with its format rules, depth with default and bounds) are already documented by the schema. The description's 'up to 500 levels per side' only echoes the schema's depth maximum, adding no new meaning beyond it.

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?

States a specific verb+resource (order-book snapshot for a pair) and even specifies content (bids/asks) and scope (up to 500 levels per side). It does not distinguish itself from close siblings like get_spread or get_ticker, which also return current-market data, so an agent must infer the difference.

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

Usage Guidelines2/5

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

No when-to-use guidance, no exclusions, and no alternatives named among the many sibling market-data tools. The purpose implies market-depth retrieval, but nothing tells the agent when get_book is preferred over get_spread, get_ticker, or get_trades.

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