Skip to main content
Glama
comdirect-mcp

comdirect-mcp

by mad4ms

Umsätze zusammenfassen

summarize_transactions
Read-only

Sums booked transactions by month, counterparty, type, or category to answer cash flow and spending questions. Returns income, expenses, net, counts, totals, and separates internal transfers.

Instructions

Sums booked transactions per month, counterparty, transaction type or category: income, expenses, net and count, plus totals. Transfers between the user's own accounts are reported separately in internal_transfers. Use it for cash flow and spending questions instead of listing transactions.

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": {
      "min_booking_date": "<min_booking_date>"
    },
    "name": "summarize_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_byNomonth (cash flow), counterparty, type, or category (user's local category rules)month
account_idNoid from `list_accounts`; default: all EUR accounts together
max_groupsNoFurther groups are merged into '(other)'
include_internalNoCount transfers between the user's own accounts as income/expenses (default: separate)
max_booking_dateNoLast booking date (inclusive), default today
min_booking_dateYesFirst booking date (inclusive)

Output Schema

NameRequiredDescriptionDefault
netYes
countYes
groupsYes
incomeYes
currencyNo
expensesYes
group_byYes
account_idsYes
uncategorizedNogroup_by=category: the largest counterparties without a matching rule, to propose new rules
history_startsNoOnly set if the period starts earlier: comdirect returns account transactions of the last 180 days, so bookings before this date are missing from the result
groups_truncatedYesTrue if smaller groups were merged into '(other)'
max_booking_dateNo
min_booking_dateNo
internal_transfersNoTransfers between the user's own accounts, left out of the totals and groups above
transactions_truncatedYesTrue if not all transactions in the range were summarized

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds a genuinely useful behavioral detail beyond them: transfers between the user's own accounts are reported separately in `internal_transfers` rather than folded into income/expenses, and it names the measures returned. It does not discuss cost, latency, or account-scope limits, so it is solid but not rich.

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?

Two tightly written sentences with the computation and measures front-loaded, then the alternative-tool guidance. No filler; the only slight looseness is the trailing `internal_transfers` note, which could be joined to the summary sentence.

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?

An output schema exists, so return values need not be explained, and the description covers purpose, measures, and usage routing. What remains thin is parameter-level nuance, which the schema handles, so the agent has what it needs to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; however, the description adds essentially no parameter meaning beyond the schema. Grouping choices, the account_id default, max_groups merging into '(other)', and include_internal are all documented only in the schema, and the description's single mention of internal transfers merely echoes include_internal.

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 (sums) plus the resource (booked transactions) and enumerates the grouping dimensions and output measures (income, expenses, net, count, totals). It explicitly contrasts itself with listing transactions, so an agent can distinguish it from list_transactions without opening either schema.

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

Usage Guidelines4/5

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

Gives clear when-to-use guidance: cash flow and spending questions, and explicitly says to use it instead of listing transactions. It does not state when the listing or recurring-payment siblings would be the better choice, so it stops short of full when/when-not coverage.

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