Skip to main content
Glama

MAXPAIN · crypto liquidations & max pain

Hyperliquid account

hyperliquid_account
Read-only

Positions (size, entry, PnL, leverage, liquidation price), margin and open orders of a Hyperliquid wallet address (public on-chain data).

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

Input Schema

NameRequiredDescriptionDefault
addressYes0x wallet address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds one genuinely useful piece of context, 'public on-chain data', confirming no credentials or account linkage are required. It does not address behavior for an address with no positions, an unactivated account, or an invalid address, which is where an agent would most likely trip.

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 sentence, front-loaded with the highest-value output (positions) and free of filler. The sentence is a noun phrase rather than a statement of action, which slightly weakens scannability, but every clause earns its place.

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 one-parameter read tool with no output schema, describing the returned field groups is exactly the right compensation. Coverage of behavior in degenerate cases (no open positions, unactivated wallet) is the only meaningful gap, and that is a modest one.

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

Parameters3/5

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

With a single required parameter at 100% schema description coverage ('0x wallet address'), the schema already carries the semantics and the baseline of 3 applies. The description adds nothing about address format, chain, or case sensitivity, but nothing is missing either.

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 the exact resource (a Hyperliquid wallet address) and enumerates what it covers: positions with size, entry, PnL, leverage, liquidation price, plus margin and open orders. That is far more specific than the title 'Hyperliquid account'. It lacks an explicit verb and never names a sibling such as hyperliquid_market to contrast against, so it lands at 4 rather than 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 when-to-use guidance, no exclusion of alternatives, and no statement of prerequisites beyond the parenthetical 'public on-chain data'. An agent must infer from the field list that this is the read path for per-wallet state rather than per-market data. The implied scope is readable but never spelled out.

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