Skip to main content
Glama
SakethSripada

KalTrader MCP

kalshi_get_order_queue_positions

Read-only

Check resting order queue positions to see how many contracts must match before yours trades, using price-time priority.

Instructions

Get Queue Positions for Orders Endpoint for getting queue positions for all resting orders. Queue position represents the number of contracts that need to be matched before an order receives a partial or full match, determined using price-time priority. Calls GET /portfolio/orders/queue_positions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subaccountNoSubaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
event_tickerNoEvent ticker to filter by
market_tickersNoComma-separated list of market tickers to filter by
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, establishing safety. The description adds conceptual context (price-time priority for queue position) and the GET endpoint, but does not disclose pagination, response structure, or default subaccount behavior beyond schema. With annotations covering safety, this is adequate but not rich.

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?

Two sentences with useful definition, but the first sentence contains redundancy ('Get Queue Positions for Orders' then 'for getting queue positions'). Still, it is front-loaded and not overly verbose.

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?

The description covers the core concept, endpoint, and scope (all resting orders), which is sufficient for a read-only query with optional filters. No output schema exists, but the description doesn't explain return shape; nevertheless, the combination of annotations and schema provides enough context for most use cases.

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% with clear descriptions for all three optional parameters. The description does not add parameter-specific guidance, which is acceptable given high coverage; it only states the general purpose of all resting orders.

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 clearly states the tool fetches queue positions for all resting orders, with a specific verb and resource. It differentiates from singular variants by specifying 'all resting orders' and also defines the meaning of queue position, leaving no ambiguity about its function.

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?

The phrase 'all resting orders' implies the tool is for querying all orders rather than a specific one, but it does not explicitly mention alternatives such as the singular get_order_queue_position tool or specify when to use filtering parameters. Guidance is implied, not explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SakethSripada/KalTraderMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server