Skip to main content
Glama

True Markets Market Data

get_price_history

Read-onlyIdempotent

Get historical price data for one or more tokens. Returns timestamped price points. No authentication required.

Input Schema

NameRequiredDescriptionDefault
windowNoLookback period (e.g. `1h`, `4h`, `1d`, `7d`, `1M`).
symbolsNoComma-separated list of asset symbols (e.g. `SOL,BTC,ETH`).
asset_idsNoComma-separated list of backend asset IDs. Mutually exclusive with `symbols`: exactly one of the two is required, and naming both is a 400.
resolutionNoGap between consecutive data points (e.g. `5s`, `1m`, `5m`, `1h`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / asset_ids
      Added value: +{
      +  "description": "Comma-separated list of backend asset IDs. Mutually exclusive with `symbols`: exactly one of the two is required, and naming both is a 400.",
      +  "type": "string"
      +}
    • changedInput schema / properties / resolution / description
      Previous value: -"Interval between points: 5s, 1m, 5m, 1h, 1d (default: 5m)"New value: +"Gap between consecutive data points (e.g. `5s`, `1m`, `5m`, `1h`)."
    • changedInput schema / properties / symbols / description
      Previous value: -"Comma-separated asset symbols (e.g., SOL,BTC,ETH)"New value: +"Comma-separated list of asset symbols (e.g. `SOL,BTC,ETH`)."
    • changedInput schema / properties / window / description
      Previous value: -"Lookback period: 1h, 4h, 1d, 7d, 1M (default: 1d)"New value: +"Lookback period (e.g. `1h`, `4h`, `1d`, `7d`, `1M`)."
    • changedInput schema / required
      Previous value: -[
      -  "symbols"
      -]New value: +[]
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds two useful non-annotation facts: no authentication is required and the response is timestamped price points. It still says nothing about series size, pagination, rate limits, sort order, or units/quote currency, which matter for a time-series read.

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?

Three short sentences, all earning their place, with the primary purpose front-loaded before the return shape and the auth note. No filler or redundancy.

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?

No output schema exists, so the description should carry more of the return-value burden; 'timestamped price points' is a start but omits ordering, point count limits, and units. Against a dense sibling set the lack of routing guidance leaves a real gap.

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 baseline is 3. The description only reinforces that multiple tokens are accepted; it adds no format or interaction detail (e.g. resolution vs window interplay) beyond the schema's own text.

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?

Clear verb+resource ('Get historical price data for one or more tokens') and it names the return shape ('timestamped price points'). However, it never distinguishes itself from near-neighbours in the sibling set such as get_price_range, get_price_at_time, get_candles, or get_perp_market_history, all of which sound like the same job.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus alternatives, even though the sibling list contains at least four plausible substitutes (get_price_range, get_price_at_time, get_candles, get_price_indicators). The only usage constraint present (symbols vs asset_ids mutual exclusion) lives in the schema, not the description.

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.

Resources