Skip to main content
Glama

Kalshi perps: markets, leverage, funding and hours

kalshi_perps
Read-onlyIdempotent

Kalshi perps (CFTC-regulated US exchange): each market's leverage by size and side, margin rule, funding, hours, halts, rule changes; worst case and cost to hold. Use when the user asks: Kalshi leverage on X; when does Kalshi trade X; cost of a 3x NVDA long. Not for: Kalshi's BTC odds → get_perps_desk. Args: symbol; size_usd; leverage; side; limit.

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_perps"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNoCalculator: long or short.long
limitNoChange-log rows, newest first.
symbolNoOne Kalshi market by ticker or name (NVDA, BTC, Gold, US 500, WTI): leverage by size and side, funding, hours, holidays, liquidation levels and its own changes. Unset: every market by class.
leverageNoCalculator: leverage asked (2); cut to Kalshi's estimate at that size and side.
size_usdNoCalculator: position size in dollars (1000). Needs symbol and leverage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered; the description adds domain behavior the annotations cannot, namely that results include margin rules, funding, halt status, rule changes and computed worst-case/cost-to-hold. It does not disclose pagination of the change-log or response shape, which keeps it below a 5.

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?

Front-loaded with the resource and return payload, then usage triggers, then the boundary, then args — a sensible order with dense, purposeful phrasing. The closing bare 'Args:' list is redundant with a fully documented schema and is the only wasted content.

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 read-only lookup with five all-optional parameters and no output schema, the description is nearly complete: it says what data comes back and how to pick the tool. The only gap is that it never signals that calling with no arguments returns every market by class, which matters for a tool where required_parameters is zero.

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 description coverage is 100%, so the baseline is 3; the schema already explains symbol scoping, calculator semantics and the limit on change-log rows. The description's trailing 'Args: symbol; size_usd; leverage; side; limit' merely repeats parameter names, and the example 'cost of a 3x NVDA long' only loosely signals that symbol + leverage + side combine in the calculator.

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?

States a concrete resource (Kalshi perps on a CFTC-regulated US exchange) and enumerates exactly what it returns: leverage by size and side, margin rule, funding, hours, halts, rule changes, worst case and cost to hold. It also names the sibling it is not (get_perps_desk for BTC odds), so the agent can separate it from adjacent perps tools without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use triggers in the form of sample user utterances ('Kalshi leverage on X', 'when does Kalshi trade X', 'cost of a 3x NVDA long') plus an explicit exclusion with the correct alternative ('Not for: Kalshi's BTC odds → get_perps_desk'). Both routing directions are covered.

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.