Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-hyperliquid-account

x402-hyperliquid-account: Hyperliquid perpetual account state for any address — account value, total notional position, margin used, maintenance margin, withdrawable balance, and the raw open positions. Public on-chain data: pass any 0x address you want to inspect, including your own, a counterparty's, or a whale's.

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": {
      "address": "<address>"
    },
    "name": "x402-hyperliquid-account"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNo
walletNo
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "address"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / address / description
      Removed value: -"Address to process"
    • removedInput schema / properties / user / description
      Removed value: -"User to process"
    • removedInput schema / properties / wallet / description
      Removed value: -"Wallet to process"
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and it does disclose that the data is public on-chain and readable for arbitrary addresses, which is meaningful context. It omits the payment/x402 cost model implied by the tool name, whether errors occur on unknown or non-Hyperliquid addresses, and any rate limits — notable gaps for a zero-annotation tool.

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?

The resource and returned fields are front-loaded in the first sentence, and the second sentence efficiently covers the address scope. It is dense but well ordered, with only slight redundancy in restating the tool name at the start.

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?

The enumeration of returned fields compensates for the absence of an output schema, and the public-data note covers the missing annotations for read semantics. But with 0% schema coverage on three parameters and no explanation of the two optional address-like fields, the definition does not fully cover what an agent needs to invoke it correctly.

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 description coverage is 0% across three parameters, and the description only explains `address` (a 0x value). The optional `user` and `wallet` properties are completely undocumented in both schema and description, so an agent cannot know whether they are aliases, fallbacks, or something distinct. The format hint for `address` is the only value added.

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 states a concrete resource (Hyperliquid perpetual account state) and enumerates the exact fields returned — account value, notional position, margin used, maintenance margin, withdrawable balance, raw positions. It does not explicitly distinguish itself from the sibling x402-hyperliquid-perps, but the account-level framing is clear enough for an agent to recognize it.

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 tells the agent the address can be any 0x address — one's own, a counterparty's, or a whale's — and that the data is public on-chain, which implies read-only usage. However, it never states when to prefer this over a sibling like x402-hyperliquid-perps or the book/mids tools, leaving the routing decision 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.