Skip to main content
Glama

Scrooge

A perps account

get_perps_account
Read-only

A wallet's Hyperliquid account: its value, what can be withdrawn, and every open position with its size, entry, value, unrealized PnL, leverage and liquidation price.

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": {
      "wallet": "<wallet>"
    },
    "name": "get_perps_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesThe wallet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is known and the description need not repeat it. It adds value by disclosing the exact shape of the returned data, which matters since no output schema exists. It does not say what happens for a wallet with no Hyperliquid account (empty result vs. error) or whether the wallet must be an address string vs. an identifier.

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?

One sentence, front-loaded with the resource and then the return payload; every clause earns its place by naming a distinct field the caller will receive. No filler, no repetition of the title.

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?

Because there is no output schema, the description correctly takes on the burden of describing return values, and it does so field by field. What remains missing is thin but real: error/empty behavior for wallets without a perps account and any freshness or rate-limit note. For a single-parameter read tool, it is close to complete.

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?

There is a single parameter with 100% schema description coverage, so the schema does the documentation work; baseline is 3. The description adds nothing about the wallet argument — no address format, no network or eligibility constraints — that would go beyond 'The wallet' in 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?

The description names a specific resource — a wallet's Hyperliquid perps account — and enumerates exactly what the response contains: value, withdrawable amount, and open positions with size, entry, value, unrealized PnL, leverage and liquidation price. An agent can distinguish it from the many build_* order-construction siblings at a glance. It lacks an explicit verb ('Retrieve...'), but the noun phrase is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing tells the agent to call this before building a perps order, or how it relates to position-related siblings like list_limit_orders. Usage is only inferable from the subject matter of the description, and no alternative or exclusion is mentioned.

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