Skip to main content
Glama

LiquidVision — Crypto Derivatives Data

Pretrade check

pretrade_check
Read-onlyIdempotent

[measured + modeled] Call this BEFORE opening a leveraged perpetual position: one answer with the liquidation price on 12 venues, the liquidation levels between the price and it, how often price moved that far in our archive, derivatives fear & greed, Hyperliquid whale positioning with its 24 h flow, funding cost per day, and flags: the measured facts that go against the trade. Replaces check_position + the map summaries + get_fear_greed + get_smart_money. Not a signal. Priced: $0.05 (x402, MPP), 10 prepaid credits, or a key's daily units.

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>",
      "side": "<side>",
      "leverage": "<leverage>"
    },
    "name": "pretrade_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYeslong or short.
entryNoEntry price; omit to use the current mark.
symbolYesBase asset or contract, e.g. BTC or BTCUSDT.
api_keyNoLiquidVision API key (lv_...). Omit when the key is sent as the X-API-Key header on the connection.
leverageYesLeverage of the position, e.g. 20.
notional_usdNoPosition size in USD (margin x leverage).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the bar is lower, yet the description adds substantial context beyond them: the composite nature of the result, the '[measured + modeled]' labeling of data provenance, the meaning of `flags` as measured facts against the trade, and a full cost model ($0.05 x402/MPP, 10 prepaid credits, or a key's daily units). This is exactly the billing and interpretation context annotations cannot convey.

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 trigger and the return summary, then alternatives, then pricing — a sensible ordering with no wasted sentences. The output enumeration is dense and reads as a single long clause, which slightly hurts scanability but every element is informative.

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?

There is no output schema, so the description carries the full burden of describing returns, and it does so thoroughly — listing each data block returned plus the `flags` semantics. For a six-parameter composite tool with cost implications, nothing an agent needs before calling is missing.

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 the schema already documents symbol, side, leverage, entry, notional_usd, and api_key, including 'omit to use the current mark' and 'margin x leverage'. The description adds no parameter-level detail beyond that baseline, which is adequate but not additive.

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 concrete verb and resource ('Call this BEFORE opening a leveraged perpetual position') and enumerates the composite payload: liquidation price across 12 venues, intermediate liquidation levels, historical move frequency, fear & greed, Hyperliquid whale positioning with 24h flow, funding cost per day, and `flags`. It also explicitly distinguishes itself from siblings by naming what it replaces (check_position + map summaries + get_fear_greed + get_smart_money).

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?

Gives an explicit trigger ('BEFORE opening a leveraged perpetual position') and names four sibling tools it supersedes, so an agent knows both when to call it and which alternatives not to call. The 'Not a signal' caveat further frames how to interpret the output, which is genuine usage guidance rather than filler.

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.