Skip to main content
Glama

Kalshi orderbook

kalshi_orderbook
Read-onlyIdempotent

Live Kalshi v2 L2 orderbook depth & slippage simulator: pass ticker (default KXELONMARS-99) for YES/NO ladders, implied YES asks from NO bids, spread bps, OBI, and fill slippage. $0.002 per call over x402 or X-API-Key. Not advice.

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": "kalshi_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizesNoComma-separated USD sizes (default 100,500,2500).
tickerNoKalshi market ticker (default KXELONMARS-99).
paymentNosigned x402 payment payload (PAYMENT-SIGNATURE).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description contributes real extra context: a per-call price of $0.002, the x402 or X-API-Key payment paths, and a 'not advice' disclaimer. It stops short of describing latency, freshness or how the payment field interacts with the API-key header.

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?

One dense sentence front-loads the resource and outputs, followed by the cost model and disclaimer. Every clause carries information, though the packed acronyms (L2, OBI, bps) make it harder to parse than a plain statement would be.

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 three-parameter read-only tool with full schema coverage and no output schema, most of what an agent needs is present, including price and payment modes. It is still somewhat under-explained on how the payment payload is supplied and what the response for each output field looks like.

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 is 3. The description does add meaning by tying ticker to YES/NO ladder derivation and by noting default sizes and default ticker, but it doesn't clarify formats beyond what the schema says, and 'OBI' is left as an undefined acronym.

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 concrete verb and resource: live Kalshi v2 L2 orderbook depth with a slippage simulator, plus the exact derived outputs (YES/NO ladders, implied YES asks from NO bids, spread bps, OBI, fill slippage). The purpose is unmistakable; the only gap is that it never contrasts itself with siblings like kalshi_scanner or polymarket_orderbook.

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 is only implied: pass a ticker to get ladders and slippage for that market, with defaults documented. There is no explicit when-to-use vs when-to-use-alternative routing (for example, scanner for discovery vs this for depth) and no stated exclusions.

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