Skip to main content
Glama

SiteCheck Crypto & Finance

OKX perpetual-swap liquidations for one underlying

crypto_okx_liquidations
Read-only

OKX perpetual-swap liquidations for one underlying (e.g. BTC-USD): the most recent 100 filled forced liquidations, split into long and short liquidated USD value, with the largest events. Covers OKX only, and the window is the latest 100 events, not a fixed 24h total. Other exchanges' liquidation streams are not reported. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
ulyNoOKX underlying, e.g. BTC-USD, ETH-USD

Output Schema

NameRequiredDescriptionDefault
instIdNo
sourceNo
largestNo
checkedAtNo
eventCountNo
underlyingNo
longSharePctNo
newestEventTimeNo
oldestEventTimeNo
longLiquidatedUsdNo
shortLiquidatedUsdNo
totalLiquidatedUsdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds materially more: a per-call price ($0.002), the payment rail (x402, USDC on Base, Solana and 10 more networks), and the fact that failed calls are not charged. The sampling window (latest 100 events, not a time-bounded total) is a behavioral constraint 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?

Three sentences, front-loaded with the resource and return shape, then scope caveats, then cost. Slight redundancy: "Other exchanges' liquidation streams are not reported" restates "Covers OKX only," and the payment-network enumeration could be trimmed, but no sentence is wasted overall.

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?

For a single-parameter read tool with an output schema, annotations on safety, and explicit pricing, the definition covers what an agent needs to decide and call correctly. The only missing piece is the behavior of the optional uly parameter when omitted, which matters for a tool where no parameter is required.

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% and the single parameter already carries an example ("OKX underlying, e.g. BTC-USD"), which the description largely echoes. The one gap is that the parameter is optional (0 required) and the description never says what happens when uly is omitted — all underlyings or an error — so it adds little meaning beyond the schema.

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?

"OKX perpetual-swap liquidations for one underlying" names a specific resource, exchange, and instrument class, then specifies the return shape (latest 100 forced liquidations split into long/short liquidated USD plus largest events). It also explicitly excludes other exchanges, so an agent knows exactly what data domain this covers without opening the schema.

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?

The description gives the key selection context an agent needs: the window is "the latest 100 events, not a fixed 24h total," which prevents misusing it for a daily aggregate, and it states OKX-only scope so other-exchange questions route elsewhere. It does not name a concrete alternative tool for cross-exchange liquidation data, but sibling names alone do not establish such a tool exists.

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