Skip to main content
Glama

perp_basis_oi

Perp basis and open interest on Hyperliquid: mark vs oracle basis in bps, premium, open interest, volume and funding for the top markets. Paid via x402 ($0.002 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).

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

Input Schema

NameRequiredDescriptionDefault
sortNoSort order (default oi).
limitNoMarkets to return (default 20).
symbolsNoOptional comma-separated Hyperliquid perp symbols (default: top markets by open interest).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the x402 payment amount and chains, the free-trial quota (3 unpaid calls/day per IP, header X-Free-Trial for HTTP, automatic for MCP), and that invalid input is rejected without charge. What it omits is pagination or caching behavior and confirmation of how billing failures surface, but the commercial and error contract are unusually well covered.

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?

It is a single dense paragraph with the resource definition front-loaded, followed by monetization and trial terms. The nested parenthetical of supported chains is slightly awkward, but every sentence carries operational weight for an agent that must decide whether it can afford to call this.

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?

For a 3-parameter, no-output-schema tool, the definition covers what is measured, the default population, the payment/refusal contract, and the asOf/source metadata an agent can expect. What is missing is any indication of data freshness or market coverage limits, which matters for a market-data endpoint.

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 coverage is 100%, so the enum values, default of 20, max of 100, and comma-separated symbol format are already documented in the schema. The description only reinforces that the default symbol set is the top markets by open interest, adding no new syntax or edge-case guidance beyond 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 names the specific resource (Hyperliquid perps) and enumerates the exact measures returned: mark vs oracle basis in bps, premium, open interest, volume, funding. That is far more specific than the sibling names alone (crypto_price, funding_rates), though it never explicitly contrasts itself with those tools.

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 by 'top markets' and the default-by-open-interest behavior of the symbols parameter, and the free-trial mechanics are spelled out. There is no explicit when-to-use versus funding_rates or crypto_price, and no statement of when a caller should prefer a per-symbol query over the bulk top-markets view.

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