Skip to main content
Glama

portfolio_list

Fetch portfolio positions for an account, including market value and unrealized/realized PnL, to monitor holdings and performance.

Instructions

Get portfolio positions with market value, unrealized/realized PnL from the account model.

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

Input Schema

NameRequiredDescriptionDefault
accountNoAccount ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden: it does disclose the returned fields (market value, realized/unrealized PnL), which implies a read-only snapshot. However, it says nothing about data freshness, whether the optional account parameter defaults to a primary account, permission requirements, or whether realized PnL covers a lifetime or a period — meaningful gaps for a financial data tool with zero annotation coverage.

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 front-loaded sentence that names the resource first and the returned values second, with no filler. It is efficient, though the vague phrase 'from the account model' consumes space without adding actionable meaning.

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 one-parameter read tool with no output schema, the description usefully enumerates the main return fields, which compensates somewhat for the absent output schema. It is still incomplete on the optional-account default and on how it relates to the other position/PnL tools in the catalog.

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% and the single parameter ('account', 'Account ID') is documented in the schema, so the baseline of 3 applies. The phrase 'from the account model' hints at account scoping but adds no format, default, or multi-account semantics beyond the schema.

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 ('Get') and resource ('portfolio positions') plus the payload it returns (market value, unrealized/realized PnL), which lets an agent predict the response shape. It does not differentiate itself from sibling tools like positions_list or account_summary, so it stops short of a 5.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named despite positions_list, account_summary, and portfolio_greeks being plausible overlapping choices. Usage can only be inferred from the purpose sentence, and the role of the optional account parameter (default account vs. all accounts) is never addressed.

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