Skip to main content
Glama
kraken-crypto-orderbook-mcp

kraken-crypto-orderbook-mcp

Get Kraken orderbook depth

get_kraken_orderbook
Read-onlyIdempotent

Retrieve live Kraken orderbook bid/ask levels, spread, and volume imbalance for a trading pair to assess market depth and short-term pressure.

Instructions

Retrieve top bid and ask levels from the live Kraken orderbook along with spread and bid/ask volume imbalance.

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_kraken_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairYesKraken trading pair (e.g. "XBTUSD", "ETHUSD").
depthNoNumber of price levels per side (default 10, max 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

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=false, so the safety profile is covered. The description adds value by disclosing the derived outputs (spread, volume imbalance) that are not obvious from an orderbook snapshot, but it says nothing about snapshot-vs-stream behavior, rate limits, or error handling for unknown pairs.

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 that names the resource, the data source, and the returned metrics with no filler. It is efficient, though slightly dense in the trailing clause about imbalance.

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 no output schema, the description usefully summarizes the return shape (top of book, spread, imbalance). For a simple two-parameter read tool with rich annotations and a fully described schema, this is close to sufficient, missing only notes on how 'depth' bounds the returned levels and behavior for invalid pairs.

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%, with both 'pair' (example formats, minLength) and 'depth' (default 10, max 50) fully documented in the schema itself. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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 uses a specific verb ('Retrieve') and resource ('live Kraken orderbook') and enumerates what comes back: top bid/ask levels, spread, and bid/ask volume imbalance. That clearly separates it from siblings like get_kraken_ohlc or get_kraken_recent_trades, though it never names a sibling explicitly.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives. An agent must infer from the word 'orderbook' that this is the tool for depth rather than ticker or OHLC data, which is only implied usage.

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