Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Liquidations

get_liquidations
Read-only

Retrieve forced crypto perpetual liquidation data—long vs short notional, per-minute buckets, largest liquidation, cascade flags, and recent events—for a symbol and look-back window.

Instructions

Forced liquidations on perpetuals: long vs short notional over a window, per-minute buckets, largest liquidation, cascade flag and the latest events.

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": {
      "symbol": "<symbol>"
    },
    "name": "get_liquidations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRecent events listed (default 20).
venueNo"all" (default, aggregate every venue listing the market) or one exchange: binance, bybit, okx, bitget, hyperliquid, deribit, coinbase, gate, kucoin, kraken, htx.
symbolYesAsset or symbol, e.g. "BTC", "ETHUSDT", "SOL-PERP".
market_typeNo"perp" (default) or "spot".
wait_secondsNoSeconds to wait for first data when a market is not streaming yet (default 10).
window_minutesNoLook-back window (default 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful disclosure of the return payload (aggregates, buckets, cascade flag, recent events), which matters because there is no output schema. It says nothing about venue aggregation semantics, streaming/latency behavior implied by wait_seconds, or what happens when no liquidations exist in the window.

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?

A single dense sentence with zero filler and the core resource front-loaded. It is a fragment rather than a sentence, and the metric list runs long, but every clause names something the tool actually returns.

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 six parameters, 100% schema coverage, and no output schema, the main remaining burden is describing returns, which the description does well. What is missing is modest: no guidance on venue='all' aggregation behavior or on choosing window_minutes versus limit, but an agent can call this correctly from the definition as written.

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 all six parameters are already documented in structured form. The description echoes concepts present in the schema — the aggregation window, per-minute bucketing, latest events for the limit parameter — but adds no syntax, defaults, or interaction rules beyond it. Baseline 3 applies.

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 names a specific resource (forced liquidations on perpetuals) and enumerates the concrete metrics produced — long/short notional, per-minute buckets, largest liquidation, cascade flag, latest events — so an agent knows exactly what this tool yields. It does not, however, differentiate itself from neighbors like get_microstructure_events or get_big_trades, and the verb is only implied by the noun phrase.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no when-not-to-use condition, and no named alternative among the many volatility/flow siblings. The agent must infer from the metric list that this is for liquidation/cascade analysis rather than, say, event-stream or large-trade analysis.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.