Skip to main content
Glama
Trading 212 MCP

Trading 212 MCP

by moeinxyz

get_portfolio_overview

Read-only

Read selected or all configured account summaries, then group totals by environment and currency.

Instructions

Read selected account summaries, or all configured accounts. Group totals by environment and currency.

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

Input Schema

NameRequiredDescriptionDefault
accountsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the aggregation shape (totals grouped by environment and currency), which is useful. It says nothing about cost, latency, or behavior when an account label is invalid or no accounts are configured.

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?

Two short sentences, front-loaded with the action and followed by the output shape. No filler or restatement of the tool name.

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 single-optional-parameter read tool with an output schema (which documents the return structure), the description covers action, scope, and grouping. The only real gap is distinguishing itself from the single-account sibling.

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?

With only one optional parameter and 0% description coverage at the parameter level, the description carries the burden by explaining that supplying accounts yields selected summaries while omitting them means all configured accounts — this clarifies the meaning of null, which the schema only encodes as a default. It does not discuss the max of 50 or what happens with an unknown label.

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 ('Read ... account summaries') and adds the aggregation behavior ('group totals by environment and currency'), which is meaningfully distinct from the sibling get_account_summary. It never names that sibling or says explicitly that this is the multi-account/aggregate variant, so the differentiation is implied rather than stated.

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?

The phrase 'selected account summaries, or all configured accounts' implies the two usage modes (pass labels vs. omit), so the calling condition is inferable. There is no explicit when-to-use / when-not-to-use guidance and no routing to get_account_summary for single-account detail.

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