Skip to main content
Glama

List my portfolios

list_portfolios
Read-only

Retrieve the signed-in user's virtual portfolios with computed summaries—name, currency, value, day change, cost basis, return, and position counts—when they ask about their own holdings or accounts.

Instructions

Use when the user refers to THEIR portfolio(s) or holdings — e.g. "my portfolios", "what portfolios do I have", "how are my investments doing", "show my holdings", "my account". Lists the signed-in Bullrun user's virtual portfolios with computed summaries: name, base currency, total value (USD), day change, cost basis and total return, plus position counts. Start here when a portfolio question doesn't name a specific portfolio, then pass a portfolioId to get_portfolio_context or get_portfolio_analytics. Requires connecting this server to a Bullrun account (OAuth, read:portfolios scope) — it returns that user's own data only. privacyMode defaults to "full" (includes absolute $ amounts); pass "weights_only" to hide absolute money and return only relative figures (returns %, counts). Read-only.

Input Schema

NameRequiredDescriptionDefault
privacyModeNo"full" (default) includes absolute $; "weights_only" hides cash/value/cost-basis and keeps only %.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations by disclosing the OAuth requirement and read:portfolios scope, that only the authenticated user's own data is returned, and the privacyMode default ('full' returns absolute $ vs 'weights_only' strips cash/value/cost basis). These are material behavioral facts an agent cannot infer from structured fields.

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?

Front-loaded with the 'Use when...' trigger and concrete user phrasings, then routing, then auth/privacy caveats. Each sentence serves a purpose, though the long list of example utterances and the return-field enumeration make it denser than strictly necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by enumerating the returned fields and noting position counts and computed summaries. Combined with the routing guidance, auth requirements, and default privacy behavior, an agent has everything needed to invoke it correctly and interpret the result.

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 coverage is already 100% for the single privacyMode parameter, but the description adds practical meaning: that the default is 'full' and what 'weights_only' actually hides versus preserves. It does not add example values or caveats beyond that, so it is a modest improvement over the schema rather than a full substitute.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Lists') and resource ('signed-in Bullrun user's virtual portfolios') and enumerates the computed fields returned (value, day change, cost basis, return, position counts). It is clearly distinguished from siblings like get_portfolio_context and get_portfolio_analytics by positioning itself as the entry point that yields a portfolioId for those tools.

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

Usage Guidelines5/5

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

Explicitly names the triggering situations with concrete example utterances ('my portfolios', 'how are my investments doing'), and gives a routing rule: use this first when no specific portfolio is named, then pass the resulting portfolioId to the context/analytics tools. Alternatives and the condition selecting them are both stated.

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