Skip to main content
Glama

LiquidVision — Crypto Derivatives Data

Scan a rule across coins

scan_rule
Read-onlyIdempotent

[measured] One rule tested on up to 100 coins in a single call: on which coins it was true in our hourly archive, what price did over the next 24 h and 72 h per coin (share up, median, worst, best) next to each coin's base rate, the POOLED outcome across coins with the number of distinct days behind it (coins move together, so days, not episodes, are the sample), and true_now: the coins the rule is true on right now. Use it to find where a setup has occurred and where it is live, instead of calling test_rule per coin. Frequencies from our archive, NOT a forecast; the note explains why the best of many scans is not an edge. Priced: $1.00 per call (x402, USDC on Base or Arbitrum), 200 prepaid credits (one $1 pack), or a Pro/Bot key. Takes 10-40 s on a cold cache.

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": {
      "rules": "<rules>"
    },
    "name": "scan_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinsNoHow many coins to scan, the largest by open interest first (5-100).
rulesYesUp to 3 rules joined by commas or 'and', each metric>threshold or metric<threshold. Metrics: price_chg_1h_pct, price_chg_24h_pct, oi_chg_1h_pct, oi_chg_24h_pct, funding_apr_pct, long_pct, liq_1h_usd, liq_24h_usd. Example: funding_apr_pct>8,oi_chg_24h_pct>2
api_keyNoLiquidVision API key (lv_...). Omit when the key is sent as the X-API-Key header on the connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / rules / description
      Previous value: -"Up to 3 rules joined by commas or 'and', each metric>threshold or metric<threshold. Metrics: price_chg_1h_pct, price_chg_24h_pct, oi_chg_1h_pct, oi_chg_24h_pct, funding_apr_pct, long_pct, liq_1h_usd, liq_24h_usd. Example: funding_apr_pct>40,oi_chg_24h_pct>5"New value: +"Up to 3 rules joined by commas or 'and', each metric>threshold or metric<threshold. Metrics: price_chg_1h_pct, price_chg_24h_pct, oi_chg_1h_pct, oi_chg_24h_pct, funding_apr_pct, long_pct, liq_1h_usd, liq_24h_usd. Example: funding_apr_pct>8,oi_chg_24h_pct>2"
  2. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description contributes real extras: $1.00 x402 pricing, 200 prepaid credits or Pro/Bot key, and 10-40 s cold-cache latency, plus the day-level sampling caveat. It stops short of describing pagination or result limits, so a 3 is right against an annotation set that already carries the read-only story.

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 core action and result shape, and every clause carries information — outputs, semantics of "days not episodes", cost, latency. It is dense and long for a single-sentence core, but no sentence is filler, so it stays readable for an agent parser.

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 carries the full burden of explaining returns and does so thoroughly: per-coin metrics, base-rate comparison, pooled statistic with sample size, and `true_now`. Cost, auth options, and latency are also present, so nothing material to correct invocation 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%, with `coins` range (5-100, largest by open interest first) and the full metric list plus an example already in the schema. The description restates "up to 100 coins" and "up to 3 rules" without adding format or edge-case guidance beyond what the schema provides, so the baseline 3 applies.

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 and resource ("One rule tested on up to 100 coins in a single call") and enumerates exactly what comes back: per-coin 24h/72h price outcomes, base rates, pooled outcome with distinct-day count, and `true_now`. It explicitly contrasts itself with the per-coin sibling (test_rule), so an agent can separate the two without opening either 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?

Gives an explicit when-to-use ("find where a setup has occurred and where it is live") and an explicit alternative to avoid ("instead of calling test_rule per coin"). It also sets expectations on what the result is not — archive frequencies, not a forecast — which prevents misuse as a prediction signal.

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.