Skip to main content
Glama

Hyperliquid funding rate history: percentiles, z-score, averages and open-interest change

hl_funding_history

Use when an agent judges whether a perp's funding is unusually high or low, or tracks open-interest build-up. Input: coin (e.g. BTC), hours (24-720, default 168). Output: current 1h funding and APR, 24h/7d/30d average APR, current percentile and z-score vs 7d and 30d, share of positive hours, downsampled series, open interest now and change 1h/24h/7d (from our 5-minute snapshots). Example: ?coin=BTC&hours=168 Price: $0.004 USDC (Base or Solana) via x402.

Input Schema

NameRequiredDescriptionDefault
coinYesHyperliquid perp symbol (BTC, ETH, SOL, HYPE, kPEPE). Not listed → 400 before payment
hoursNoWindow of the returned series in hours (24-720, default 168); statistics always cover 7 and 30 days

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?

With no annotations, the description carries the burden well: it discloses data provenance (5-minute snapshots), the 400-before-payment behavior for unlisted coins, and the x402 pricing ($0.004 USDC on Base or Solana). Missing only explicit read-only/no-side-effect confirmation, but the payment and error preconditions are genuinely useful behavioral context.

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?

Front-loaded trigger followed by compact Input/Output/Example/Price blocks; every section carries signal. Slightly dense with pricing and example packed into one paragraph, but no wasted sentences.

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?

No output schema exists, and the description fully enumerates the return shape: current 1h funding and APR, 24h/7d/30d averages, percentile and z-score, positive-hour share, downsampled series, and OI changes. An agent knows exactly what it gets and what it costs before calling.

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 both params are already documented with symbol examples and the 24-720 default range. The description largely restates those ('hours (24-720, default 168)') and adds one useful nuance—statistics always cover 7/30 days regardless of window—so baseline 3 is appropriate.

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?

Specific verb+resource with explicit scope: judging whether a perp's funding is unusually high/low and tracking open-interest build-up. The name and title align, and the funding/OI framing separates it from siblings like hl_funding_screener and hl_perp_metrics.

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?

Opens with a clear 'Use when...' trigger covering the two main analysis cases (funding extremes, OI build-up). It doesn't name alternative siblings or state when NOT to use it, so routing between hl_funding_history and hl_funding_screener is left to inference.

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