Skip to main content
Glama

Hyperliquid Stats

hl_stats
Read-onlyIdempotent

Hyperliquid venue-wide hourly series, newest hour first, by view. ecosystem: perp equity, open interest and position counts per hour. volume: traded perp notional per hour, of the whole venue (builder-DEX perps included; spot and outcome markets left out) or of one symbol: volume counts each trade ONCE (one side), the figure the candles report, while n_fills counts fill records, two per trade. Money is USD. Keyset-paged with cursor. revisions: one UTC date's revisions, the values we published that changed afterwards, one row per change (series, key, field, old_value, new_value, first_seen_at), found by a nightly comparison: leaderboard (wallet|window: total_realized_pnl, roi, total_volume, win_rate, trade_count; a rolling window moves nightly, so a changed trade_count means trading), labels (wallet: size_cohort, pnl_cohort), bias_realized / bias_unrealized (hour|asset|size_cohort|pnl_cohort: long_usd, short_usd, wallets, closed hours of the last 7 days), realized_pnl (hour|wallet: realized_pnl, trades; late fills) and known_repair (past repairs the logs prove, keyed by dataset or route, [unverified: ...] where no log proves them). From December 2026; a Free account reads the last 30 days. Same data as GET /v1/hyperliquid/stats, /stats/volume and /revisions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hl_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Used by view: ecosystem, volume.
keyNo`revisions` only: the keys starting with this, e.g. a wallet `0x…`, an hour `2026-12-03T14:00:00Z` or a dataset `liquidations`. Used by view: revisions.
dateNo`revisions` only, required: the UTC day the changes were first seen, YYYY-MM-DD. A Free account reads the last 30 days, a paid plan every day. Used by view: revisions. Required by view: revisions.
viewNoWhat to read. `ecosystem`: hourly venue-wide perp equity, open interest and position counts, newest first. `volume`: hourly perp volume of the whole venue or one symbol, newest first. `revisions`: one day's revisions: published values that changed afterwards, one row per change. Default `ecosystem`.ecosystem
limitNoHourly rows per page, newest first. On `revisions`: rows per page, 1 to 10000, default 1000; more is refused, page on with `cursor`. Default by view: ecosystem 500, volume 500, revisions 1000. Max by view: ecosystem 5000, volume 5000, revisions 10000.
startNoISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Used by view: ecosystem, volume.
cursorNo`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. On `revisions` resend the same `date`, `series` and `key`.
seriesNo`revisions` only: `leaderboard`, `labels`, `bias_realized`, `bias_unrealized`, `realized_pnl` or `known_repair`. Default: every series. Used by view: revisions.
symbolNoHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. `volume` only; omit for the whole venue (perps, builder-DEX perps included; spot and outcome markets are left out). Used by view: volume.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page."New value: +"`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. On `revisions` resend the same `date`, `series` and `key`."
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "`revisions` only, required: the UTC day the changes were first seen, YYYY-MM-DD. A Free account reads the last 30 days, a paid plan every day. Used by view: revisions. Required by view: revisions.",
      +  "type": "string"
      +}
    • changedInput schema / properties / end / description
      Previous value: -"ISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z."New value: +"ISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Used by view: ecosystem, volume."
    • addedInput schema / properties / key
      Added value: +{
      +  "description": "`revisions` only: the keys starting with this, e.g. a wallet `0x…`, an hour `2026-12-03T14:00:00Z` or a dataset `liquidations`. Used by view: revisions.",
      +  "type": "string"
      +}
    • removedInput schema / properties / limit / default
      Removed value: -500
    • changedInput schema / properties / limit / description
      Previous value: -"Hourly rows per page, newest first. Max 5000."New value: +"Hourly rows per page, newest first. On `revisions`: rows per page, 1 to 10000, default 1000; more is refused, page on with `cursor`. Default by view: ecosystem 500, volume 500, revisions 1000. Max by view: ecosystem 5000, volume 5000, revisions 10000."
    • removedInput schema / properties / limit / maximum
      Removed value: -5000
    • addedInput schema / properties / series
      Added value: +{
      +  "description": "`revisions` only: `leaderboard`, `labels`, `bias_realized`, `bias_unrealized`, `realized_pnl` or `known_repair`. Default: every series. Used by view: revisions.",
      +  "type": "string"
      +}
    • changedInput schema / properties / start / description
      Previous value: -"ISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z."New value: +"ISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Used by view: ecosystem, volume."
    • changedInput schema / properties / view / description
      Previous value: -"What to read. `ecosystem`: hourly venue-wide perp equity, open interest and position counts, newest first. `volume`: hourly perp volume of the whole venue or one symbol, newest first. Default `ecosystem`."New value: +"What to read. `ecosystem`: hourly venue-wide perp equity, open interest and position counts, newest first. `volume`: hourly perp volume of the whole venue or one symbol, newest first. `revisions`: one day's revisions: published values that changed afterwards, one row per change. Default `ecosystem`."
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "ecosystem",
      -  "volume"
      -]New value: +[
      +  "ecosystem",
      +  "volume",
      +  "revisions"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds substantive behavior beyond them: keyset paging with `cursor`, newest-hour-first ordering, the exclusion of spot and outcome markets from venue volume, the one-side vs fill-record counting rule, USD units, and the 30-day Free-account read boundary. For `revisions` it explains the nightly comparison origin and how to read `[unverified: ...]` entries, which no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded correctly, but the body is a single dense block of semicolon- and parenthesis-chained clauses that is long for a stats-listing tool. Much of the `view` and `series` enumeration restates the schema's enum descriptions nearly verbatim, so not every clause earns its place.

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 nine parameters, three modes and no output schema, the description supplies what is missing: paging protocol, default and max limits by view, required fields per view, units, coverage start, plan tier restriction, and the meaning of the revision row fields. An agent has enough to pick a view and page correctly without guessing.

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 100%, so the baseline is 3, and the description earns above that by adding meaning the schema does not: what a changed leaderboard `trade_count` implies ('a rolling window moves nightly, so a changed trade_count means trading'), the contents of `known_repair`, and the fact that `cursor` on revisions must be paired with the same `date`, `series` and `key`. Some `view`/`series` text is near-duplicated from the schema, so it is not fully additive.

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?

Opens with a specific verb and resource ('venue-wide hourly series, newest hour first, by `view`') and then defines each of the three views distinctly, so an agent can tell what data it gets without opening the schema. It also disambiguates the volume figure from the candles tool ('`volume` counts each trade ONCE ... the figure the candles report, while `n_fills` counts fill records'), which separates it from siblings like hl_ohlcv.

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 clear per-view usage conditions: `date` is required for `revisions`, `symbol` only applies to `volume` and is omitted for venue-wide, and `key`/`series` narrow revisions. It states plan limits ('a Free account reads the last 30 days') and the December 2026 start. It does not name any alternative sibling tool or state when not to use this one, 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.