Skip to main content
Glama

get_price_trends

Analyze token price trends with momentum and moving averages to gauge market direction and inform swap or trading decisions.

Instructions

Get price trend analytics for a token including momentum and moving averages.

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_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenIdYesToken contract ID

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 behavioral burden and falls well short. It says nothing about the time window, sampling granularity, which moving-average periods are computed, data freshness, or whether the result is a series or a single summary object — all things an agent needs to interpret a trend response.

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?

One front-loaded sentence with no filler, and the differentiating detail (momentum, moving averages) is placed where it will be read. Its brevity is a virtue, though it borders on under-specification rather than tightness.

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?

For an analytics tool with no output schema and no annotations, the definition omits everything about the result shape and the temporal scope that defines a 'trend'. The single-parameter schema is simple enough to be adequately described, but the behavioral surface is not covered.

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?

There is a single required parameter with full schema description coverage, so the schema already documents tokenId as the token contract ID. The description adds only the loose phrase 'for a token' and contributes no format, range, or identifier-source detail beyond the schema.

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 (Get) and resource (price trend analytics) and names the concrete outputs it covers, momentum and moving averages, which separates it from a plain price lookup. It stops short of distinguishing itself from close siblings such as get_price_history or get_price_aggregated, so an agent must still guess which price-series tool is right.

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?

No when-to-use guidance and no named alternative. With siblings like get_price_history, get_price_aggregated, get_token_price and get_prices in the catalog, the definition gives no signal about which one an agent should reach for when it wants trends versus raw history versus a spot price.

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