Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Funding rate history: hourly Hyperliquid perp funding rates and APR

hyperliquid_funding_history
Read-only

Past hourly funding rates of a Hyperliquid perpetual (BTC, ETH, SOL…): each rate with its premium and time, plus the average rate and its annualised APR over the window. Up to 500 hours back (default 24). Read from Hyperliquid's public API. Use to compare carry over time, spot funding regime changes, or backtest basis and funding-arbitrage strategies; for the current rate use hyperliquid_market. Example: coin=ETH. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hyperliquid_funding_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoCoin symbol such as BTC, ETH, SOL or HYPE (default ETH)
hoursNoHours of history, 1-500 (default 24)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / hours / maximum
      Previous value: -9007199254740991New value: +500
    • changedInput schema / properties / hours / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only and open-world annotations, it discloses the public API source, lookback limit, per-call price, payment options, free allowance, free failed calls, and charges for repeated calls. The statement that it only reads or computes and changes nothing is consistent with readOnlyHint=true and destructiveHint=false.

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 purpose and output are front-loaded, followed by useful limits, selection guidance, and operational details. It is somewhat dense and the final sentence partly repeats the billing and read-only information, but there is little genuinely irrelevant material.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool without an output schema, the description adequately covers returned content, source, history window, defaults, use cases, the current-rate alternative, and billing behavior. An agent has enough information to select, invoke, and interpret the tool correctly.

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 both coin and hours already have symbols, defaults, and range information. The description's 500-hour limit, 24-hour default, and coin=ETH example largely repeat that structured information rather than adding new parameter syntax or semantics.

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?

The description identifies the specific resource and operation: retrieving past hourly funding rates for a Hyperliquid perpetual. It also distinguishes the returned data—individual rates with premium and time, plus window average and annualised APR—and differentiates the tool from hyperliquid_market for current rates.

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?

It gives concrete use cases: comparing carry over time, spotting funding regime changes, and backtesting basis or funding-arbitrage strategies. The explicit instruction to use hyperliquid_market for the current rate supplies a clear when-not and alternative.

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.

Resources