Skip to main content
Glama
SakethSripada

KalTrader MCP

kalshi_get_market_candlesticks

Read-only

Fetch candlestick OHLC data for a specific Kalshi market. Specify series, ticker, time range, and interval (1, 60, 1440 minutes) to analyze price trends.

Instructions

Get Market Candlesticks Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day). Candlesticks for markets that settled before the historical cutoff are only available via GET /historical/markets/{ticker}/candlesticks. See Historical Data for details. Calls GET /series/{series_ticker}/markets/{ticker}/candlesticks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_tsYesEnd timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
tickerYesMarket ticker - unique identifier for the specific market
start_tsYesStart timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
series_tickerYesSeries ticker - the series that contains the target market
period_intervalYesTime period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
include_latest_before_startNoIf true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and `previous_price` to the close price from the real candlestick
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description does not contradict this. It adds the useful behavioral nuance about historical data availability, which is meaningful context beyond the annotations. However, it does not describe response format or rate limits, but the bar is lower with readOnlyHint present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is fairly concise but awkwardly phrased, e.g., 'Get Market Candlesticks Time period length of each candlestick in minutes.' It mixes purpose and parameter details in the opening, and the structure could be clearer. Still, it contains only essential information, though redundancy with the schema exists.

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?

With no output schema, the description should ideally explain what the response contains. It does not describe OHLCV fields or pagination, but it does note the historical cutoff and provides a link for details. Given the tool's simplicity and read-only nature, this is adequate but not complete.

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 schema carries full parameter details. The description repeats the period_interval valid values (1, 60, 1440) without adding new meaning. It does not introduce any additional parameter semantics beyond what the schema already provides.

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?

The description clearly states the tool gets market candlesticks for a specific market via a concrete endpoint, providing a specific verb and resource. It does not explicitly differentiate from sibling tools like kalshi_batch_get_market_candlesticks, though the name and endpoint imply single-market scope.

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?

Explicitly provides an alternative for historical data: 'Candlesticks for markets that settled before the historical cutoff are only available via GET /historical/markets/{ticker}/candlesticks.' This tells the agent when NOT to use this tool and where to go instead, which is strong guidance.

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