Skip to main content
Glama

Crypto Bot Audit + Market Data (x402 paid)

Kraken pair specification

market_kraken_pair_spec
Read-onlyIdempotent

How Kraken itself defines a pair: base and quote, decimal precision, order size limits, the public leverage ladder and the first two fee tiers. Costs $0.001 USDC per call. Byte-identical to GET /market/kraken-pair-spec?pair=XXBTZUSD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairYesKraken pair key as stored by the venue (XXBTZUSD) [required]

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
lotNo
baseNo
noteNo
pairNo
foundNo
quoteNo
staleNo
caveatNo
reasonNo
sourceNo
statusNo
wsnameNo
altnameNo
costMinNo
orderMinNo
tickSizeNo
baseClassNo
marginCallNo
marginStopNo
quoteClassNo
leverageBuyNo
lotDecimalsNo
costDecimalsNo
leverageSellNo
pairDecimalsNo
lotMultiplierNo
longPositionLimitNo
shortPositionLimitNo

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": {
      +    "altname": {
      +      "type": "string"
      +    },
      +    "base": {
      +      "type": "string"
      +    },
      +    "baseClass": {
      +      "type": "string"
      +    },
      +    "caveat": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "costDecimals": {
      +      "type": "integer"
      +    },
      +    "costMin": {
      +      "type": "string"
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "leverageBuy": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "leverageSell": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "longPositionLimit": {
      +      "type": "integer"
      +    },
      +    "lot": {
      +      "type": "string"
      +    },
      +    "lotDecimals": {
      +      "type": "integer"
      +    },
      +    "lotMultiplier": {
      +      "type": "integer"
      +    },
      +    "marginCall": {
      +      "type": "integer"
      +    },
      +    "marginStop": {
      +      "type": "integer"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "orderMin": {
      +      "type": "string"
      +    },
      +    "pair": {
      +      "type": "string"
      +    },
      +    "pairDecimals": {
      +      "type": "integer"
      +    },
      +    "quote": {
      +      "type": "string"
      +    },
      +    "quoteClass": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "shortPositionLimit": {
      +      "type": "integer"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "tickSize": {
      +      "type": "string"
      +    },
      +    "ts": {
      +      "type": "string"
      +    },
      +    "wsname": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable context beyond annotations by disclosing the $0.001 USDC per-call cost and stating the result is byte-identical to a specific GET endpoint. This gives the agent concrete expectations about cost and response equivalence.

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?

The description is two sentences with no filler. The first sentence front-loads the core purpose and contents, and the second adds the two high-value practical details: cost and exact endpoint equivalence. Every clause earns its place.

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

Completeness5/5

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

For a single-parameter, read-only, idempotent tool with an output schema and full schema coverage, the description is complete. It discloses cost, endpoint equivalence, and the specific contents returned. Nothing essential is missing for an agent to decide whether to call it and how to invoke it correctly.

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?

The schema covers the single required parameter with a clear description and an example, so the description does not need to add much. It reinforces the parameter through the URL example pair=XXBTZUSD. This is a baseline-3 case: the schema carries the semantic load and the description adds no substantial new param meaning.

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 specifies the exact resource — Kraken's own definition of a pair — and enumerates its contents: base/quote, decimal precision, order size limits, leverage ladder, and fee tiers. It also cites the matching GET endpoint, which anchors the action as a read. This clearly separates it from sibling Kraken market tools like depth, ticker, OHLC, and trades.

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 guidance is given on when to call this tool versus alternatives such as market_kraken_depth, market_kraken_ticker, or pair-spec tools from other venues. The content list implies it is for pair metadata, but there is no explicit when-to-use or when-not-to-use instruction. The agent must infer the selection criteria.

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