Skip to main content
Glama
comdirect-mcp

comdirect-mcp

by mad4ms

Depotbestand

get_depot_positions
Read-only

Retrieve a depot's stock, ETF, and other positions with current values plus the depot's total balance; optionally filter by ISIN or include purchase values and profit/loss details.

Instructions

Gets the positions (stocks, ETFs, ...) of a depot with current values, and the depot's total balance.

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

Input Schema

NameRequiredDescriptionDefault
isinNoOnly this security
verboseNoAlso return position ids, purchase values and detailed profit/loss.
depot_idYesid from `list_depots`

Output Schema

NameRequiredDescriptionDefault
balanceYes
depot_idYes
positionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data behavior are covered structurally. The description adds that results include current values and a depot-level total balance, which is mild behavioral context, but it says nothing about freshness/latency of 'current values', empty-depot behavior, or volume of positions returned.

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 sentence with zero filler, front-loading the verb and the returned resource before the total-balance detail. Nothing repeats the title or wastes tokens.

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?

With an output schema present, the description need not explain return shapes, and annotations cover the read-only profile; it correctly focuses on scope and what is included. The gaps are modest: no guidance on choosing this over portfolio-summary siblings and no note on how 'current values' are sourced or timestamped.

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%, with isin, verbose, and depot_id each documented inline, so the schema carries the parameter burden. The description adds no meaning beyond that — it never mentions selective filtering by ISIN or the verbose mode that expands output to position ids and purchase values.

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 and resource ('gets the positions ... of a depot') and even enumerates the kinds of holdings returned (stocks, ETFs) plus the total balance. It does not, however, distinguish itself from siblings like summarize_portfolio or get_wealth_overview, so the agent must infer the boundary from names alone.

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?

The description contains no when-to-use, when-not-to-use, or alternative-routing guidance. The only routing hint ('id from list_depots') lives in the schema, not the description, and nothing tells an agent whether to prefer this over summarize_portfolio for a holdings question.

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