Skip to main content
Glama
Pariflow Agent MCP

Pariflow Agent MCP

List Perpetual Positions

list_perp_positions
Read-onlyIdempotent

List open perpetual futures positions with entry price, mark price, leverage, and unrealized PnL, filterable by LIVE, DEMO, or ALL account types.

Instructions

List the authenticated user open perpetual futures positions with entry price, mark price, leverage, and unrealized PnL.

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

Input Schema

NameRequiredDescriptionDefault
accountTypeNoALL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful scope ('authenticated user', 'open' positions only, listed return fields), but omits behavior such as whether DEMO and LIVE accounts are mixed by default, pagination, or what an empty result means.

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 sentence, front-loaded with the verb and resource, with no filler. It is dense but well ordered (scope, then returned fields); a short clause on accountType would cost little and help more.

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?

With no output schema, listing entry price, mark price, leverage, and unrealized PnL usefully conveys the return shape, which is a real strength. However, for a tool with a non-obvious account-scoping enum and no annotations about filtering behavior, the description leaves a key caller decision (which account type) unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single accountType parameter has 0% schema description coverage and the description never mentions it, so the LIVE/DEMO/ALL selector and its ALL default are undocumented outside the bare enum. The description therefore does not compensate for the schema gap, leaving an important filter unexplained.

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 (List) and resource (open perpetual futures positions) scoped to the authenticated user, plus the fields surfaced. An agent can distinguish it from list_orders or list_perps because the resource is explicitly 'positions' with PnL/leverage fields, not orders or market metadata.

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 by the purpose statement ('list ... open ... positions'); there is no explicit when-to-use framing, no mention of when to prefer list_orders versus this tool, and no statement that it only returns open (not closed) positions. Adequate context, but no routing guidance to alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.