Skip to main content
Glama

Hyperliquid large-trader liquidation levels (paid, x402) — $0.01

get_hl_liq_levels
Read-onlyIdempotent

Use when you want where large Hyperliquid traders get liquidated (liquidation map) for one perp. Hyperliquid liquidation levels map ($0.01/call, USDC on Base via x402). For one main-dex perp: liquidation price and distance from mark of every open position held by the top ~150 Hyperliquid accounts by value, 1% liquidation bands below/above mark, totals by side and the nearest long and short liquidation. Optional min_usd filter. Unknown coin/no positions: 404; stale: 503; no charge on errors. Example: GET https://cryptofeed402.site/hyperliquid/liq-levels/BTC

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
coinYesHyperliquid main-dex ticker, e.g. BTC
min_usdNoOnly positions with notional >= this USD

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "accepts": {
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "description": "USDC atomic units (6 decimals)",
      +                "type": "string"
      +              },
      +              "asset": {
      +                "type": "string"
      +              },
      +              "extra": {
      +                "type": "object"
      +              },
      +              "maxTimeoutSeconds": {
      +                "type": "number"
      +              },
      +              "network": {
      +                "const": "eip155:8453",
      +                "type": "string"
      +              },
      +              "payTo": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "const": "exact",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network",
      +              "amount",
      +              "asset",
      +              "payTo"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "as_of": {
      +          "description": "ISO-8601 UTC of position read",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "billing": {
      +          "description": "Charged only on this 200",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "coin": {
      +          "description": "Ticker",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "disclaimer": {
      +          "description": "Not financial advice notice",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "levels": {
      +          "description": "{band_width_pct, range_pct, long_liqs_below[], short_liqs_above[]} 1% bands",
      +          "properties": {
      +            "band_width_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "long_liqs_below": {
      +              "type": "array"
      +            },
      +            "range_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "short_liqs_above": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "mark_px": {
      +          "description": "Current mark price",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "nearest": {
      +          "description": "{long_liq, short_liq} nearest position to liquidation per side (null if none)",
      +          "properties": {
      +            "long_liq": {
      +              "type": "object"
      +            },
      +            "short_liq": {}
      +          },
      +          "type": "object"
      +        },
      +        "positions": {
      +          "description": "Positions with liquidation price",
      +          "type": "array"
      +        },
      +        "positions_without_liq_px": {
      +          "description": "Positions with no liquidation price (e.g. over-collateralized)",
      +          "type": "array"
      +        },
      +        "provenance": {
      +          "description": "Optional provenance on paid 200s",
      +          "properties": {
      +            "data_sha256": {
      +              "type": "string"
      +            },
      +            "fetched_at": {
      +              "type": "string"
      +            },
      +            "max_age_s": {
      +              "type": "number"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "sources": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "route": {
      +          "description": "Route id",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "schema": {
      +          "description": "Response schema id",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "totals": {
      +          "description": "{long_positions, short_positions, long_notional_usd, short_notional_usd, without_liq_px}",
      +          "properties": {
      +            "long_notional_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "long_positions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "short_notional_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "short_positions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "without_liq_px": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "universe": {
      +          "description": "{tracked_accounts, accounts_read, accounts_with_position, selection, list_as_of}",
      +          "properties": {
      +            "accounts_read": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "accounts_with_position": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "list_as_of": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "selection": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "tracked_accounts": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "venue": {
      +          "description": "hyperliquid",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "as_of",
      +        "billing",
      +        "coin",
      +        "disclaimer",
      +        "levels",
      +        "mark_px",
      +        "nearest",
      +        "positions",
      +        "positions_without_liq_px",
      +        "route",
      +        "schema",
      +        "totals",
      +        "universe",
      +        "venue"
      +      ],
      +      "title": "Paid HTTP 200 body of GET /hyperliquid/liq-levels/{coin}",
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the paid x402 flow ($0.01/call, USDC on Base), the exact coverage universe (top ~150 accounts, 1% bands below/above mark), and a no-charge-on-errors policy — precisely the billing and failure semantics an agent cannot get from annotations.

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?

The trigger condition is front-loaded and the rest is dense, factual content (scope, pricing, error codes, example URL). The pricing is stated twice — once in the leading parenthetical and again in the second sentence — which is a small redundancy.

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 an output schema present, the description need not explain return shapes, yet it still summarizes the key payload (liquidation price and distance from mark, band totals, nearest long/short) and covers payment, errors, and scope. An agent has everything needed to decide and invoke correctly.

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 both coin and min_usd are already documented, and the schema supplies the pattern and minimum constraints. The description only restates that min_usd is an optional filter and that the price applies to one main-dex perp, adding little meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource — where large Hyperliquid traders get liquidated, per one main-dex perp — and pins the scope precisely (top ~150 accounts by value, 1% bands, totals by side). It does not explicitly name a contrasting sibling such as get_liquidations, so an agent must infer the boundary from scope wording alone.

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?

"Use when you want... (liquidation map) for one perp" gives a clear triggering condition, and the error cases (unknown coin/no positions: 404; stale: 503) tell the agent what to expect. There is no explicit statement of when NOT to use it or which sibling to prefer for protocol-wide liquidation data.

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