Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-hyperliquid-book

x402-hyperliquid-book: Hyperliquid L2 order book for one perpetual, with derived microstructure a trading agent actually uses — best bid/ask, spread in ticks and basis points, midpoint, and bid/ask depth imbalance over the requested levels. Thin books and lopsided depth are how you spot a bad fill before you send it.

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": "x402-hyperliquid-book"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinYes
depthNo
symbolNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "coin"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / coin / description
      Removed value: -"Coin to process"
    • removedInput schema / properties / depth / description
      Removed value: -"Depth to process"
    • removedInput schema / properties / symbol / description
      Removed value: -"Symbol to process"
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the returned metrics and the filtering behavior ("over the requested levels"), but it never states whether this is a read-only snapshot, whether the call is paid, rate-limited, or how stale the book may be.

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 sentences, front-loaded with the resource, then the payoff. The leading tool-name prefix is slightly redundant, but the remainder is dense with useful specifics and contains no filler.

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, and the description usefully enumerates the returned microstructure fields, which covers that gap. It is still incomplete for a three-parameter tool, because neither the coin/symbol relationship nor the depth format is explained anywhere.

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 is 0% across three parameters, so the description must compensate; it partially does by implying depth means requested book levels. But the distinction between the required coin and the optional symbol is never addressed, leaving that ambiguity unresolved for the agent.

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 and scope: "Hyperliquid L2 order book for one perpetual," plus the derived fields it returns. It distinguishes itself from spot-book siblings by scope, though it does not name any sibling tool explicitly.

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?

Usage is implied through the trading scenario ("spot a bad fill before you send it"), which gives the agent a clear motivating context. However, there is no explicit when-to-use rule, no exclusions, and no pointer to alternatives such as a mids or perps listing tool.

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