Skip to main content
Glama

WenLong: Hyperliquid trading for AI agents

Account balance

get_account
Read-only

The account's balance: perp equity, free margin (available), margin in use, spot USDC, per extra dex.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the set of returned metrics, which is real behavioral value given there is no output schema, but it does not state whether an authenticated account is required, what happens when no account is connected, or how the 'per extra dex' breakdown is keyed.

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?

A single front-loaded sentence listing the returned fields, with no filler. It is slightly clipped to the point of ambiguity in the phrase 'per extra dex', which a reader must guess means additional perpetual DEX accounts.

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 trivial zero-argument read with no output schema, the description covers the essential gap by enumerating what comes back. The remaining shortfall is that units/denomination and the shape of the per-dex section are left unclear, which matters since there is no output schema to consult.

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?

There are zero parameters and the schema coverage is 100%, so there is nothing for the description to clarify about inputs. The baseline of 4 applies; the description correctly avoids wasting words on nonexistent arguments.

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 (the account's balance) and enumerates the concrete components returned: perp equity, free margin, margin in use, spot USDC, and per-dex balances. This is clearly a balances snapshot rather than orders or positions, so it is distinguishable from siblings like get_positions and get_open_orders, though it never explicitly contrasts itself with them.

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 only implied: an agent infers this is the tool to call when it needs account equity or available margin. There are no explicit when-to-use or when-not-to-use statements and no named alternatives (e.g., use get_positions for exposure detail). For a zero-parameter read this is acceptable but bare.

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