Skip to main content
Glama
Orderly Trading MCP

Orderly Trading MCP

Official

List open positions

positions_list
Read-onlyIdempotent

Lists open positions with account value, free collateral, and margin ratios, optionally filtered by PERP or BINARY. Re-read after fills before closing or sizing orders because quantities can lag briefly.

Instructions

List open positions plus account value, free collateral and margin ratios. Use product_type=BINARY for Orderly Predict positions (positive quantity is UP, negative is DOWN). Position quantities can lag a moment after a fill; re-read before closing or sizing a new order.

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

Input Schema

NameRequiredDescriptionDefault
accountNoAccount ID (auto-resolves if single account)
networkNoNetwork override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
product_typeNoFilter by product type: PERP or BINARY One of: PERP, BINARY.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, non-destructive, and open-world behavior, so the description's distinctive contribution is the eventual-consistency disclosure: quantities can lag a moment after a fill, so the agent should re-read before acting on them. That is a genuine behavioral trait not encoded in any structured field. The BINARY sign convention (positive = UP, negative = DOWN) further adds interpretation the annotations cannot provide.

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?

Three sentences, front-loaded with the core action and return payload, then the mode-specific rule, then the staleness caveat. Every sentence carries actionable information and nothing is padded.

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?

With no output schema, the description correctly names the salient returned values (account value, free collateral, margin ratios) rather than leaving the return shape unknown. For a zero-required-parameter listing tool whose safety profile is fully covered by annotations, the remaining gaps are minor, such as whether results are paginated or unfiltered by default.

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?

Schema description coverage is 100%, so the baseline would be 3. The description earns above baseline by explaining what BINARY actually means (Orderly Predict) and how quantities are signed in that mode, which the enum values PERP/BINARY alone do not convey. account and network get no extra explanation, but their schema descriptions are already sufficient.

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 opens with a specific verb and resource ("List open positions") and adds what else comes back (account value, free collateral, margin ratios), so the agent knows exactly what this retrieves. It does not explicitly distinguish itself from the read siblings like account_balance or positions_close, but the read-vs-close distinction is inferable from the verb.

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

Usage Guidelines4/5

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

It gives a concrete conditional instruction: use product_type=BINARY for Orderly Predict positions, which is exactly the situation an agent would otherwise get wrong. It also warns to re-read before closing or sizing a new order, implying when a fresh call is warranted. It stops short of naming an alternative tool or stating when not to use it.

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