Skip to main content
Glama

LiquidVision — Crypto Derivatives Data

Create alert

create_alert

Subscribe an HTTPS URL to push alerts instead of polling (Pro: 3, Bot: 20 subscriptions). type='condition': YOUR OWN trigger on one symbol — fires when metric op threshold becomes true (edge-triggered: once per crossing, again only after it was false). metric = funding_apr_pct (median annualised funding across venues) | oi_chg_1h_pct | oi_chg_24h_pct (Binance+Bybit+OKX, in coins) | liq_1h_usd | liq_24h_usd | price_chg_1h_pct | price_chg_24h_pct (Binance mark) | long_pct (mean long share of accounts) — the SAME definitions test_rule backtests, so test a rule first and alert on it after; op = gt | lt. Example: symbol='BTC', metric='funding_apr_pct', op='gt', threshold=50. The payload carries the value, the threshold and every other metric as context. Checked every 60 s. type='position': YOUR OWN position (symbol, side, entry, leverage, notional_usd, venue) — fires when it is within max_dist_pct of its liquidation price, computed every 60 s from the venue's maintenance-margin tier and the live mark (same numbers as check_position); again only when it gets a whole percent closer. type='cascade': a liquidation cascade just ended, over min_usd and x_normal times the coin's normal minute. type='hl_near_liq': a Hyperliquid whale position over min_usd within max_dist_pct of its liquidation price. type='cluster_sweep': price reached one of the 10 largest modeled liquidation-map clusters (size over min_usd; no symbol = BTC, ETH, SOL), sent 3 min later with modeled vs actually liquidated USD. Returns the signing secret ONCE: verify header X-LiquidVision-Signature = hex HMAC-SHA256(secret, raw body). Needs a Pro or Bot key.

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": {
      "type": "<type>",
      "url": "<url>"
    },
    "name": "create_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNoComparison: gt (greater than) | lt (less than).
