Skip to main content
Glama

OnchainCheck Prediction Markets

Perps funding

perps_funding
Read-onlyIdempotent

Perpetual futures funding across venues: every Hyperliquid perp with mark price, 24h change, open interest, volume and premium, and the current funding rate on Hyperliquid, Binance and Bybit, annualized, with the cross-venue spread (where to be long, where short). Sort by funding, spread, open interest, volume or move; filter by coin. Summary of the most positive and negative funding and the widest spreads. Costs $0.002 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
coinNoUp to 20 comma-separated symbols (BTC,ETH); default all
sortNoapr (highest funding), -apr (most negative), abs-apr (default), spread, oi, volume, change
limitNoMarkets, 1-50 (default 20)
min_oi_usdNoLeave out markets with less open interest (default 1000000 unless coins are named)

Output Schema

NameRequiredDescriptionDefault
notesNostring, e.g. "fundingAprPct is Hyperliquid's current hourly rate annualiz
queryNoobject
sourceNostring, e.g. "Hyperliquid public info API (metaAndAssetCtxs, predictedFun
marketsNoarray
summaryNoobject
notFoundNoarray
checkedAtNostring, e.g. "2026-11-19T07:29:46.649Z"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new operational context: a $0.002 USDC cost on Base via x402 (a payment/auth prerequisite), and default behaviors (default all coins, min open-interest threshold of 1M unless coins are named). It does not mention rate limits or pagination, but for a read-only query that is a minor gap.

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?

Purpose is front-loaded in the first clause, followed by data fields, then sorting/filtering, then the summary, then cost. Dense but every clause carries information; there is no filler or repetition. Slightly long as a single sentence chain, but structured sensibly.

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

Completeness4/5

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

An output schema exists, so return values need not be explained. The description covers scope, venue coverage, sorting/filtering defaults, and the payment cost — everything needed to decide and call correctly. Only the absence of explicit sibling routing and error/payment-failure behavior keeps it short of complete.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds interpretive meaning beyond the schema: the cross-venue spread is explained as 'where to be long, where short', clarifying what the spread value means economically. It also restates the sort and coin-filter behavior in prose, which reinforces rather than duplicates the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource, 'Perpetual futures funding across venues', then enumerates the exact data returned (mark price, 24h change, open interest, volume, premium, funding rate across Hyperliquid, Binance and Bybit). This clearly separates it from a generic markets tool like hyperliquid_markets, though the differentiation is implied by scope rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage context is implied through the described capabilities (sort by funding/spread/oi/volume/move, filter by coin, plus a summary of extremes), which suggests when the tool is useful. However, it never states when to prefer it over a sibling such as hyperliquid_markets, nor any exclusion conditions; the reader must infer the use case.

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.

Resources