Skip to main content
Glama

Hyperliquid Archive

hl_archive
Read-onlyIdempotent

Index of the Hyperliquid Parquet archive and download links to its files. One file per UTC day for fills (every fill), positions (every 5-minute snapshot of every open position), positions_hourly (every position as last seen in each hour), cohorts_hourly (the hourly cohort matrix of every asset) and wallets_hourly (each wallet's native perp account per hour), from 2026-05-01, oi_flow_hourly (what moved each perp's open interest per hour: new longs, new shorts, closes, liquidations), from 2026-09-30, and liq_levels_hourly (per coin and hour, the open liquidation levels in 1% bands down to -10% and up to +10%, by holder), from 2026-05-01, and revisions (the published values that changed afterwards, from December 2026). Plus latest, one positions file of the current open positions replaced every 5 minutes. view='datasets' (default) lists the published days with each file's rows and bytes, the column schema of every dataset and the free samples' folder. view='url' resolves exactly ONE file (dataset and date) to a link valid for 1 day (expires_at) that needs no API key: this tool never downloads anything, so fetch it yourself and do not share it. A day appears once it is complete (the early UTC morning after). Same data as GET /v1/hyperliquid/archive/datasets and /archive/url.

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_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoview=url only, required there: a published UTC day, YYYY-MM-DD, or `latest` (`positions` only: the current open positions).
viewNodatasets = the index (default); url = a link to one file.datasets
datasetNoview=url only, required there: `fills`, `positions`, `positions_hourly`, `cohorts_hourly`, `wallets_hourly`, `oi_flow_hourly`, `liq_levels_hourly` or `revisions`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / dataset / description
      Previous value: -"view=url only, required there: `fills`, `positions`, `positions_hourly`, `cohorts_hourly` or `wallets_hourly`."New value: +"view=url only, required there: `fills`, `positions`, `positions_hourly`, `cohorts_hourly`, `wallets_hourly`, `oi_flow_hourly`, `liq_levels_hourly` or `revisions`."
    • changedInput schema / properties / dataset / enum
      Previous value: -[
      -  "fills",
      -  "positions",
      -  "positions_hourly",
      -  "cohorts_hourly",
      -  "wallets_hourly"
      -]New value: +[
      +  "fills",
      +  "positions",
      +  "positions_hourly",
      +  "cohorts_hourly",
      +  "wallets_hourly",
      +  "oi_flow_hourly",
      +  "liq_levels_hourly",
      +  "revisions"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / dataset / description
      Previous value: -"view=url only, required there: `fills` or `positions`."New value: +"view=url only, required there: `fills`, `positions`, `positions_hourly`, `cohorts_hourly` or `wallets_hourly`."
    • changedInput schema / properties / dataset / enum
      Previous value: -[
      -  "fills",
      -  "positions"
      -]New value: +[
      +  "fills",
      +  "positions",
      +  "positions_hourly",
      +  "cohorts_hourly",
      +  "wallets_hourly"
      +]
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real context: links expire in 1 day (`expires_at`), need no API key, must not be shared, and the tool never downloads anything itself. The note that a day only appears once complete (early UTC morning after) and the per-dataset start dates further explain availability behavior.

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 opening sentence and the view-routing sentences are front-loaded and efficient, but the middle is a single sprawling run-on sentence stacking eight dataset definitions with interleaved 'from' dates that are hard to parse. The dataset catalog is genuinely useful information, but its packaging costs readability.

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?

For a three-parameter read-only archive tool with no output schema, the definition is unusually complete: it describes what `view='datasets'` returns (rows, bytes, per-dataset schema, sample folder), what `view='url'` returns (a link plus `expires_at`), and the freshness/publication model. An agent has what it needs to call this correctly on the first try.

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% and both enums are already documented, so the schema carries most of the load. The description still adds meaning: `latest` is only valid for `positions` and means current open positions, `date` must be a published UTC day in YYYY-MM-DD, and each dataset has a different coverage start date.

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+resource framing: an index of the Hyperliquid Parquet archive plus download links to its files. It then names the two modes (`view='datasets'` for the index, `view='url'` for one resolved file), which is enough to tell it apart from siblings like polymarket_archive or the hl_ledger/hl_liquidations query tools.

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?

Explicitly states the default view, that `view='url'` requires `dataset` and `date`, that exactly ONE file is resolved, and that the caller must fetch the link themselves rather than expecting a download. It stops short of naming when to prefer this archive over the sibling query tools (e.g. hl_ledger for fills), so routing guidance is clear but not complete.

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.