Skip to main content
Glama

Crypto Perp Pulse & Outage Radar (x402)

Live Hyperliquid perp funding rates, open interest and squeeze radar

hyperliquid_perp_funding_radar
Read-onlyIdempotent

Reads every Hyperliquid perpetual market live and returns, per market, the 1-hour and 8-hour funding rate and its annualised APR, mark and oracle price with basis in basis points, open interest and 24-hour volume in USD, 24-hour change and maximum leverage, each tagged LONG_CROWDED (APR at or above 25 %), SHORT_CROWDED (at or below -10 %) or NEUTRAL with a squeeze bias. It adds a market summary with the aggregate regime BULLISH_OVERHEATED, BEARISH_SHORT_CROWDED or BALANCED and a squeeze radar with the five most long-crowded and five most short-crowded liquid markets. Use it for funding-rate carry or basis trades, to spot crowded positioning before entering a leveraged trade, or to add derivatives sentiment to a market report. Do not use it for spot prices or order books, for other exchanges, which are not covered, or as a trade signal on its own. Live data that changes every hour; call again rather than caching. Read 'marketSummary.aggregateRegime', 'squeezeRadar' and 'markets'. Costs 0.015 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with ok false and 'error', so an agent loop never breaks on a thrown error. Read-only market and status data; it places no orders and holds no keys.

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

Input Schema

NameRequiredDescriptionDefault
topNoWhen no symbol filter is given, how many markets to return, ranked by open interest. Default 15, clamped to 1 to 50.
symbolNoOptional comma-separated Hyperliquid tickers such as 'BTC,ETH,SOL,HYPE', case-insensitive. When given, only these markets are returned and 'top' is ignored; an unknown ticker is simply absent from 'markets'.
symbolsNoSame filter as 'symbol' given as a list, for example ['BTC', 'ETH']. Both can be combined.
minOiUsdNoMinimum open interest in USD for a market to enter the squeeze radar, so thin markets do not dominate it. Default 500,000. Does not filter 'markets'.

Output Schema

NameRequiredDescriptionDefault
okYesFalse when Hyperliquid could not be reached or the call was rejected; retry after a short delay.
metaNoCall metadata: service, version, authMode ('x402' or 'b2b-api-key'), facilitator and processingTimeMs.
errorNoMachine code of the failure, present only when ok is false.
venueNoAlways 'hyperliquid'.
marketsNoOne row per market: symbol, maxLeverage, markPx, oraclePx, basisBps, funding1hPct, funding8hPct, fundingAprPct, openInterestUsd, volume24hUsd, change24hPct, regime and squeezeBias.
messageNoHuman-readable failure detail, present only when ok is false.
fetchedAtNoWhen the data was read, ISO 8601 UTC.
squeezeRadarNotopLongCrowded and topShortCrowded: up to five market rows each, among markets above minOiUsd.
marketSummaryNototalMarketsScanned, totalOpenInterestUsd, totalVolume24hUsd, averageFundingAprPct and aggregateRegime (BULLISH_OVERHEATED when the average APR is at least 20 %, BEARISH_SHORT_CROWDED at or below -5 %, else BALANCED).
upstreamLatencyMsNoLatency of the Hyperliquid call.
suggestedNextStepsNoAdvisory follow-up calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description still adds non-obvious behavior: data refreshes hourly so results should not be cached, the call costs 0.015 USDC via x402 v2 on Base or a B2B X-API-Key, an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header rather than throwing, and failures arrive as JSON with ok=false. It also states it places no orders and holds no keys.

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 purpose is front-loaded in the first sentence and each subsequent sentence adds decision-relevant information. It is dense as a single paragraph and the payment/error-handling block could be tightened, but no sentence is pure filler.

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?

Covers everything needed to call it correctly: scope, refresh cadence, cost and payment failure mode, and even points the agent at 'marketSummary.aggregateRegime', 'squeezeRadar', and 'markets' as the fields to read. An output schema exists, so return-value documentation is not required, and nothing material is missing for a four-optional-parameter read tool.

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 defines 'top', 'symbol', 'symbols', and 'minOiUsd' including defaults and clamping. The description only indirectly explains parameter effects (the five most long-crowded and short-crowded 'liquid' markets hints at the minOiUsd threshold) and adds no format or interaction detail beyond the schema, 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?

Names a specific verb and resource ('Reads every Hyperliquid perpetual market live') and enumerates the returned fields per market: funding rate and APR, mark/oracle price with basis, open interest, volume, leverage, and the LONG_CROWDED/SHORT_CROWDED/NEUTRAL tags. An agent can distinguish this from spot or order-book tools 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete when-to-use cases (funding-rate carry, basis trades, crowded-positioning checks, derivatives sentiment in reports) and explicit when-not-to-use cases (spot prices, order books, other exchanges, standalone trade signal). The only gap is that it never names a specific sibling tool, but the sibling catalog here is unrelated so the conceptual exclusions do the routing work.

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.