Skip to main content
Glama

Perpetual market detail (Hyperliquid)

get_perp_market
Read-only

One Hyperliquid perpetual by symbol ("BTC", "ETH", "TSLA", "GOLD") or venue id ("xyz:TSLA"): mark/oracle price, 24h change, current funding (positive = longs pay shorts) plus the average and an 8h-bucketed history, open interest, 24h volume, max leverage, isolated-only flag, category and daily candles; other listings of the same symbol come back as alternatives. Source: Hyperliquid public market data. Read-only: Milo does not place perp orders. Returns structured JSON.

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": {
      "symbol": "<symbol>"
    },
    "name": "get_perp_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesPerp symbol or venue coin id
candleDaysNoDaily candles window (default 30, max 90)
fundingDaysNoFunding history window (default 7, max 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, and the description goes further by stating the read-only guarantee in domain terms (Milo does not place perp orders) and naming the data source and response format. It also explains the funding sign convention ('positive = longs pay shorts') and discloses that duplicate listings surface as an `alternatives` field, which is behavioral detail not available from annotations.

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?

One dense but well-ordered passage: resource identity first, then accepted identifier forms, then returned fields, then behavioral notes. Every clause carries information an agent needs, and the parenthetical examples are short rather than ornamental.

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 read-only lookup with no output schema, the description covers what the tool returns (explicit field list), how symbols are formed, and the trailing `alternatives` behavior, so an agent can call it and interpret the response. Minor gaps remain around error handling for unknown symbols and whether both symbol forms can be mixed, but nothing blocking.

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?

With 100% schema description coverage the baseline is 3, but the description adds meaning the schema lacks: concrete symbol examples including the venue-scoped form 'xyz:TSLA', and the fact that funding history is 8h-bucketed with an average, which explains what fundingDays actually windows. Candle and funding window bounds (30/90, 7/30) remain schema-only, which is acceptable given full coverage.

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 opens with a specific verb and a precisely scoped resource: one Hyperliquid perpetual resolved by symbol or venue coin id, with an enumerated field list (mark/oracle price, funding, OI, volume, leverage, candles). The singular framing implicitly separates it from the plural sibling get_perp_markets, but it never names that sibling, so an agent must infer the split from the tool name alone.

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?

Use is only implied: 'One Hyperliquid perpetual by symbol ... or venue id' signals the single-market lookup case, and the shape of the symbol argument ('BTC', 'xyz:TSLA') is clarified. There is no explicit when-to-use/when-not statement and no pointer to get_perp_markets for listing or screening markets, leaving differentiation to inference.

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.