Skip to main content
Glama

Crypto candles, OHLCV: open, high, low, close and volume of Hyperliquid perps

hyperliquid_candles
Read-only

Historical price candles (OHLCV) of a Hyperliquid perpetual such as BTC, ETH or SOL: open, high, low, close, volume in coins and trade count per bar, newest last. Intervals 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w and more; up to 500 bars (default 50). Read from Hyperliquid's public API. Use for charts, backtests, volatility and trend checks, or as context for a trading agent. Example: coin=BTC. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
barsNoNumber of bars, 1-500 (default 50)
coinNoCoin symbol such as BTC, ETH, SOL or HYPE (default BTC)
intervalNoBar length: 1m, 3m, 5m, 15m, 30m, 1h (default), 2h, 4h, 8h, 12h, 1d, 3d or 1w

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, openWorld and destructive=false, and the description adds genuinely new context: newest-last ordering, "each call is charged, so repeats are not free" (which explains idempotentHint=false meaningfully), and a concrete price/free-tier model. Its "changes nothing" sentence largely restates readOnlyHint, which keeps it from a 5.

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?

Single dense paragraph that front-loads what the data is, then intervals/counts, then use cases, then cost. Almost every sentence earns its place, though the pricing/trial sentences are somewhat stacked and could be tightened.

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?

With only 3 optional parameters, rich annotations and no output schema, the description covers the bar contents and ordering effectively as an output summary, plus interval/count limits and cost. Nothing an agent needs in order to call this 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 coverage is 100%, so the interval list, default of 50 bars and coin default are already documented. The description restates these without adding syntax, constraints or examples beyond "coin=BTC" (which is already implied by the schema), so baseline 3 applies.

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?

States a specific verb and resource ("Historical price candles (OHLCV)") and enumerates exactly what each bar contains, which cleanly separates it from sibling tools like hyperliquid_orderbook, hyperliquid_prices or hyperliquid_indicators. An agent can identify the output shape without opening the schema.

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?

Gives concrete use contexts ("charts, backtests, volatility and trend checks, or as context for a trading agent") and an example call, so the agent knows when this is the right tool. It stops short of naming alternatives or stating when NOT to use it, which would be the fifth point.

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.