Skip to main content
Glama
dennismenken

BuchhaltungsButler MCP-Server

by dennismenken

Kontostand und Kontenblatt

bb_balances_get
Read-onlyIdempotent

Retrieves an account ledger with running balance to answer questions like 'does my cash balance match' and 'how much is on PayPal right now'. The final row shows the current balance.

Instructions

Liefert das Kontenblatt eines Kontos mit fortgeschriebenem Saldo und beantwortet damit 'stimmt mein Kassenbestand' und 'wie viel ist gerade auf PayPal'. account nimmt eine Kontonummer oder den Namen eines Zahlungskontos; die Nummer eines Sachkontos liefert bb_masterdata_search. Der Saldo steht in der letzten Zeile und enthält gemessen auch den Bestand vor date_from; gekürzt wird deshalb in der Mitte und nie am Ende. Ersetzt bb_reports_get_ledger für die Frage nach dem Kontostand; alle 24 Felder je Buchungszeile liefert weiterhin nur dieses Einzelwerkzeug. Ein leeres Kontenblatt ist kein Saldo von 0,00. Höchstens 2 Aufrufe an die API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoDatumsgrundlage. 'date' ist das Buchungs- oder Rechnungsdatum, 'date_delivery_else_date' das Leistungsdatum und hilfsweise das Buchungsdatum. Vorgabe ist 'date'.
accountYesDas Konto. Kontonummer ODER Name eines Zahlungskontos, zum Beispiel 1200 oder PayPal. Eine rein numerische Angabe wird unverändert als Kontonummer gesendet; ein Name wird über die Liste der Zahlungskonten aufgelöst und bei mehreren oder keinem Treffer abgelehnt, statt geraten. Sachkonten stehen nicht in dieser Liste: Ihre Nummer zuerst mit bb_masterdata_search nachschlagen und hier als Zahl eintragen. Entspricht postingaccount_number in bb_reports_get_ledger.
date_toYesLetzter Tag des Zeitraums, eingeschlossen, als YYYY-MM-DD. Für den heutigen Bestand das heutige Datum setzen.
max_rowsNoHöchstzahl der angezeigten Buchungszeilen, 1 bis 200, Vorgabe 50. Gekürzt wird in der MITTE: Die letzten fünf Zeilen bleiben immer stehen, weil in der letzten der Saldo steht. Der Wert wirkt serverseitig und geht nicht an die API.
date_fromYesErster Tag des Zeitraums, eingeschlossen, als YYYY-MM-DD. Der Zeitraum darf eng sein: Der Saldo der letzten Zeile enthält gemessen auch den Bestand vor date_from.
response_formatNo'concise' liefert nur die Felder, die einen Datensatz erkennbar machen und den nächsten Schritt erlauben. 'detailed' liefert den Datensatz so, wie die BuchhaltungsButler-API ihn ausgibt. Mit 'concise' beginnen und nur für die wenigen Datensätze auf 'detailed' wechseln, die wirklich geprüft werden müssen. Dieses Feld ist serverseitig und geht nicht an die API.concise

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
bundleYes
periodNo
accountYes
successYes
rows_shownNo
balance_endYes
rows_omittedNo
posting_countNo
standard_chartNo
integrity_errorNo
account_candidatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

The read-only nature is clear from 'Liefert' and aligns with readOnlyHint=true, idempotentHint=true, and destructiveHint=false. It also notes server-side truncation and a maximum of 2 API calls, giving useful behavioral expectations.

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?

The description is compact and structured around purpose, usage, edge cases, and sibling differentiation. It avoids redundant restatement while still conveying the important operational caveats.

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?

It covers purpose, usage, account resolution, truncation behavior, empty-ledger semantics, API-call limits, and sibling-tool routing. With output schema present and annotations consistent, the description is complete for this read-only balance tool.

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

Parameters5/5

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

Schema coverage is 100% for all 6 parameters, and the description adds meaning for account resolution, date_from behavior with pre-period Saldo, max_rows middle truncation, and response_format. The remaining parameters are clearly documented in the schema.

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 it returns a Kontenblatt with fortgeschriebenem Saldo and answers specific questions about Kassenbestand and PayPal. It also explicitly distinguishes itself from bb_reports_get_ledger for balance queries versus the 24-field ledger tool.

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?

Explains that account accepts a Kontonummer or Zahlungskonto name, directs Sachkonten to bb_masterdata_search, and says it replaces bb_reports_get_ledger for Kontostand questions. It also includes edge-case guidance that an empty Kontenblatt is not a 0,00 Saldo.

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