Skip to main content
Glama

Ironflow: Hyperliquid data

Wallet ledger

get_user_ledger
Read-only

Where did a Hyperliquid wallet's money come from or go? Vault deposits, withdrawals and transfers for the wallet, including account deposits and withdrawals and transfers the wallet received. Positive amounts go into the account.

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

Input Schema

NameRequiredDescriptionDefault
toNoWindow end: Unix ms or seconds, ISO 8601 (2026-10-01T00:00:00Z), or relative (-7d, -24h, now)
fromNoWindow start: Unix ms or seconds, ISO 8601 (2026-10-01T00:00:00Z), or relative (-7d, -24h, now)
limitNoMax entries, default 1000, cap 10000
addressYes0x-prefixed 20-byte hex address
event_typesNoComma-separated type filter (deposit,withdrawal,vault_deposit,vault_withdraw,vault_transfer_in,vault_transfer_out)

Output Schema

NameRequiredDescriptionDefault
toNoWindow end, Unix milliseconds
dataNoLedger entries
fromNoWindow start, Unix milliseconds
noticeNoA note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key
addressNoWallet address (0x…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / notice / description
      Previous value: -"Present when the API added a note: how a market name was read, that data starts later than asked because of the history window, or a next step such as a free key"New value: +"A note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key"
  2. Changed2 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Window start: Unix ms or seconds, or ISO 8601 (2026-10-01T00:00:00Z)"New value: +"Window start: Unix ms or seconds, ISO 8601 (2026-10-01T00:00:00Z), or relative (-7d, -24h, now)"
    • changedInput schema / properties / to / description
      Previous value: -"Window end: Unix ms or seconds, or ISO 8601 (2026-10-01T00:00:00Z)"New value: +"Window end: Unix ms or seconds, ISO 8601 (2026-10-01T00:00:00Z), or relative (-7d, -24h, now)"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The final sentence discloses a genuinely useful behavioral trait beyond the annotations: the sign convention that positive amounts are inflows. Annotations already declare readOnlyHint and openWorldHint, so safety is covered, and an output schema exists; however, nothing is said about pagination behavior, limits in practice, or whether the ledger is complete historical coverage.

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?

Three short sentences, front-loaded with the motivating question and the scope enumeration, with no filler. The rhetorical question opening is slightly less efficient than a declarative scope statement but still earns its place as a framing device.

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?

With five parameters, a required address, full schema coverage, an output schema, and read-only annotations, most structured burden is already carried elsewhere, so the description only needs to cover scope boundaries. It does not state what the ledger excludes (funding, trades, transfers sent by the wallet vs received), which is the main remaining ambiguity in a crowded tool family.

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 description coverage is 100%, so the schema already explains from/to window formats, the limit cap, and the event_types filter values. The description adds no format or filtering nuance beyond that, so the baseline of 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?

The description names a concrete verb-and-resource: a wallet's money-flow ledger, enumerated as vault deposits, withdrawals, transfers, account deposits/withdrawals, and inbound transfers. That is specific enough to distinguish it from a plain balance or PnL tool, but it never names a sibling such as get_user_funding or get_fills to sharpen the boundary.

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?

The framing question "Where did a Hyperliquid wallet's money come from or go?" implies the use case (auditing capital flows) but there is no explicit statement of when to prefer this over alternatives, nor any exclusion of what it does not cover, such as funding payments or trading PnL.

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.