Skip to main content
Glama

hyperliquid_markets

hyperliquid_markets
Read-only

Every perpetual market on Hyperliquid in one call: mark, mid and oracle price, hourly and annualized funding, open interest, 24 h volume and change, max leverage and lot size, sorted by volume. With coin you get that market plus the top five levels of its order book. Also reports the builder fee that orders placed through /hyperliquid/prepare carry. Price: $0.001 USDC per call (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": "hyperliquid_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoPerp to detail, e.g. BTC, ETH, SOL, HYPE; omit for the full list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The description is consistent with readOnlyHint=true and adds behavior the annotation cannot convey: results are sorted by volume, the response includes a builder fee that downstream /hyperliquid/prepare orders carry, and each call costs $0.001 USDC via x402. That cost and payment-model disclosure is genuinely useful for agent planning. It stops short of stating rate limits or response size limits for the full-market list.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The most important information — what you get, what the optional parameter changes, and the price — is front-loaded in a dense but readable form with no filler. Every clause carries a distinct fact an agent would otherwise have to discover by calling.

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?

With no output schema, the description carries the full burden of describing returns and does so thoroughly: the market fields, the order book depth, the sorting, and the builder fee. Combined with the one-parameter schema and the read-only annotation, an agent has everything needed to call it correctly and interpret the result.

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 there is only one optional parameter, so the schema already carries the baseline. The description does add meaning by saying that supplying coin expands the result to include the top five order book levels, which is more than the schema's 'omit for the full list' note. It doesn't add syntax or validation details beyond that.

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?

The description names a specific resource (every perpetual market on Hyperliquid) and enumerates exactly what is returned: mark/mid/oracle price, funding, open interest, 24h volume, max leverage, lot size. The scope distinction between the full list and a single-coin detail view is stated up front, so an agent can tell this apart from account- or order-oriented siblings like hyperliquid_account or hyperliquid_prepare.

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?

It explains the two usage modes clearly ('omit for the full list' vs 'with coin you get that market plus the top five levels of its order book'), which is real guidance. However, it never states when to prefer this over related siblings (e.g. hyperliquid_account for positions, hyperliquid_prepare before placing an order), so usage is implied rather than prescribed.

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.