Skip to main content
Glama

List Perps positions

perps_list_positions
Read-onlyIdempotent

Read-only. List Perps positions for the connected user. Use after executing to verify open positions.

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

Input Schema

NameRequiredDescriptionDefault
statusesNoOptional position statuses to filter by.
contractIdNoOptional numeric contract id from perps_list_contracts to scope the result to one contract. 0 is a real contract id — omit the argument to mean "all contracts".

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?

The annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the leading "Read-only." is largely redundant. The description adds the connected-user scoping, which is useful context, but says nothing about defaults (are closed positions returned when statuses is omitted?), pagination, or result shape for a tool with no output schema.

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?

Two short sentences, front-loaded with the read-only signal and the operation. The "Read-only." opener repeats the annotations, which is a minor waste, but nothing else is padded.

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 zero-required-param list tool the description covers the bare essentials, and annotations handle the safety profile. However, with no output schema an agent would benefit from knowing what a position record contains and what the default status filter is, and neither is stated.

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 description coverage is 100%, including the important contractId=0 caveat, so the schema carries parameter meaning. The description adds no syntax, defaults, or filter semantics beyond what the schema already documents; baseline 3 applies.

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?

States a specific verb and resource ("List Perps positions") and scopes it to the connected user, which is more than the title alone. It doesn't explicitly distinguish itself from perps_list_orders or perps_get_order, so the agent must infer the positions-vs-orders split.

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?

"Use after executing to verify open positions" gives one concrete usage moment, which is real guidance. It offers no exclusions and no alternatives (e.g. nothing pointing to perps_get_order or perps_list_orders for different needs), so the guidance is implied rather than complete.

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