Skip to main content
Glama

Leash

Hyperliquid order book

hl_order_book
Read-onlyIdempotent

Top 10 bid and ask levels for a Hyperliquid coin.

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

Input Schema

NameRequiredDescriptionDefault
coinYesCoin, e.g. 'BTC'
nSigFigsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=true, so the safety profile is covered. The description adds the meaningful behavioral fact that the response is capped at the top 10 levels per side, but says nothing about snapshot vs live, rate limits, or how illiquid books with fewer than 10 levels behave.

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?

One short, front-loaded sentence with zero filler — the resource and depth limit come first. It is arguably over-terse rather than padded, so conciseness is good but the sentence is doing very little work.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must characterize return values; naming bid/ask levels and the top-10 cap partially does this. Half the parameters and the aggregation semantics of nSigFigs remain unexplained, leaving real gaps for a market-data tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: 'coin' is documented in the schema, but nSigFigs (2-5) is undocumented in both schema and description, and the description never explains its significance or rounding. With a coverage gap this size the description needs to compensate and does not, so it stays below the baseline 3.

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 sentence names a concrete resource ('bid and ask levels') scoped to a Hyperliquid coin and states the depth (top 10), so an agent knows exactly what data comes back. It does not explicitly contrast with siblings like hl_candles or hl_open_orders, which keeps it from 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 Guidelines2/5

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

There is no guidance on when to call this versus hl_candles (price history) or hl_open_orders (user's own resting orders), nor any note about prerequisites such as a valid coin symbol. Usage must be inferred entirely from the tool name and the one-line description.

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