Skip to main content
Glama

Ironflow: Hyperliquid data

Wallet PnL curve

get_user_pnl_series
Read-only

Realized PnL of one Hyperliquid wallet over time: buckets with realized PnL and fees paid in each, by default daily over the last 30 days. Add the buckets up for a running PnL curve. Realized only: unrealized PnL on open positions is in get_user_state. For totals over a range use get_user_summary.

Input Schema

NameRequiredDescriptionDefault
toNoWindow end: Unix ms or seconds, or ISO 8601 (2026-10-01T00:00:00Z). Default now
fromNoWindow start: Unix ms or seconds, or ISO 8601 (2026-10-01T00:00:00Z). Default 30 days ago
addressYes0x-prefixed 20-byte hex address
bucket_msNoBucket size in milliseconds: 3600000 for hourly, 86400000 for daily (default)

Output Schema

NameRequiredDescriptionDefault
toNoWindow end, Unix milliseconds
dataNoBuckets
fromNoWindow start, Unix milliseconds
bucketNoBucket size
noticeNoPresent 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
addressNoWallet address (0x…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / bucket_ms / description
      Previous value: -"Bucket size in ms (e.g. 3600000 for 1h)"New value: +"Bucket size in milliseconds: 3600000 for hourly, 86400000 for daily (default)"
    • 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, or ISO 8601 (2026-10-01T00:00:00Z). Default 30 days ago"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true/openWorldHint=true, so the safety profile is covered; the description instead adds the semantic trait that matters — results are incremental buckets, not a cumulative series, which the caller must sum. It does not mention limits on range width or how many buckets can be requested, which is the remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: what it returns first, then the aggregation hint, then the two sibling redirects. No filler, and the most decision-relevant information (realized-only, bucketed) is front-loaded.

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 read-only tool with a full input schema, an output schema, and correct sibling routing, essentially everything needed to call it is present. The only shortfall is no guidance on acceptable window sizes or bucket-count limits, which matters for a time-series endpoint with open-ended from/to.

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%, including formats and defaults for from/to/bucket_ms, so the baseline is 3. The description's 'by default daily over the last 30 days' merely restates the schema defaults and adds no new syntax or constraint information about the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: realized PnL of one Hyperliquid wallet over time, bucketed, defaulting to daily over 30 days. It explicitly separates itself from get_user_state (unrealized) and get_user_summary (range totals), so an agent can pick it without opening a schema.

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

Usage Guidelines5/5

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

Names both alternatives and the exact condition that routes to each: unrealized PnL belongs in get_user_state, range totals in get_user_summary. It also implies the correct use case (building a running curve by summing buckets) with nothing 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.