Skip to main content
Glama

Ironflow: Hyperliquid data

Liquidation summary

get_liquidation_summary
Read-only

How much was liquidated on Hyperliquid, and what were the biggest? Liquidations over a trailing window, totalled across every market or the ones named: count, wallets, notional, longs vs shorts liquidated, the top markets and the largest single liquidation with its price. For the individual liquidations use get_liquidations; for liquidations grouped by price use get_liquidation_levels; for where open positions would be liquidated next use get_liquidation_map. Windows from 15m to 24h without a key, 7d with one.

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": "get_liquidation_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketNoOptional: one market or a comma list (BTC-PERP,ETH-PERP); Hyperliquid names work (BTC, xyz:NVDA)
windowNoTrailing window. Default 1h
minutesNoOlder form of window, rounded up to the next one (90 becomes 4h)

Output Schema

NameRequiredDescriptionDefault
toNoWindow end, Unix milliseconds
fromNoWindow start, Unix milliseconds
countNoNumber of liquidations
marketNoMarket filter, or null for all markets
noticeNoA note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key
windowNoTrailing window, e.g. 1h
largestNoLargest single liquidation, or null when there were none
walletsNoDistinct wallets liquidated
completeNoAlways true: totals cover every liquidation in the window
by_marketNoTop markets by liquidated notional
notional_usdNoLiquidated notional in USD
longs_liquidated_usdNoNotional of liquidated longs in USD
shorts_liquidated_usdNoNotional of liquidated shorts in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / notice / description
      Previous value: -"Present when the API added a note: how a market name was read, that data starts later than asked because of the history window, or a next step such as a free key"New value: +"A note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key"
  2. Changed6 schema fields changed
    • changedInput schema / properties / market / description
      Previous value: -"Optional market filter: BTC-PERP or a Hyperliquid name (BTC, xyz:NVDA)"New value: +"Optional: one market or a comma list (BTC-PERP,ETH-PERP); Hyperliquid names work (BTC, xyz:NVDA)"
    • changedInput schema / properties / minutes / description
      Previous value: -"Lookback in minutes (default 60, max 240)"New value: +"Older form of window, rounded up to the next one (90 becomes 4h)"
    • addedInput schema / properties / window
      Added value: +{
      +  "description": "Trailing window. Default 1h",
      +  "enum": [
      +    "15m",
      +    "1h",
      +    "4h",
      +    "12h",
      +    "24h",
      +    "7d"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / complete / description
      Previous value: -"False when the page cap was hit and totals are a lower bound"New value: +"Always true: totals cover every liquidation in the window"
    • addedOutput schema / properties / wallets
      Added value: +{
      +  "description": "Distinct wallets liquidated"
      +}
    • addedOutput schema / properties / window
      Added value: +{
      +  "description": "Trailing window, e.g. 1h"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, the description discloses that results are aggregated across all markets unless markets are named, and that the available window depends on API key tier. That key-tier constraint is a genuine behavioral limitation an agent cannot infer from annotations or schema.

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 with the core question and the returned metrics, then routing guidance, then the access constraint — a sensible order. The rhetorical opening question slightly duplicates the sentence that follows, but no sentence is wasted.

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 read-only aggregate with an output schema, everything an agent needs to select and call it is present: scope, optional market filter behavior, window range, key requirements, and disambiguation from three siblings.

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 description coverage is 100%, so the schema already documents market, window, and the legacy minutes parameter. The description adds only the aggregation semantics ('totalled across every market or the ones named'), which is marginal but real; it does not clarify the window/minutes interaction in prose. 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?

Names a specific resource (liquidations on Hyperliquid) and enumerates the exact aggregate outputs: count, wallets, notional, long/short split, top markets, and the largest single liquidation with its price. It is immediately distinguishable from the sibling liquidation tools, which are named and contrasted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent to three alternatives by use case: get_liquidations for individual events, get_liquidation_levels for price-bucketed grouping, get_liquidation_map for forward-looking liquidation prices. It also states the access constraint (windows up to 24h without a key, 7d with one), which changes which window an agent should request.

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.