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; perp_account_value is the native perp account and account_mode default, unifiedAccount, portfolioMargin or disabled) and max_drawdown_pct is account-level and all-time (null when the wallet has too little equity history to say, and for unified and portfolio-margin wallets), 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

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description goes further by disclosing data provenance (the pipeline behind vike.io/hyperliquid/wallets) and the non-obvious semantics of roi_pct (window realized PnL over CURRENT account value, including unified/portfolio-margin totals) and max_drawdown_pct (account-level, all-time, null when equity history is thin or for unified/portfolio-margin wallets). It does not describe the per-trader return shape, which with no output schema is a remaining gap.

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

Conciseness3/5

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

The lead sentence and the example queries are well front-loaded and short. The closing sentences, however, collapse provenance, unit conventions, roi_pct's denominator, account_mode enumeration, and drawdown null-conditions into one dense multi-parenthetical run-on that is hard to parse on first read.

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 7-parameter read-only ranking tool with no output schema, the definition covers what is ranked, how to filter, and how the trickiest metrics are computed and when they are null. What is missing is any indication of the response payload (per-wallet fields returned) or result-size behavior, which an agent would need without an output schema.

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 earns credit above it by pinning down units and edge cases the schema does not: win_rate as percent 0-100, roi_pct's denominator being current account value rather than window-start equity, the account_mode value set (unifiedAccount, portfolioMargin, disabled), and when drawdown comes back null. That materially changes how an agent should interpret and filter results.

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 opening sentence gives a specific verb ("Rank") plus the exact resource ("Hyperliquid perp wallets") and enumerates the metrics ranked on and the time-window scoping. It is unambiguous on its own, though it never names a differentiating sibling such as hl_leaderboard, so an agent must infer the boundary from names alone.

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?

Two concrete example questions ("top HL traders with win rate > 75%", "best HL perp wallets last 7d") give a clear picture of the query shapes this tool serves. There is no explicit when-not guidance or named alternative, so it stops short of full routing guidance.

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.