Skip to main content
Glama

get_candles

Retrieve OHLCV candles for any market. Specify symbol, interval in minutes (1, 5, 15, 60, 240, or 1440), and limit up to 500 candles to analyze price trends.

Instructions

OHLCV candles for a market.

Args: symbol: e.g. 'HYPE', 'ETH' interval: minutes per candle — 1, 5, 15, 60, 240, or 1440 (1d) limit: number of candles back from now (max ~500)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
intervalNo60
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses max limit value and interval options, but does not mention rate limits, auth requirements, or error behavior.

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?

Very concise with no extraneous text. Uses a clean list structure for parameters, making it easy to parse.

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

Completeness4/5

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

Has output schema so return format need not be described. Covers required parameters and gives usage examples. Lacks edge-case handling but adequate for a data retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% description coverage; description fully compensates by explaining each parameter: symbol examples, interval values and meaning, limit meaning with max constraint.

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 returns 'OHLCV candles for a market', and provides parameter details (symbol, interval, limit) that distinguish it from sibling tools like get_ticker or get_orderbook.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains parameters with examples and constraints (max ~500 candles), but does not explicitly state when to use vs alternatives or when not to use. Implicit from context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xDegenMo/lighter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server