Skip to main content
Glama

Leash

Hyperliquid perp markets

hl_perp_markets
Read-onlyIdempotent

Hyperliquid perpetual markets with mark price, hourly funding, open interest and max leverage. Optional coin filter; up to 50 results.

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

Input Schema

NameRequiredDescriptionDefault
coinNoCoin, e.g. 'BTC'
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds one genuinely new behavioral fact — the result set is capped ('up to 50 results') — but says nothing about ordering, snapshot freshness, or how a bad coin string is handled, which matters for an open-world market lookup.

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?

Two clauses, no filler, and the resource identity is front-loaded before the filtering/limit qualifiers. Every phrase (fields returned, optional filter, 50-result cap) conveys information an agent would otherwise have to guess.

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?

With no output schema, the description usefully enumerates the returned fields itself, and with zero required parameters the calling contract is simple. Remaining gaps are minor for a read-only market listing: default ordering and behavior on an unmatched coin.

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 sits at 50%: 'coin' is documented in the schema but 'limit' has only bounds. The description compensates by clarifying that the coin filter is optional and by explaining that the 50 cap is the effective result ceiling, adding meaning beyond the raw maximum/minimum.

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?

Names the specific resource (Hyperliquid perpetual markets) and enumerates what each record carries: mark price, hourly funding, open interest, max leverage. The word 'perpetual' implicitly separates it from hl_spot_markets, but no sibling is called out by name, so it stops short of a 5.

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?

'Optional coin filter' implies you can either browse all perps or narrow to one coin, which is useful implied guidance. There is no explicit statement of when to prefer this over hl_predicted_funding, hl_funding_history, or hl_candles for related perp data, and no exclusions.

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