Skip to main content
Glama

get_price_history

Retrieve historical token price data over a specified period and interval to analyze price trends and market movements.

Instructions

Get historical price data for a token over a given period.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tokenId": "<tokenId>"
    },
    "name": "get_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoTime period (e.g. '24h', '7d', '30d')
tokenIdYesToken contract ID
intervalNoData point interval (e.g. '1h', '1d')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. Beyond the word 'historical' it says nothing about defaults for period/interval, maximum range limits, rate limits, pagination, or what a data point contains, which is thin for a time-series read tool with zero annotation coverage.

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

Conciseness4/5

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

A single front-loaded sentence with no filler or repetition. There is no waste, though also no structural elaboration such as a note on scope or alternatives.

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

Completeness2/5

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

With no output schema and no annotations, the description should clarify the shape of the returned series (price only vs OHLCV), default period/interval, and range limits. None of that is present, leaving an agent to call the tool without knowing what it gets back.

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 coverage is 100%, with every parameter described including example values for period and interval, so the schema already does the heavy lifting. The description adds no meaning beyond that — it merely restates 'over a given period' without clarifying defaults, supported ranges, or interval constraints.

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?

States a specific verb and resource — 'Get historical price data for a token' — with scope 'over a given period'. It does not, however, differentiate itself from close siblings such as get_price_aggregated, get_price_trends, or get_token_price, so an agent must infer which price tool fits.

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?

The description contains no when-to-use guidance, no prerequisites, and no mention of any alternative tool. An agent must open the schemas of several sibling price tools and guess which is intended for time-series retrieval.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.