Skip to main content
Glama

Token price chart

get_token_chart
Read-only

Price history line for one Solana token over a period (5m to 365d). Use to describe a trend. Prices are USD; period defaults to 1d. Choosing between the two price tools: get_token_chart returns a ready-to-read price line for describing a trend; get_token_ohlcv returns raw open/high/low/close/volume candles for calculation and technical analysis. Prefer the chart unless you need per-candle numbers.

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": {
      "token_address": "<token_address>"
    },
    "name": "get_token_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoWindow of history: 5m, 15m, 1h, 1d (default), 7d, 30d, 90d or 365d.1d
token_addressYesSolana token mint address (base58). Get it from search_tokens or a leaderboard row.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / period / title
      Removed value: -"Period"
    • removedInput schema / properties / token_address / title
      Removed value: -"Token Address"
    • removedInput schema / title
      Removed value: -"get_token_chartArguments"
  2. Changed4 schema fields changed
    • removedInput schema / properties / network
      Removed value: -{
      -  "const": "solana",
      -  "default": "solana",
      -  "title": "Network",
      -  "type": "string"
      -}
    • addedInput schema / properties / period / description
      Added value: +"Window of history: 5m, 15m, 1h, 1d (default), 7d, 30d, 90d or 365d."
    • addedInput schema / properties / period / enum
      Added value: +[
      +  "5m",
      +  "15m",
      +  "1h",
      +  "1d",
      +  "7d",
      +  "30d",
      +  "90d",
      +  "365d"
      +]
    • addedInput schema / properties / token_address / description
      Added value: +"Solana token mint address (base58). Get it from search_tokens or a leaderboard row."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context the annotations do not: prices are denominated in USD and the return is a 'ready-to-read price line' rather than raw candles. It does not mention that idempotentHint=false (data changes between calls) or how much history is returned, leaving a small gap.

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?

Front-loaded with the core purpose, then parameter notes, then the sibling comparison – a sensible ordering with no filler sentences. There is mild redundancy between the opening 'Use to describe a trend' and the later 'for describing a trend' in the comparison clause.

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?

For a two-parameter read-only chart tool with an output schema present, the definition covers purpose, selection against the nearest alternative, units, and default behavior. Nothing an agent needs in order to call it correctly is missing.

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% and the schema already documents the full enum and the 1d default, so the description's restatement of the period range and default largely duplicates structured data. The one genuine addition beyond the schema is the unit 'Prices are USD', which the schema does not state. Baseline 3 for high coverage applies.

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?

States a specific verb and resource ('Price history line for one Solana token') plus the governing parameter range ('5m to 365d'). It explicitly distinguishes itself from the closest sibling, get_token_ohlcv, and implicitly from get_token_price, so an agent can choose without opening a schema.

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?

Gives an explicit when-to-use ('Use to describe a trend'), names the alternative tool by name, defines what that alternative is for (candles for calculation and technical analysis), and ends with a default rule: 'Prefer the chart unless you need per-candle numbers.' This is the full when/when-not/alternative triad.

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