urlYesHTTPS endpoint that will receive the POST deliveries.
sideNotype=position: long | short.
typeYesType id, one of the values listed in the description.
entryNotype=position: entry price (USDT).
venueNotype=position: venue whose margin tiers and mark to use (default binance).
metricNoCondition metric: funding_apr_pct | oi_chg_1h_pct | oi_chg_24h_pct | liq_1h_usd | liq_24h_usd | price_chg_1h_pct | price_chg_24h_pct | long_pct.
symbolNoContract as BASEUSDT, e.g. BTCUSDT, ETHUSDT, SOLUSDT (1000PEPE and kPEPE fold to PEPEUSDT).
api_keyNoLiquidVision API key (lv_...). Omit when the key is sent as the X-API-Key header on the connection.
min_usdNoOnly rows at or above this notional in USD.
leverageNotype=position: leverage, e.g. 20.
x_normalNoMinimum cascade size as a multiple of the coin's normal minute of liquidations.
thresholdNoThreshold the metric is compared with, in the metric's own unit (percent or USD).
max_dist_pctNoOnly positions whose liquidation price is within this many percent of the mark price.
notional_usdNotype=position: position size in USD (default 10,000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / metric / description
      Previous value: -"Condition metric: funding_apr_pct | oi_chg_1h_pct | oi_chg_24h_pct | liq_1h_usd | price_chg_1h_pct | long_pct."New value: +"Condition metric: funding_apr_pct | oi_chg_1h_pct | oi_chg_24h_pct | liq_1h_usd | liq_24h_usd | price_chg_1h_pct | price_chg_24h_pct | long_pct."
  2. Changed5 schema fields changed
    • addedInput schema / properties / entry
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "type=position: entry price (USDT).",
      +  "title": "Entry"
      +}
    • addedInput schema / properties / leverage
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "type=position: leverage, e.g. 20.",
      +  "title": "Leverage"
      +}
    • addedInput schema / properties / notional_usd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "type=position: position size in USD (default 10,000).",
      +  "title": "Notional Usd"
      +}
    • addedInput schema / properties / side
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "type=position: long | short.",
      +  "title": "Side"
      +}
    • addedInput schema / properties / venue
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "type=position: venue whose margin tiers and mark to use (default binance).",
      +  "title": "Venue"
      +}
  3. Changed10 schema fields changed
    • addedInput schema / properties / api_key / description
      Added value: +"LiquidVision API key (lv_...). Omit when the key is sent as the X-API-Key header on the connection."
    • addedInput schema / properties / max_dist_pct / description
      Added value: +"Only positions whose liquidation price is within this many percent of the mark price."
    • addedInput schema / properties / metric / description
      Added value: +"Condition metric: funding_apr_pct | oi_chg_1h_pct | oi_chg_24h_pct | liq_1h_usd | price_chg_1h_pct | long_pct."
    • addedInput schema / properties / min_usd / description
      Added value: +"Only rows at or above this notional in USD."
    • addedInput schema / properties / op / description
      Added value: +"Comparison: gt (greater than) | lt (less than)."
    • addedInput schema / properties / symbol / description
      Added value: +"Contract as BASEUSDT, e.g. BTCUSDT, ETHUSDT, SOLUSDT (1000PEPE and kPEPE fold to PEPEUSDT)."
    • addedInput schema / properties / threshold / description
      Added value: +"Threshold the metric is compared with, in the metric's own unit (percent or USD)."
    • addedInput schema / properties / type / description
      Added value: +"Type id, one of the values listed in the description."
    • addedInput schema / properties / url / description
      Added value: +"HTTPS endpoint that will receive the POST deliveries."
    • addedInput schema / properties / x_normal / description
      Added value: +"Minimum cascade size as a multiple of the coin's normal minute of liquidations."
  4. Changed3 schema fields changed
    • addedInput schema / properties / metric
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Metric"
      +}
    • addedInput schema / properties / op
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Op"
      +}
    • addedInput schema / properties / threshold
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Threshold"
      +}
  5. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered and the description is credited for going further: 60-second evaluation cadence, edge-triggered firing semantics, re-arm conditions ('again only when it gets a whole percent closer'), payload contents, and the one-time signing secret plus HMAC verification header — all genuinely beyond the annotations. It still omits delivery-failure/retry behavior and what happens if the endpoint is unreachable.

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 primary purpose and key constraint are front-loaded, then the text is organized by trigger type, and almost no sentence is filler despite the length. Density works against it: long em-dash-laden sentences and mid-sentence definitions make it harder to scan than it needs to be for a 15-parameter tool.

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

Completeness3/5

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

Covers the return contract (signing secret returned once), subscription economics, and per-type prerequisites. However, for a 15-parameter creation tool with no output schema, it leaves gaps around error conditions, whether repeated identical calls create duplicate subscriptions (idempotentHint=false is not explained), and how subscriptions are later inspected or revoked.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage the schema carries the basics, but the description adds real meaning: concrete metric definitions (funding_apr_pct as median annualised funding across venues, long_pct as mean long share), units per threshold, a worked example for type='condition', and how max_dist_pct, x_normal and min_usd change firing behavior. Some parameters, such as notional_usd's default of 10,000 and symbol folding, are already in the schema, so the gain is incremental rather than total.

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?

Opens with a specific verb and resource: 'Subscribe an HTTPS URL to push alerts instead of polling', which immediately distinguishes it from polling-style siblings. Each supported trigger type is then named and scoped (condition, position, cascade, hl_near_liq, cluster_sweep), so an agent knows exactly what it is creating.

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?

Gives strong routing context: test a rule with test_rule first and alert on it after, position alerts use the same numbers as check_position, and a Pro or Bot key with subscription caps (3 / 20) is required. It lacks an explicit when-not-to-use statement and does not mention siblings for managing or removing existing alerts, which keeps it short of a 5.

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.