Skip to main content
Glama

Ironflow: Hyperliquid data

Candles (OHLCV)

get_candles
Read-only

How has a Hyperliquid market's price moved? OHLCV candles of one market, built from every trade: open, high, low, close, volume and trade count per candle, oldest first. For only the current price use get_price; for individual trades use get_recent_trades.

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": {
      "market": "<market>"
    },
    "name": "get_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of candles to return (1-500, default 24)
marketYesMarket: BTC-PERP, xyz:NVDA-PERP, HYPE/USDC, or a Hyperliquid name (BTC, @107, xyz:NVDA)
intervalNoCandle interval (1m, 5m, 15m, 1h, 4h, 1d). Default: 1h

Output Schema

NameRequiredDescriptionDefault
dataNoOHLCV candles
noticeNoA note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key
paginationNoCursor pagination

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / notice / description
      Previous value: -"Present when the API added a note: how a market name was read, that data starts later than asked because of the history window, or a next step such as a free key"New value: +"A note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds real behavior beyond them: candles are aggregated from every trade (not sampled), include a trade count field, and are returned oldest first. It does not discuss the limit/truncation behavior when 500 candles are exceeded or latency/caching, which would be the remaining useful detail.

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?

Front-loaded with the question the tool answers, then the payload shape, then the routing sentence. Three short clauses, no repetition of the schema or annotations, nothing wasted.

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?

A read-only query tool with a fully described 3-parameter schema, an existing output schema, and annotations covering the safety profile. Purpose, aggregation source, ordering and sibling alternatives are all stated; nothing an agent needs 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 each parameter (limit, market, interval) carries its own description with ranges, defaults and accepted formats, so the baseline is 3. The description adds essentially no parameter-level meaning beyond implying one market per call and a fixed interval per candle; it does not add examples or interaction notes between limit and interval.

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?

"OHLCV candles of one market, built from every trade" names a specific verb+resource and enumerates exactly what each candle contains (open, high, low, close, volume, trade count) plus ordering (oldest first). The sibling-routing sentence separates it from get_price and get_recent_trades, so an agent can pick it 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?

Explicit when-not guidance with named alternatives: current price only → get_price, individual trades → get_recent_trades. This is the exact positive/negative routing pattern that removes ambiguity.

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.