Skip to main content
Glama

Ironflow: Hyperliquid data

Recent trades

get_recent_trades
Read-only

What just traded on a Hyperliquid market? The latest tick-level trades from our own nodes: price, size, side and block time. Covers native perps, HIP-3 builder markets, HIP-4 outcomes and spot.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of trades to return (1-100, default 20)
marketYesMarket: BTC-PERP, xyz:NVDA-PERP, HYPE/USDC, or a Hyperliquid name (BTC, @107, xyz:NVDA)

Output Schema

NameRequiredDescriptionDefault
dataNoTrades, newest first
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
paginationNoCursor pagination

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?

Beyond the readOnlyHint/openWorldHint annotations, the description adds real value by disclosing data provenance ('our own nodes') and market-type coverage (native perps, HIP-3 builder markets, HIP-4 outcomes, spot). It does not discuss freshness/latency expectations, whether the result is a rolling window, or rate limits, which matter for a 'latest trades' feed.

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 tight sentences, front-loaded with the user-facing question, followed by scope and coverage details. No filler, though the coverage sentence is somewhat list-like and could be merged more economically.

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?

With an output schema present and annotations covering the safety profile, the description only needs to establish what the tool returns and over which markets, and it does both. Minor residual gap: no statement about how recent 'recent' is or how many trades the feed can page through.

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 coverage is 100%, so both parameters are already documented with defaults and examples, making 3 the baseline. The description indirectly expands valid market values by stating the tool covers spot, outcomes and builder markets, but adds nothing about the limit parameter or market-string conventions beyond the schema.

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+resource: latest tick-level trades for a given Hyperliquid market, and even enumerates the returned fields (price, size, side, block time). It distinguishes itself somewhat from aggregate siblings (candles) via 'tick-level', but never explicitly names how it differs from the closest sibling, get_fills.

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 just traded on a Hyperliquid market?' implies the usage scenario (checking the live tape for a market). There is no explicit when-not guidance and no reference to alternatives such as get_fills for user-specific fills or get_candles for aggregated history, so the agent must infer the boundary.

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.