Skip to main content
Glama

Ironflow: Hyperliquid data

Liquidation levels

get_liquidation_levels
Read-only

At which prices did liquidations happen on a Hyperliquid perp? Past liquidations bucketed by price and side: where longs and shorts were wiped out (side sell = a liquidated long). For where open positions would be liquidated next, use get_liquidation_map. Without a key you get the 10 busiest levels of the last 24 hours; any key, including a free one (https://ironflow.sh/key), returns every level.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "market": "<market>"
    },
    "name": "get_liquidation_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketYesMarket: BTC-PERP, xyz:NVDA-PERP, HYPE/USDC, or a Hyperliquid name (BTC, @107, xyz:NVDA)
bucket_sizeNoPrice bucket width: auto (default, about 0.25% of price, right for any coin) or a fixed 1, 5, 10, 50, 100, 500, 1000 or 5000 (a number works too)

Output Schema

NameRequiredDescriptionDefault
dataNoPrice buckets
noticeNoPresent without a key: the result is a 10-level sample
bucket_sizeNoBucket width used (the one picked for auto)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / bucket_size / description
      Previous value: -"Price bucket width: auto (default, about 0.25% of price, right for any coin) or a fixed 1, 5, 10, 50, 100, 500, 1000 or 5000"New value: +"Price bucket width: auto (default, about 0.25% of price, right for any coin) or a fixed 1, 5, 10, 50, 100, 500, 1000 or 5000 (a number works too)"
  2. Changed3 schema fields changed
    • changedInput schema / properties / bucket_size / description
      Previous value: -"Price bucket size (1, 5, 10, 50, 100, 500, 1000, 5000). Default: 100"New value: +"Price bucket width: auto (default, about 0.25% of price, right for any coin) or a fixed 1, 5, 10, 50, 100, 500, 1000 or 5000"
    • addedOutput schema / properties / bucket_size
      Added value: +{
      +  "description": "Bucket width used (the one picked for auto)"
      +}
    • 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: +"Present without a key: the result is a 10-level sample"
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses the side semantics ("side sell = a liquidated long"), a non-obvious convention an agent would otherwise misread. It also discloses the tiered behavior: unkeyed calls return only the 10 busiest levels of the last 24 hours, while any key returns every level, and it points to where to get one.

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

Conciseness5/5

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

Three tight sentences: the purpose question, the side semantics, the sibling alternative, the access tiers. The scoping constraint and the alternative are both front-loaded rather than buried, and no sentence is filler.

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 two-parameter read tool with a full output schema, the description covers everything an agent needs: what is returned (past liquidations by price bucket and side), how it differs from the sibling, and how result completeness depends on having a key.

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%, and the schema already documents market formats and the full bucket_size option set, so the description need not repeat it. It does add a little meaning by framing results as price-bucketed and side-split, which contextualizes bucket_size, but it adds no format or default guidance beyond the schema. 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?

"Past liquidations bucketed by price and side" states a specific resource, the dimension of aggregation, and the historical (not prospective) scope. It explicitly separates itself from get_liquidation_map, so an agent can pick the right one without opening either schema.

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?

It gives both directions: this tool for where liquidations already happened, get_liquidation_map for where open positions would be liquidated next. It also states the access condition (no key vs. any key) that changes result completeness, which is an operational when-to-use rule.

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.