Skip to main content
Glama
comdirect-mcp

comdirect-mcp

by mad4ms

Portfolio-Aufteilung

summarize_portfolio
Read-only

Summarizes depot positions by currency with values and allocation percentages, without FX conversion or asset-class assumptions; aggregates smaller holdings beyond a configurable limit.

Instructions

Position values and allocation percentages per currency, without FX conversion or asset-class guesses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "depot_id": "<depot_id>"
    },
    "name": "summarize_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoLargest positions per currency; remainder is aggregated
depot_idYesid from `list_depots`

Output Schema

NameRequiredDescriptionDefault
countYes
depot_idYes
currenciesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds meaningful behavioral constraints beyond that: no FX conversion is performed and no asset-class guesses are made, which directly affects how an agent should interpret the returned percentages.

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?

A single compact sentence with the core output definition front-loaded and the two exclusions following immediately. No filler or redundant restatement of the 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 two-parameter read-only summary tool with a full output schema, the description covers what is computed and the key caveats. It could clarify the denominator or base for allocation percentages, but the output schema likely carries that detail.

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%, with depot_id and limit both fully documented, including the remainder-aggregation behavior of limit. The description adds no parameter-level detail beyond the schema, so the baseline of 3 applies.

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 states a specific output: position values and allocation percentages broken out per currency. It also carves out scope by excluding FX conversion and asset-class inference, which helps distinguish it from broader portfolio overview tools, though it does not name a sibling explicitly.

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 implied by the exclusions: use this when raw per-currency allocation without conversion is wanted. There is no explicit when-to-use or when-not-to-use guidance and no named alternative such as get_wealth_overview or get_depot_positions.

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