Skip to main content
Glama

Hyperliquid PreFlight

hl_account_audit

Read-only

Permission and risk review of a Hyperliquid account: pass the master or sub-account address, not an agent wallet. Returns approved builders and the max fee each may charge, active agent (API) wallets and their expiry, open positions near liquidation across native and HIP-3 dexes, open order counts, account mode. Read-only, not financial advice; you are not charged if Hyperliquid data cannot be fetched. Never places orders. Price $0.01 per call via x402 (see the server instructions for how to pay). Arguments are described in inputSchema.

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": {
      "user": "<user>"
    },
    "name": "hl_account_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesMaster or sub-account address (0x + 40 hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 description's main additions are the pricing model ($0.01 per call via x402) and the no-charge guarantee if Hyperliquid data cannot be fetched — useful commercial behavior context. It stops short of latency, rate limits, or result-size behavior, which is the higher bar for a paid read 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?

Front-loaded with the purpose and intended input before the return payload and pricing, so an agent gets the essential facts immediately. The sentence is dense but each clause (returns, billing, no orders) carries information; minor cost is the redundant pointer to inputSchema.

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?

No output schema exists, yet the description enumerates the returned fields well enough to judge fitness, and the sole parameter, safety profile, and billing behavior are all covered. Only residual gap is whether lists (e.g. positions, agent wallets) are truncated or capped, which an agent might want before calling.

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?

Schema coverage is 100% and the single 'user' parameter is already documented with format (0x + 40 hex) and the master/sub-account meaning. The description's contribution is the added exclusion of agent wallets, which is genuinely beyond the schema, but the closing line 'Arguments are described in inputSchema' explicitly defers the rest, so the net addition is small.

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?

States a specific verb and resource ('Permission and risk review of a Hyperliquid account') and enumerates what it returns: approved builders with max fees, agent wallets and expiry, positions near liquidation across native and HIP-3 dexes, order counts, account mode. That output enumeration effectively separates it from risk-adjacent siblings like hl_pretrade_check, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives a concrete input constraint with an exclusion ('pass the master or sub-account address, not an agent wallet'), which is real when-not-to guidance at the parameter level, and clarifies it never places orders. It does not state when to choose this over hl_pretrade_check, so tool-level routing is left 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.