Skip to main content
Glama
Kraken MCP Connector

Kraken MCP Connector

Get recent spreads

get_spread
Read-onlyIdempotent

Retrieve recent best bid/ask spread samples for a trading pair to analyze bid-ask gaps and market liquidity over time.

Instructions

Recent best bid/ask spread samples for a pair (time, bid, ask).

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

Input Schema

NameRequiredDescriptionDefault
pairYesTrading pair, e.g. "BTC/USD", "ETHEUR", "XBTUSDT". Separators and case do not matter.
limitNo
sinceNoUnix timestamp (seconds) to start from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and open-world, so the safety profile is fully covered. The description adds the return-shape (time, bid, ask) but says nothing about how far back 'recent' reaches, rate limits, or pagination behavior.

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 tight sentence with the resource front-loaded and zero filler. It is efficient, though its brevity borders on under-specification rather than model conciseness.

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?

For a read-only market-data tool with no output schema, the enumeration of the tuple fields is useful, but 'recent' is undefined and limit semantics are absent. Annotations carry the safety burden, yet the temporal scope of the query remains unclear.

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?

The description adds no parameter meaning at all; pair and since are documented only by the schema (67% coverage), and limit has no description anywhere. Since the description neither compensates for the uncovered limit param nor clarifies range/ordering semantics of 'since', it falls below the baseline.

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 and resource ('recent best bid/ask spread samples') and enumerates the returned fields (time, bid, ask), so the agent knows this differs from a full orderbook or ticker read. However, it never explicitly differentiates against siblings like get_book or get_ticker, leaving the distinction implicit.

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?

The description gives no when-to-use guidance, no alternatives, and no exclusions. An agent choosing between get_spread, get_book, and get_ticker gets no routing help beyond the surface wording.

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