Skip to main content
Glama

positions_list

List all open positions across accounts with contract ID, size, average cost, and unrealized P&L. Filter by account to review portfolio exposure.

Instructions

List all open positions across all accounts, with conId, size, avgCost, 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": "positions_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoFilter by account

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It partially discharges this by naming the returned fields, but says nothing about data freshness (snapshot vs streaming), permission/auth requirements, or pagination. It also states 'across all accounts' without acknowledging the per-account filter, which could mislead an agent about scoping.

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 efficient sentence with the resource and scope front-loaded and no filler. The trailing field list is useful but slightly crowds what could be a cleaner statement of purpose.

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 one-optional-parameter list tool with no annotations and no output schema, the description covers the important ground by enumerating return fields. Remaining gaps (data freshness, session prerequisites, filtering behavior) are minor for a simple read.

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 coverage is 100% and the single optional 'account' parameter is fully documented in the schema, so the baseline of 3 applies. The description adds no filtering guidance and its 'across all accounts' framing sits in mild tension with the existence of that filter.

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 verb and resource ('List all open positions') and adds scope ('across all accounts') plus the returned fields (conId, size, avgCost, unrealized PnL). It is clearly distinguishable from siblings like orders_open_list or account_summary by resource, though it does not explicitly name an alternative.

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: a read-only listing of open positions is self-evidently for inspecting current holdings. There is no explicit when-to-use vs when-not, no mention of orders_open_list or portfolio_list as alternatives, and no prerequisites such as needing an active connection.

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

Deploy Server

Other Tools