Skip to main content
Glama

Liquidation cascades (paid, x402) — $0.02

get_liquidation_cascades
Read-onlyIdempotent

Paid endpoint ($0.02): clustered forced liquidations (10+ same-side fills under 90s apart, notional over a per-coin threshold) in the last 1-24h for BTC, ETH, SOL, HYPE and 10 more coins from OKX USDT-SWAP public liquidations: start/end, side, notional, count, largest fill, price move (OKX 1m candles) and severity, plus Hyperliquid large-trader liquidation clusters near price. Optional: hours 1-24, limit 1-50, symbols, side, min_severity. Bad params 400, stale data (>15 min) 503; no charge on errors. Returns x402 requirements + URL. Free sample: https://cryptofeed402.site/samples/liquidations-cascades

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": {
      "hours": 6,
      "symbols": [
        "BTC",
        "ETH"
      ]
    },
    "name": "get_liquidation_cascades"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNolong = longs liquidated, short = shorts liquidated
hoursNoLookback hours (default 24)
limitNoMax cascades, newest first (default 20)
symbolsNoOptional tracked tickers, e.g. ["BTC","ETH"]
min_severityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds material behavior the agent could not otherwise know: a $0.02 x402-paid endpoint, 400 on bad params, 503 on data older than 15 minutes, no charge on errors, and a free sample URL for previewing the payload. That is exactly the commercial and failure-mode context annotations do not carry.

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 paid price and the core definition are front-loaded, then payload fields, then optional params, then error semantics — a sensible order. It is dense and read as one long paragraph, but nearly every clause (thresholds, coin coverage, source, severity, HL clusters) carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does describe returned fields (start/end, side, notional, count, largest fill, price move, severity, HL clusters), plus cadence caveats and error codes, which is close to complete for a paid query tool. The one residual ambiguity is 'Returns x402 requirements + URL' alongside the data fields, leaving it slightly unclear whether a paid call returns data or only a payment challenge.

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 80%, so the schema already documents hours, limit, side, symbols and min_severity including enum meanings. The description only restates the ranges ('hours 1-24, limit 1-50, symbols, side, min_severity') without adding interpretation such as how min_severity interacts with the notional threshold. Baseline 3 is appropriate.

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 precise verb+resource with its defining logic: 'clustered forced liquidations (10+ same-side fills under 90s apart, notional over a per-coin threshold) in the last 1-24h' over named coins from OKX USDT-SWAP plus Hyperliquid large-trader clusters. That is far more specific than a generic 'get liquidations'. It does not, however, name the sibling raw-liquidation or HL-level tools it should be contrasted with, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the clustering thresholds and the 1-24h window hint at when this beats a raw liquidations feed, and the optional filters suggest narrowing scenarios. There is no explicit 'use this when X, use get_liquidations instead when Y' routing, and no stated prerequisites for the agent to weigh alternatives.

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.