Skip to main content
Glama

SiteCheck Crypto & Finance

Hyperliquid perpetual futures snapshot for one coin: mark

crypto_hyperliquid_perp_funding
Read-only

Hyperliquid perpetual futures snapshot for one coin (e.g. BTC): mark, oracle and mid price, hourly funding rate, open interest and 24h volume, from Hyperliquid's public info API. Related tools on this server, for a different need: crypto_hyperliquid_perps_depth when you need Hyperliquid L1 perpetual market snapshot for one coin: best. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "coin": "<coin>"
    },
    "name": "crypto_hyperliquid_perp_funding"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinYesPerp coin name as Hyperliquid lists it, e.g. BTC, ETH, SOL

Output Schema

NameRequiredDescriptionDefault
coinNo
sourceNo
premiumNo
midPriceNo
checkedAtNo
markPriceNo
maxLeverageNo
oraclePriceNo
dayVolumeUsdNo
openInterestNo
prevDayPriceNo
fundingRateHourlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful non-annotation context: it is a single-coin snapshot sourced from Hyperliquid's public info API, costs $0.002 USDC per successful call via x402 across multiple networks, and failed calls are not charged. It does not disclose latency, rate limits, or whether the data is real-time versus delayed.

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 and returned fields are front-loaded in the first clause, and each subsequent sentence covers a distinct concern (data source, sibling alternative, pricing). The sibling clause is awkward and visibly truncated ('...L1 perpetual market snapshot for one coin: best.'), which wastes a little space but does not obscure meaning.

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-value structure need not be explained, and annotations cover the read-only/open-world profile; the description fills remaining gaps with data source, cost, payment mechanism, and billing failure behavior. For a one-parameter snapshot tool this is close to complete, with only freshness/latency and error behavior left unstated.

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% and the single 'coin' parameter is documented in-schema as 'Perp coin name as Hyperliquid lists it, e.g. BTC, ETH, SOL'. The description's '(e.g. BTC)' duplicates that without adding format, casing, or validation details beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

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+resource (perpetual futures snapshot for one coin) and enumerates the exact fields returned: mark, oracle and mid price, hourly funding rate, open interest, 24h volume. It also names the data source (Hyperliquid public info API) and points at the sibling crypto_hyperliquid_perps_depth, so an agent can distinguish it from the depth tool 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 Guidelines4/5

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

Explicitly routes the agent to crypto_hyperliquid_perps_depth for a different need, which is real when-to-use guidance rather than none. However, the redirection clause is vague ('for a different need') and it never states when NOT to use this tool or that it is the right choice when funding/OI/price are all wanted at once.

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