Skip to main content
Glama

Ironflow: Hyperliquid data

Funding statistics

get_funding_stats
Read-only

What is a Hyperliquid perp's average or annualized funding? Funding statistics per time bucket: average, minimum, maximum and annualized rate.

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": {
      "market": "<market>"
    },
    "name": "get_funding_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of data points (default 7)
marketYesMarket: BTC-PERP, xyz:NVDA-PERP, HYPE/USDC, or a Hyperliquid name (BTC, @107, xyz:NVDA)
intervalNoTime interval (1h, 4h, 8h, 1d, 7d). Default: 1d

Output Schema

NameRequiredDescriptionDefault
dataNoBuckets
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

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. First observed

TDQS

A3.5/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 safety profile is covered. The description adds that output is bucketed by time interval and includes four computed statistics, but it says nothing about pagination, default window, or how buckets are aligned. Enough to set expectations, not enough to be rich.

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?

Two short clauses, question first and answer second, with zero filler. The only mild inefficiency is that the question and the answer overlap in naming funding statistics.

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, three-parameter tool with a full output schema, the definition covers what the tool computes and how results are bucketed. The one missing element is positioning against get_funding_rates, which an agent would want when choosing between the two.

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%, and every parameter (market, interval, limit) has an inline description with defaults and an enum for interval. The description adds no parameter-level meaning beyond that, so the 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?

The description uses a specific verb+resource framing ('Funding statistics per time bucket: average, minimum, maximum and annualized rate'), which clearly tells an agent this returns aggregated funding metrics rather than raw funding data. It does not explicitly distinguish itself from the close sibling get_funding_rates, leaving a reader to infer the aggregation difference.

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 opening question ('What is a Hyperliquid perp's average or annualized funding?') implies the use case of summarizing funding over buckets, but there is no explicit when-to-use or when-not guidance. No alternative tool is named, even though get_funding_rates sits in the same family.

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.