Skip to main content
Glama

defillama_coin_chart

Read-only

Fetch coin price points at a regular interval: span sets the number of points (0 to 500) and period sets the spacing (1m through 12M). Pass start or end for an explicit window, never both. Use defillama_coin_prices for a single current quote, or defillama_coin_percentage for the change over a window.

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": {
      "coins": "<coins>"
    },
    "name": "defillama_coin_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoOptional latest UNIX timestamp in seconds; mutually exclusive with start.
spanNoOptional number of data points, 0 to 500 (the upstream maximum).
coinsYesComma-separated {chain}:{address} coin list.
startNoOptional earliest UNIX timestamp in seconds; mutually exclusive with end.
periodNoOptional spacing: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d, 2d, 3d, 1w, 2w, 3w, 1M, 2M, 3M, 6M, or 12M.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / end / description
      Previous value: -"Optional latest UNIX timestamp in seconds."New value: +"Optional latest UNIX timestamp in seconds; mutually exclusive with start."
    • changedInput schema / properties / period / description
      Previous value: -"Optional spacing: 1h, 1d, 2d, 1w, or 3w."New value: +"Optional spacing: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d, 2d, 3d, 1w, 2w, 3w, 1M, 2M, 3M, 6M, or 12M."
    • changedInput schema / properties / span / description
      Previous value: -"Optional number of data points, 0 to 1000."New value: +"Optional number of data points, 0 to 500 (the upstream maximum)."
    • changedInput schema / properties / start / description
      Previous value: -"Optional earliest UNIX timestamp in seconds."New value: +"Optional earliest UNIX timestamp in seconds; mutually exclusive with end."
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and non-idempotent, so the safety profile is covered structurally. The description adds the mutual-exclusivity constraint on start/end and the span/period relationship, which is useful behavioral context, though it says nothing about pagination, rate limits or ordering.

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 tight sentences, zero filler, with the core behavior and parameter semantics front-loaded before the sibling routing guidance. Every clause earns its place.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain return values. Combined with full schema coverage, an agent has everything needed to call this correctly.

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% and already documents each parameter, so the baseline is 3. The description goes slightly beyond by framing what span and period jointly control (point count vs. spacing) and restating the start/end constraint in prose, adding cohesive meaning rather than repetition alone.

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 ('Fetch coin price points at a regular interval') and immediately distinguishes this from the two most likely confusable siblings, defillama_coin_prices and defillama_coin_percentage. An agent can select it without opening any 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?

Explicitly names alternatives and the conditions that select them: prices for a single current quote, percentage for the change over a window. It also states the start/end exclusivity rule ('never both'), leaving nothing to inference.

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.