Skip to main content
Glama

kalshi_market_history

Read-only

Returns normalized Kalshi candlesticks for one market from credential-free public market-data JSON. ticker: Kalshi market ticker. series_ticker: Kalshi series ticker. Defaults from the market ticker when omitted. Use kalshi_markets_history to retrieve kalshi batch market history.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker": "<ticker>"
    },
    "name": "kalshi_market_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_tsNoUnix end timestamp in seconds.
tickerYesKalshi market ticker.
start_tsNoUnix start timestamp in seconds.
series_tickerNoKalshi series ticker. Defaults from the market ticker when omitted.
period_intervalNoCandlestick interval in minutes.
include_latest_before_startNoInclude the latest candle before start_ts when supported upstream.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds a genuinely new behavioral fact: the data comes from credential-free public JSON, so no auth is needed. It says nothing about rate limits, pagination, or upstream availability limits beyond the schema's 'when supported upstream' note.

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 what the tool returns and its scope, followed by the sibling alternative. It wastes some space repeating the schema's parameter definitions for ticker and series_ticker, but the total length is small.

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?

An output schema and full parameter descriptions are present, and annotations carry the safety profile, so the description only needs to establish scope and routing — which it does. Minor gaps remain around candlestick interval defaults and upstream availability caveats.

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 all six parameters are already documented. The description restates ticker and series_ticker almost verbatim from the schema, adding no syntax, format, or defaulting detail beyond what is structured — baseline 3 applies.

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 specific verb and resource — 'Returns normalized Kalshi candlesticks' — and pins the scope to 'one market', which separates it from the batch sibling. An agent can tell it apart from kalshi_markets_history without opening either schema.

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

Usage Guidelines4/5

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

Explicitly routes batch retrieval to kalshi_markets_history, giving a clear when-to-use-other rule. It does not address the other adjacent siblings (e.g. kalshi_historical_market_history, kalshi_market) or state prerequisites/exclusions for this tool, so it stops short of full 5-level guidance.

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.