Skip to main content
Glama

goseli data API: Polymarket, Hyperliquid P&L, Telegram gift floors

Hyperliquid wallet P&L

hyperliquid_wallet_pnl
Read-only

Hyperliquid wallet P&L: day/week/month/all-time P&L and volume from Hyperliquid's portfolio endpoint, open perp positions with unrealized P&L, and realized P&L by calendar year from fills (closed P&L - fees + funding; up to the latest 10,000 fills). Source: Hyperliquid info API. Price: $0.03 per call via x402 after the free daily quota.

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": {
      "address": "<address>"
    },
    "name": "hyperliquid_wallet_pnl"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesEVM address (Polymarket: the proxy wallet shown on the profile)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: source is Hyperliquid's info API, cost is $0.03 per call via x402 after a free daily quota, realized P&L is calculated as closed P&L minus fees plus funding, and the fill history is capped at the latest 10,000 fills. These are exactly the operational details an agent needs before calling.

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

Conciseness5/5

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

The single dense sentence is front-loaded with the tool's identity and output scope, followed by mechanics and cost. Every clause adds usable information, with no filler.

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 read-only aggregation tool with no output schema, the definition covers the data sources, time periods, calculation method, fill limit, and cost. The remaining schema details for the address are fully documented in the input schema.

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%, and the schema already documents the single address parameter with its EVM pattern and Polymarket proxy-wallet hint. The description adds no additional parameter meaning, so the baseline 3 is appropriate.

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?

Provides a specific verb/resource and enumerates exactly what the tool returns: day/week/month/all-time P&L and volume, open perp positions with unrealized P&L, and realized P&L by calendar year from fills. The Hyperliquid source and name clearly distinguish it from polymarket_wallet_pnl.

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?

Usage is implied by the detailed contents and Hyperliquid source, but the description gives no explicit when-to-use, when-not-to-use, or sibling-alternative guidance. An agent can infer this is the Hyperliquid P&L tool, but the routing guidance is not explicit.

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