Skip to main content
Glama
dennismenken

BuchhaltungsButler MCP-Server

by dennismenken

Buchungen einer Zahlung entfernen

bb_postings_unconfirm_for_transaction
Destructive

Unconfirms and removes all posting lines for a specified payment in BuchhaltungsButler, undoing an incorrect booking. Only works for non-finalized payments.

Instructions

Hebt in BuchhaltungsButler die Bestätigung der Buchungen einer Zahlung auf und entfernt sie damit. Zu nehmen, um eine falsche Zahlungsbuchung zurückzunehmen, solange sie nicht festgeschrieben ist; ist ein Beleg der Ausgangspunkt, ist bb_postings_unconfirm_for_receipt zuständig, bei einer freien Buchung bb_postings_unconfirm_free. Entfernt immer alle Zeilen der Zahlung, nie eine einzelne Zeile einer Splitbuchung, und lässt die Zahlung selbst unverändert. Festgeschriebene Buchungen bleiben stehen; dort hilft nur bb_postings_cancel. Entfernt Daten aus dem echten Mandanten von BuchhaltungsButler: alle nicht festgeschriebenen Buchungszeilen der genannten Zahlung. Die betroffenen Datensätze vorher lesen und dem Nutzer vorlegen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transaction_id_by_customerYesDie mandantenbezogene Nummer der Zahlung, deren Buchungen entfernt werden, zu finden über bb_transactions_search. Adressiert wird die Zahlung, nicht die einzelne Buchungszeile. In Suchergebnissen erscheint sie als String; hier ohne Anführungszeichen übergeben.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
messageNo
removedNo
successYes
endpointNo
reversalNo
_contract_warningsNo
fields_not_returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds substantive behavior: it always removes ALL lines of the transaction and never a single split line, leaves the transaction itself unchanged, and does nothing to locked (festgeschriebene) postings. It also warns that real-tenant data is deleted and instructs reading the records first for user confirmation.

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?

Front-loaded with the core action, then routing, then behavioral constraints and the safety warning. Slightly repetitive in restating that all non-locked posting lines are removed in both sentence two and five, but every sentence still contributes actionable information.

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?

With an output schema present, return values need no explanation. The description covers purpose, alternatives, destructive scope, locked-posting limits, and a read-before-write safety instruction, leaving no gap an agent needs to call it correctly.

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% and the single parameter already documents lookup via bb_transactions_search and the string-vs-integer nuance, so the schema carries the burden. The description only references 'der genannten Zahlung' without adding syntax or format detail, matching the baseline 3.

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+resource ('Hebt die Bestätigung der Buchungen einer Zahlung auf und entfernt sie damit') and names the exact siblings it is not (bb_postings_unconfirm_for_receipt, bb_postings_unconfirm_free). An agent can distinguish it from every other unconfirm/cancel tool without opening a schema.

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?

Explicitly gives the use case ('um eine falsche Zahlungsbuchung zurückzunehmen, solange sie nicht festgeschrieben ist') and routes to alternatives by trigger condition: receipt-based → unconfirm_for_receipt, free posting → unconfirm_free, locked postings → bb_postings_cancel. When-to-use and when-not are both covered.

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