Skip to main content
Glama

Ironflow: Hyperliquid data

Wallet funding payments

get_user_funding
Read-only

How much funding did a Hyperliquid wallet pay or receive? Per market per bucket: Hyperliquid's own ledger, every hourly payment back to September 2025 (Hyperliquid's API returns only daily totals that far back). Positive means received, negative means paid. bucket=1d gives daily totals, 1h the hourly payments.

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_funding"
  }
}

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)
limitNoMost recent rows to return (default 200)
bucketNoAggregation bucket; default 1d
marketNoOptional market filter: BTC-PERP or a Hyperliquid name (BTC, xyz:NVDA)
addressYes0x-prefixed 20-byte hex address

Output Schema

NameRequiredDescriptionDefault
toNoWindow end, Unix milliseconds
dataNoBuckets
fromNoWindow start, Unix milliseconds
bucketNoBucket size
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…)
returnedNoRows in data, most recent first
total_rowsNoRows in the window before the limit

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

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses the data source (Hyperliquid's own ledger), the historical coverage (hourly back to September 2025, because the upstream API only returns daily totals that far back), and the sign convention (positive = received, negative = paid). The sign convention in particular is behavior an agent could not infer from annotations or schema.

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 core question is front-loaded in the first sentence and every later clause carries information: coverage, sign convention, bucket semantics. The middle 'Per market per bucket:' fragment is slightly awkward, but nothing is 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?

An output schema exists, so return values need not be described, and the description covers the non-obvious parts: data provenance, historical limit, and value sign. It leaves out pagination/limit interaction with buckets, but for a read-only query tool with a fully documented schema this is close to complete.

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 all six parameters are already documented, establishing a baseline of 3. The description adds a little meaning to the bucket parameter (1d = daily totals, 1h = hourly payments) and frames results as per-market per-bucket, but does not explain 'raw' or how limit interacts with aggregation.

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: how much funding a Hyperliquid wallet paid or received, with market and bucket scoping. This clearly separates it from market-level siblings like get_funding_rates/get_funding_stats, but no sibling is named, so the differentiation is inferred rather than stated.

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?

Usage is implied through the bucket explanation (bucket=1d for daily totals, 1h for hourly payments), which helps an agent pick a granularity. There is no explicit when-to-use/when-not guidance and no pointer to alternatives such as get_user_ledger or get_funding_stats for related data.

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.