Skip to main content
Glama

Get candles file link (GET /candles)

get_candles_file
Read-onlyIdempotent

Return a time-limited download URL for a single OHLCV candles file. Use list_market_data (md_type=candles) first to get the exact slug filename.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format.
slugYesExact filename from list_market_data, including extension.
tickerYesTicker, e.g. btc.
expiresNoURL lifetime in seconds (default 900).
exchangeYesVenue: kalshi, polymarket, predict, limitless, deribit, binance.
timeframeNoTimeframe, e.g. 15 or 1h (omitted for some venues).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNo
slugNo
expires_inNo
download_urlNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, and open-world safety. The description adds 'time-limited' and the prerequisite workflow, but does not elaborate on error conditions or URL format, which is acceptable given the strong annotations.

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

Conciseness5/5

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

Two well-structured sentences convey the essential information without redundancy. The description is efficient and focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists and annotations cover safety, the description sufficiently explains the tool's purpose, prerequisite workflow, and a key behavioral aspect (time-limited). No critical information is missing for an agent to correctly invoke this tool.

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?

The schema provides complete descriptions for all six parameters. The description adds only minimal extra context (e.g., 'exact' slug), so it does not significantly enhance parameter understanding beyond what the schema already offers.

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 action (return a URL), the specific resource (OHLCV candles file), and the distinguishing prerequisite (use list_market_data first). It effectively differentiates from generic download tools.

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 instructs to call list_market_data first to obtain the exact slug, providing clear usage context. Also mentions the 'time-limited' nature of the URL, which is important behavioral 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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool targets a distinct purpose: four file download tools are differentiated by data type (candles, orderbook, surface, trades), with a generic fallback for exact keys. list_market_data handles browsing, and profile/subscription tools are clearly separate.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern: get_* for retrieval actions and list_* for browsing. The naming is uniform and predictable, with no mixing of conventions.

Tool Count5/5

8 tools is well-scoped for a market data server covering file downloads, catalog browsing, and user account details. Each tool serves a clear role without redundancy or bloat.

Completeness5/5

The tool surface fully covers the domain: users can browse the entire catalog hierarchically and download every file type via dedicated tools, with a generic fallback. Account and subscription info are also included. No obvious gaps exist for the stated purpose.

Resources