Skip to main content
Glama

Get trades file link (GET /trades)

get_trades_file
Read-onlyIdempotent

Return a time-limited download URL for a single executed-trades file. Use list_market_data (md_type=trades) 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. 5 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

A5/5.0
Behavior5/5

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

The description discloses that the download URL is time-limited, a behavioral trait not covered by the annotations. It also implicitly indicates the operation is read-only and idempotent, consistent with the hints. No contradictions are present.

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?

The description is a single, focused sentence that conveys purpose and prerequisite without unnecessary elaboration. Parameter descriptions are also concise and directly relevant. The structure is optimally organized for a tool with six parameters.

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 the presence of an output schema and the clear description of purpose and prerequisite, the tool definition is complete. The description covers all necessary operational aspects, and the context signals indicate no missing information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All six parameters are described with meaningful details beyond the field names. For example, slug is specified as the exact filename from list_market_data, and exchange lists concrete venue examples. Timeframe includes a note about venue-dependent omission, adding practical guidance.

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 returns a time-limited download URL for a single executed-trades file, distinguishing it from sibling tools that handle other file types. The verb 'Return' is precise, and the reference to list_market_data clarifies the intended usage context.

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?

The description explicitly instructs to use list_market_data (md_type=trades) first to obtain the exact slug, providing a clear precondition and workflow. This effectively tells the user when and how to invoke the tool, leaving no ambiguity about the prerequisite step.

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