Skip to main content
Glama

Beggar Bot

kalshi_orderbook

Kalshi orderbook: YES best bid/ask (ask derived from NO bids), spread, implied probability, depth, and simulated cost and average price to buy N YES or NO contracts. 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": "kalshi_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerNoKXBRENTD-26NOV0217-T107.00
contractsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description does disclose two valuable behavioral facts: the call is paid ($0.02 USDC via x402) and the ask is derived from NO bids rather than quoted directly. It does not explain the x402 payment mechanics, whether ticker is effectively required despite required=[], or what happens when contracts is omitted.

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 front-loaded sentence that opens with the resource name and packs the output fields and cost into a compact clause. The field list is slightly run-on but every element carries information.

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?

Coverage of return values is good enough to substitute for the absent output schema, and the cost is disclosed. But with no annotations and a schema that leaves ticker undocumented and the YES/NO choice unaddressed, an agent could still mis-invoke it.

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?

Schema coverage is 50% and the two schema descriptions are useless (a sample ticker string and the bare value '100'). The description clarifies that 'contracts' means N contracts for the simulation, but it never explains the ticker format or — critically — how the caller specifies YES versus NO, since no side parameter exists in the schema. That ambiguity is not resolved anywhere.

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?

Names the resource (Kalshi orderbook) and enumerates the specific outputs: YES best bid/ask, spread, implied probability, depth, and simulated cost/average price for N contracts. That distinguishes it from siblings like kalshi_market or kalshi_candles without naming them explicitly. The only weakness is that the retrieval verb is implied rather than stated.

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 statement of when to use this versus kalshi_market, kalshi_candles, or the many other *_orderbook_depth siblings. The agent must infer that this is the pricing/depth tool. No exclusions, prerequisites, or selection conditions are given.

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.