Skip to main content
Glama
dennismenken

BuchhaltungsButler MCP-Server

by dennismenken

Freie Buchung entfernen

bb_postings_unconfirm_free
Destructive

Reverts confirmation of a single free posting in BuchhaltungsButler, returning it to unconfirmed status so you can undo an incorrect free booking before it is locked.

Instructions

Hebt in BuchhaltungsButler die Bestätigung einer einzelnen freien Buchung auf und entfernt sie damit. Zu nehmen, um eine falsche freie Buchung zurückzunehmen, solange sie nicht festgeschrieben ist; für die Buchungen eines Belegs ist bb_postings_unconfirm_for_receipt zuständig, für die einer Zahlung bb_postings_unconfirm_for_transaction. Adressiert wird die Buchung selbst, deshalb posting_id_by_customer und nicht die Nummer eines Belegs. Zeigt der Wert auf eine Beleg- oder Zahlungsbuchung, lehnt die API mit error_code 7 ab; ist die Buchung festgeschrieben, hilft nur bb_postings_cancel. Entfernt Daten aus dem echten Mandanten von BuchhaltungsButler: die genannte freie Buchung. Die betroffenen Datensätze vorher lesen und dem Nutzer vorlegen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
posting_id_by_customerYesDie mandantenbezogene Nummer der freien Buchung, zu finden über bb_postings_search. Eine freie Buchung erkennt man daran, dass receipt_id_by_customer und transaction_id_by_customer beide null sind, oder am Filter account_filter mit dem Wert 'free booking'. 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
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real value: it says data is removed from the live BuchhaltungsButler tenant, that the API rejects receipt/transaction postings with error_code 7, and instructs the agent to read the affected records and present them to the user first. It does not cover permissions or how a repeated call behaves beyond the finalization note, so it falls just short of the top mark.

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 action, then routing, then identifier semantics, then failure modes. Sentences are long and dense but each carries distinct information; a small amount of redundancy around the sibling names costs it the top score.

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?

An output schema exists, so return values need no explanation. Given a single-parameter destructive mutation, the description covers purpose, selection criteria, identifier semantics, error behavior, and the pre-read safety workflow — everything 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.

Parameters4/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, but the description adds meaning the schema does not: it explains that the parameter addresses the posting itself rather than a receipt number, and that supplying a receipt or transaction posting id yields error_code 7. This disambiguates the identifier beyond the schema's own 'how to find it' text.

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 precise verb and resource: lifting the confirmation of a single free booking, which removes it. It explicitly separates itself from the sibling variants (bb_postings_unconfirm_for_receipt, bb_postings_unconfirm_for_transaction) and from bb_postings_cancel, so an agent can distinguish it without opening any 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?

Gives an explicit when-to-use condition (undo a wrong free booking that is not yet finalized), names the two alternative tools with the conditions that select them, and states the fallback (finalized booking -> bb_postings_cancel). Nothing about tool selection is left to inference.

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