Skip to main content
Glama

get_futures_account

Read-onlyIdempotent

Read Hyperliquid futures account equity, margin, positions, and drawdown state, separating API signer from equity owner for delegated wallets so agents can assess loss pressure.

Instructions

[Capability: available_with_tier_gate; tier: pioneer_plus_or_x402; API: /api/v1/agent/futures/account-state; authority: /api/v1/agent/status] Read Hyperliquid equity, margin, positions, and drawdown state with Pioneer, Syndicate, or eligible route x402 access. Identify the API signer and equity owner separately for delegated wallets. Hyperliquid verifies the venue relationship and ambiguous history fails closed. Daily and weekly values measure loss-pressure, a subset of performance evidence.

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": {
      "agentAddress": "<agentAddress>"
    },
    "name": "get_futures_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentAddressYesPublic EVM address of the direct signer or delegated Hyperliquid API wallet.
accountAddressNoPublic EVM address of the master or subaccount owning the equity. Omit only for a direct signer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / accountAddress / description
      Added value: +"Public EVM address of the master or subaccount owning the equity. Omit only for a direct signer."
    • addedInput schema / properties / agentAddress / description
      Added value: +"Public EVM address of the direct signer or delegated Hyperliquid API wallet."
  2. First observedv5.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses a tier gate, the authority endpoint, delegated-wallet signer/owner separation, and a fail-closed verification rule for ambiguous history — real behavioral context not available in structured fields. Return formatting and any pagination or rate-limit behavior are still unstated.

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-loads a compact metadata bracket (capability, tier, API, authority) followed by three dense sentences that each carry distinct information. It is jargon-heavy for an agent parsing quickly, but there is no filler and nothing redundant.

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?

With no output schema, the description carries the return-value burden and does so reasonably: it enumerates equity, margin, positions, and drawdown, and caveats that daily/weekly values measure loss-pressure rather than full performance. Minor gaps remain around response shape, but the agent has enough to call and interpret it.

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 schema already explains both addresses including 'Omit only for a direct signer.' The description's 'identify the API signer and equity owner separately for delegated wallets' reinforces that model but adds little syntax or format detail beyond what the schema provides, so baseline 3 applies.

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: 'Read Hyperliquid equity, margin, positions, and drawdown state.' That is concrete enough for an agent to know what it returns. It never names a sibling (e.g., get_position_health or get_portfolio_summary), so differentiation from adjacent account/health tools is left to inference.

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?

Access conditions are spelled out ('Pioneer, Syndicate, or eligible route x402 access'), which tells the agent when the call will succeed. But there is no guidance on when to prefer this over sibling tools like get_portfolio_summary or get_position_health, and no explicit exclusions, so usage is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools