Skip to main content
Glama

WenLong: Hyperliquid trading for AI agents

Open positions

get_positions
Read-only

Open perpetual positions: side, size, entry, value, unrealized PnL, leverage, liquidation price.

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_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds value by enumerating the return payload, which matters because no output schema exists. It still omits behavior such as what is returned when no positions are open, or whether data is live or cached.

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?

One front-loaded sentence with a dense, purposeful field list and no filler. The compression comes at a small cost: 'value' is ambiguous (notional vs. position value) and the list is comma-run rather than structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a parameterless read tool the description covers the essential output shape, which compensates for the absent output schema. It is still thin on usage context, auth requirements, and freshness/empty-state behavior, which an agent may need before relying on the result.

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?

The tool takes zero parameters, so the baseline is 4; the description correctly implies the call is unfiltered and scoped to the authenticated account's perpetual positions. Nothing in the schema needs compensation.

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 and scope ('Open perpetual positions') plus the exact fields returned, so an agent knows this returns current perp positions rather than orders or account state. It stops short of a real verb phrase or an explicit contrast with siblings like get_open_orders or get_account.

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, no mention of prerequisites (e.g. account/auth context), and no routing to alternatives such as get_account or get_open_orders. The only implicit signal is that 'open' excludes historical or closed positions.

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