Skip to main content
Glama

get_market_history

Fetch a historical time series of daily market-level snapshots (overall market sentiment, not a single ticker). Call this when the user asks how the overall market mood/regime has trended over time, wants to chart market α-sentiment / z-score over a window, or needs a range of daily market snapshots to compute averages or momentum.

Optional: days (1-1000, default 30; tier may cap lower). For a single ticker's history use get_ticker_history instead.

Tier caps on days: free=7, alpha=365, pro=730, enterprise=1000. The date parameter (end-date anchor) is only honored for enterprise tier — for all other tiers it is silently ignored and the window always ends at the most recent available snapshot.

Returns: array of daily market snapshots (oldest first), each with snapshot_date plus all standard MarketSnapshot fields. Response also reports tier_cap, effective_days, start_date, end_date and date_param_honored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate in YYYY-MM-DD format. Omit for latest.
daysNoNumber of historical days to return, counting back from the anchor date. Tier-capped: free=7, alpha=365, pro=730, enterprise=1000. Requests above the cap are silently capped.
version_infoNoWhen true, include version metadata in the response: both version_num (the revision number) and version_label (a human-readable label like "eod_utc" for the initial end-of-day build, or "revised" when a later-indexed podcast triggered a regeneration). When false (the default), neither field is included. Note: the snapshot generation "status" field is ALWAYS returned regardless of this flag.
snapshot_typeNoAsset universe to draw the snapshot from. Currently only "crypto" is available; "tradfi" is reserved for a future release. Defaults to "crypto".crypto

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden. It discloses significant traits: the `date` parameter is silently ignored for non-enterprise tiers, `days` is tier-capped and silently capped above the cap, snapshots are returned oldest first, and response metadata includes `tier_cap`, `effective_days`, `start_date`, `end_date`, and `date_param_honored`. This is thorough and candid.

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 dense but well-organized: purpose and usage in the first paragraph, parameter caveats in the second/third, and a clear return-value statement. Every sentence provides necessary information, and the structure makes the important caveats (tier caps, date ignoring) easy to spot.

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 tool's complexity—tier caps, date behavior, return format—and the absence of an output schema, the description is complete. It explains what the response contains (array of daily snapshots with `snapshot_date` and standard `MarketSnapshot` fields, plus metadata fields) and covers all critical edge cases. It doesn't need to re-explain parameters already well-documented in the schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by explaining the `date` parameter's enterprise-only behavior ('silently ignored' on other tiers) and by restating the `days` range and default in operational context. It relies on the schema for `version_info` and `snapshot_type`, which is acceptable given the schema's own detailed descriptions.

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 opens with a specific verb and resource: 'Fetch a historical time series of daily market-level snapshots.' It immediately clarifies scope ('overall market sentiment, not a single ticker') and explicitly distinguishes itself from a sibling by saying 'For a single ticker's history use get_ticker_history instead.' This makes the tool's purpose unmistakable.

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 gives explicit when-to-use guidance: 'Call this when the user asks how the overall market mood/regime has trended over time, wants to chart market α-sentiment / z-score over a window, or needs a range of daily market snapshots to compute averages or momentum.' It also names the alternative tool for single-ticker histories, and explains tier-specific behaviors affecting usage.

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

A3.9/5.0
Disambiguation5/5

Every tool targets a distinct resource and data aspect: episode details, quotes, transcript, summary, market snapshots, ticker history, user feeds, etc. Even the 'full' composite variants are clearly described as one-call conveniences that bundle granular data, so there is no real ambiguity about which tool to use.

Naming Consistency5/5

All 23 tools follow a consistent 'get_<entity>_<detail>' pattern using lowercase snake_case. This uniformity makes the tool names predictable and mentally indexed, with no mixing of verb styles or naming conventions.

Tool Count3/5

With 23 tools, the server sits in the 'heavy' range (16–25) and feels a bit bloated. The breadth of resources justifies many endpoints, but several composite 'full' versions and overlapping history functions inflate the count and could be consolidated without losing capability.

Completeness4/5

The read-only surface covers core workflows well: episode-level detail, podcast discovery, market-wide snapshots/history/themes, ticker-specific data/leaderboards, and user personalization. Minor gaps include no way to enumerate all supported tickers or podcasts beyond search, and no direct episode list by date without going through the market endpoint.

Resources