Skip to main content
Glama

LiquidVision — Crypto Derivatives Data

Lighter liquidation map (measured)

get_lighter_liquidation_map
Read-onlyIdempotent

[measured, RISK AHEAD, Lighter] REAL open positions on Lighter (zk perp DEX; crypto plus equity indices, stocks, forex, commodities) binned by Lighter's own liquidation price. Not a model. Use this for Lighter; get_hl_liquidation_map for Hyperliquid; get_liquidation_map (modeled) for the CEXs. Accounts are discovered from the public trade stream, so coverage (covered_long_pct/covered_short_pct of venue open interest) grows with time. Returns long/short notional per bin, cumulative curves and the largest positions. range: 12h | 1d | 3d | 7d | max. PRICE: the full map is a metered call ($0.005, or a key). Without a key this tool returns the free summary: USD on each side of the price and the largest level on each side.

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_lighter_liquidation_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoPrice range around the current price: 12h | 1d | 3d | 7d (and 'max' where stated), the traded range of that window.1d
symbolYesContract as BASEUSDT, e.g. BTCUSDT, ETHUSDT, SOLUSDT (1000PEPE and kPEPE fold to PEPEUSDT).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / range / description
      Added value: +"Price range around the current price: 12h | 1d | 3d | 7d (and 'max' where stated), the traded range of that window."
    • addedInput schema / properties / symbol / description
      Added value: +"Contract as BASEUSDT, e.g. BTCUSDT, ETHUSDT, SOLUSDT (1000PEPE and kPEPE fold to PEPEUSDT)."
  2. Added

TDQS

A4.6/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 adds genuinely new behavioral facts: data provenance (public trade stream), a coverage caveat expressed in venue-OI terms, and a metering model ($0.005 or a key) with a degraded free-summary fallback. These are cost and reliability traits the 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?

Front-loaded with the venue and measurement basis before the disambiguation and pricing details, and every sentence carries operational information. The tag-style prefix and block layout are slightly dense, but there is no filler to cut.

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 no output schema, the description must explain returns, and it does (long/short notional per bin, cumulative curves, largest positions, plus the reduced free-summary payload). Combined with the metering and coverage disclosure, an agent has enough to call this correctly and interpret the caveats.

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 description's 'range: 12h | 1d | 3d | 7d | max' largely restates the schema's own range description. The symbol parameter is not discussed at all beyond the schema's BASEUSDT guidance, so this is baseline-level added value.

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?

States a specific verb/resource combination: real measured open positions on Lighter binned by Lighter's own liquidation price, explicitly 'not a model'. It also names the exact siblings it differs from (get_hl_liquidation_map for Hyperliquid, get_liquidation_map for CEXs), so an agent can route correctly without opening a 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?

Guidance is explicit: 'Use this for Lighter' with the alternative named for each other venue. It further states the precondition that matters operationally (coverage grows with time from trade-stream discovery) and what happens without a key, so the agent knows both when to pick it and what to expect.

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.