Skip to main content
Glama

Hyperliquid OHLCV candles (perps and HIP-3 markets) with range, change and realized volatility

hl_candles

Use when an agent needs price history for a Hyperliquid perp or HIP-3 market (xyz:TSLA). Input: coin, interval (1m-1M, default 1h), limit (1-500, default 100), optional start/end (ISO date or unix). Output: JSON candles (time, open, high, low, close, volume, trades) plus summary: change %, high/low, volume, annualized realized volatility. Unknown coin: 400, not charged. Example: ?coin=ETH&interval=1h&limit=24 Price: $0.002 USDC (Base or Solana) via x402.

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": {
      "coin": "<coin>"
    },
    "name": "hl_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd time: ISO date/time or unix seconds/ms (default now)
coinYesHyperliquid perp symbol (BTC, ETH, kPEPE) or HIP-3 dex:COIN (xyz:TSLA). Not listed or delisted: 400 before payment (not charged)
limitNoNumber of candles, newest last (1-500, default 100)
startNoStart time: ISO date/time or unix seconds/ms (default end - limit x interval)
intervalNoCandle interval (default 1h)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does real work: it discloses the return payload (candles plus change %, high/low, volume, annualized realized volatility), the 400-not-charged failure mode for unknown coins, and the per-call price of $0.002 USDC via x402. It omits rate limits, pagination beyond the 500-candle cap, and whether payment is settled per request, which keeps this at adequate rather than strong.

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?

It is dense but front-loaded: trigger first, then Input, Output, error behavior, example, and price. Every clause conveys usable information and there is no filler prose.

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?

For a priced, unannotated data-fetch tool with no output schema, the description supplies the trigger, input semantics, return shape, error handling, and cost. The one real gap is pagination guidance for histories longer than 500 candles, which an agent would need to know.

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 already 100%, so the baseline is 3, but the description adds meaning the schema lacks: the interval enum values (1m-1M) are not enumerated in the schema, and it states that start/end accept ISO dates or unix timestamps and that start defaults to end minus limit times interval. The redundant limit range and defaults are harmless restatement.

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?

The description names a concrete verb and resource ('price history' / 'OHLCV candles') and scopes it to Hyperliquid perps and HIP-3 markets with an example (xyz:TSLA). That is enough to separate it from hl_orderbook or hl_perp_metrics, though no sibling is named explicitly the way a 5 would require.

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?

It opens with an explicit trigger ('Use when an agent needs price history for...') and gives a concrete example call. There is no when-not guidance or named alternative for overlapping needs such as funding history or market snapshots, so it stops short of a 5.

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.

Resources