Skip to main content
Glama

Hyperliquid Perp Top Traders

hl_perp_top_traders
Read-onlyIdempotent

Rank top Hyperliquid perp wallets by PnL / ROI / win rate / volume / trade count within a time window. Use for questions like 'top HL traders with win rate > 75%' or 'best HL perp wallets last 7d'. Data comes from the same pipeline that backs vike.io/hyperliquid/wallets. Use win_rate expressed as percent (0-100). roi_pct is window realized PnL over the CURRENT account value (a unified or portfolio-margin wallet's whole value, native + builder + USDC outside them) and max_drawdown_pct is account-level and all-time (null when the wallet has too little equity history to say, and for those two modes), both in percent (12.5 = 12.5%).

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": "hl_perp_top_traders"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoNumber of traders (default 20, max 100)
sortNoSort metric (default pnl)pnl
orderNoSort direction (default desc)desc
windowNoTime window (default 30d)30d
min_tradesNoMinimum trade count (default 3)
min_volumeNoMinimum volume USD (default 0 = no filter)
min_win_rateNoMinimum win rate as percent 0-100 (default 0 = no filter)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / size / default
      Previous value: -10New value: +20
    • changedInput schema / properties / size / description
      Previous value: -"Results per page (default 10, max 20)"New value: +"Number of traders (default 20, max 100)"
    • changedInput schema / properties / sort / enum
      Previous value: -[
      -  "pnl",
      -  "roi",
      -  "win_rate",
      -  "volume",
      -  "trade_count",
      -  "drawdown"
      -]New value: +[
      +  "pnl",
      +  "roi",
      +  "win_rate",
      +  "volume",
      +  "trade_count",
      +  "drawdown",
      +  "account_value",
      +  "long_pnl",
      +  "short_pnl"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, and the description adds substantive, non-obvious semantics: roi_pct is window realized PnL over the CURRENT whole-account value (including native, builder and off-account USDC), while max_drawdown_pct is all-time and account-level. It also discloses null behavior when equity history is insufficient. The phrase 'and for those two modes' is left undefined, which is the main transparency gap.

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?

Purpose and example queries are front-loaded, and the caveats about metric definitions follow logically. The final sentence is dense and carries an underspecified clause ('those two modes'), and the vike.io pipeline attribution is of marginal value to an agent choosing a tool.

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 7 optional parameters and no output schema, the description does a good job of defining the metrics an agent will rank by and filter on, which effectively previews the key returned fields. It does not sketch the returned record structure or describe ordering/pagination beyond the schema's size limit, which is the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it defines what the 'roi' and 'drawdown' sort enum values actually compute and confirms win_rate is on a 0-100 scale. It leaves the remaining enum values (account_value, long_pnl, short_pnl) and filter interaction behavior undefined.

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 first sentence gives a specific verb (rank) plus the exact resource (Hyperliquid perp wallets) and the rankable metrics, so the tool's function is unmistakable. It does not explicitly differentiate itself from close siblings such as hl_leaderboard or hl_cohort_metrics, which leaves some overlap for the agent to disambiguate.

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

Usage Guidelines4/5

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

Concrete example queries ('top HL traders with win rate > 75%', 'best HL perp wallets last 7d') make the intended use case clear and demonstrate how filters combine. There is no explicit when-not guidance or named alternative for overlapping goals like cohort metrics or a single-wallet lookup.

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.