Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Hyperliquid funding rate, perps: open interest and price

hyperliquid_market
Read-only

Live Hyperliquid perpetual futures data for a coin (BTC, ETH, SOL, HYPE…): mark, oracle and mid price, hourly funding rate and its APR, premium, open interest in coins and USD, 24-hour volume and price change, and max leverage. Without a coin, the 20 most traded markets by 24-hour volume. Read from Hyperliquid's public API. Use for funding-rate checks, basis trades, derivatives dashboards and market context. Example: coin=BTC. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoCoin symbol such as BTC, ETH, SOL or HYPE (default: the 20 most traded markets)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description wisely spends its words elsewhere: the public API data source, the default 20-market scope, and the billing model including first-10-free and failed-calls-free. The repeated warning that 'each call is charged, so repeats are not free' usefully explains the non-idempotent, costed nature of the call.

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?

Data fields and default behavior are front-loaded in the first two sentences, and the commercial constraints are compact. The cost point is restated twice ('each call is charged' alongside the per-call price line), which is mild redundancy but not damaging.

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 one-optional-param read tool with no output schema, the description substitutes by enumerating the returned fields and the default market set, and annotations carry the safety profile. Nothing critical is missing, though a hint on what the funding APR or premium fields mean in practice would have closed the last gap.

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?

There is a single optional parameter at 100% schema coverage, and the schema already documents the symbol format and the 20-market default. The description reinforces this with an example and example symbols, but adds no format or constraint detail beyond the schema, so baseline 3 applies.

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 a specific resource (live Hyperliquid perpetual futures data) and enumerates exactly what is returned: mark, oracle and mid price, hourly funding and APR, premium, open interest in coins and USD, 24h volume and change, max leverage. It also states the scope when no coin is supplied. It stops short of explicitly contrasting itself with near neighbors such as hyperliquid_funding_history or hyperliquid_prices, so an agent must infer the split.

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?

It gives clear use cases (funding-rate checks, basis trades, derivatives dashboards, market context) and a worked example (coin=BTC), plus the no-argument behavior. It does not state when NOT to use it or name an alternative for narrower cases, so it is strong context without explicit routing.

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