Skip to main content
Glama

sodax_get_amm_pool_candles

Read-only

Get OHLCV candlestick chart data for an AMM pool

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesREQUIRED: End timestamp (unix seconds)
fromYesREQUIRED: Start timestamp (unix seconds)
formatNoResponse format: 'json' for raw data or 'markdown' for formatted textmarkdown
poolIdYesThe pool contract address or ID
chainIdYesChain ID where the pool is deployed (e.g., 'sonic')
intervalYesREQUIRED: Candle interval

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Start timestamp (unix seconds)"New value: +"REQUIRED: Start timestamp (unix seconds)"
    • changedInput schema / properties / interval / description
      Previous value: -"Candle interval (e.g., '1h', '4h', '1d')"New value: +"REQUIRED: Candle interval"
    • addedInput schema / properties / interval / enum
      Added value: +[
      +  "1m",
      +  "5m",
      +  "15m",
      +  "1h",
      +  "4h",
      +  "1d"
      +]
    • changedInput schema / properties / to / description
      Previous value: -"End timestamp (unix seconds)"New value: +"REQUIRED: End timestamp (unix seconds)"
    • changedInput schema / required
      Previous value: -[
      -  "chainId",
      -  "poolId"
      -]New value: +[
      +  "chainId",
      +  "poolId",
      +  "interval",
      +  "from",
      +  "to"
      +]
  2. Added

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows it's a safe read. The description adds no additional behavioral context such as pagination, response format, or error behavior. It simply restates the tool's purpose without detailing any side effects or caveats.

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?

The description is a single, focused sentence that avoids fluff. It is appropriately short, though it could arguably include a bit more context. It is front-loaded and efficient.

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?

Given the read-only annotations, complete schema, and no output schema, the description is minimally sufficient but lacks usage context and alternative differentiation. It states the resource but does not clarify when to choose this over related getters, making it complete only in a basic sense.

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%, with detailed descriptions for all six parameters, including enums and defaults. The description itself does not add parameter-level details beyond what the schema already provides, so it meets the baseline of 3.

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?

The description clearly states it retrieves OHLCV candlestick data for an AMM pool, using a specific verb and resource. It distinguishes from sibling tools like get_amm_positions or get_orderbook by focusing on chart/candle data.

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 offers no guidance on when to use this tool over alternatives. It does not mention any prerequisites, use cases, or exclusions. Sibling tools exist but no differentiation is provided.

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.