Skip to main content
Glama

Crypto Bot Audit + Market Data (x402 paid)

Kraken bid/ask spread history

market_kraken_spread
Read-onlyIdempotent

Quoted spread samples for a Kraken pair with the mean spread in basis points — how expensive it is to cross that venue right now. Costs $0.001 USDC per call. Byte-identical to GET /market/kraken-spread?pair=XBTUSD&limit=20.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairYesKraken pair as the venue spells it: XBTUSD, ETHUSD, SOLUSD [required]
limitNospread samples (max 500) (default 60)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
noteNo
pairNo
foundNo
staleNo
caveatNo
reasonNo
sourceNo
samplesNo
meanSpreadBpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "caveat": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "meanSpreadBps": {
      +      "type": "number"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "pair": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "samples": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "ts": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses a per-call cost of $0.001 USDC and states it is byte-identical to a specific GET endpoint, which is non-obvious and actionable. This does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each earning its place: what the tool returns, the cost, and the exact endpoint mapping. The core meaning is front-loaded before the cost and equivalence details.

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 an output schema present and only two parameters, the description covers the essential behavioral context: cost, endpoint identity, and what the metric means. It could add a word about the historical window implied by the title, but nothing critical is missing.

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 coverage is 100%, so the baseline applies; pair and limit are already described in the input schema. The endpoint example (pair=XBTUSD&limit=20) reinforces parameter syntax but adds no substantial meaning beyond what the schema provides.

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?

The description uses a specific verb and resource: 'Quoted spread samples for a Kraken pair' with the mean in basis points, telling the agent exactly what data it returns. The 'how expensive it is to cross that venue' phrase also separates it from related siblings like market_kraken_depth, market_kraken_ticker, and market_kraken_trades.

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?

It gives clear consumption context: this measures the cost to cross the venue now, so an agent can infer when it is relevant. It does not name alternatives or state when-not-to-use, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources