Skip to main content
Glama

Beggar Bot

cex_spread_stats

Kraken recent bid-ask spread stats for a pair in bps: current, mean, median, p90, min/max over the latest window. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cex_spread_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNoe.g. SOLUSD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a genuinely important behavior: the call is paid ($0.02 USDC via x402). It omits other operational traits an agent would want — how long the 'latest window' is, what happens if pair is omitted, and any rate/error behavior.

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?

Two tight sentences, zero filler. The returned metrics are front-loaded and the payment caveat is placed last where it reads as a flag rather than burying the purpose.

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?

For a one-parameter, no-output-schema tool the description usefully enumerates the returned statistics and the cost, so an agent knows what it gets. The remaining gap is the undefined window length and default-pair behavior when the optional parameter is omitted.

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% and the single pair parameter is documented with an example format (SOLUSD), so the baseline is 3. The description adds the unit context (bps) but does not explain the notable behavior of the parameter being optional — nothing says which pair is used by default.

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: Kraken bid-ask spread stats for a pair, enumerated as current, mean, median, p90, min/max, with the unit (bps) given. The 'recent ... latest window' framing implicitly separates it from kraken_spread_history, but no sibling is named explicitly, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage context is only implied by 'recent' and 'latest window' — an agent can infer this is for a point-in-time spread snapshot rather than a historical series, but there is no explicit when-to-use/when-not statement or named alternative.

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.