Skip to main content
Glama
dennismenken

BuchhaltungsButler MCP-Server

by dennismenken

Freie Buchung anlegen

bb_postings_create_free

Creates a free posting in BuchhaltungsButler for complete journal entries without receipt or payment reference, e.g. transfers between ledger accounts. Use when no receipt or payment exists.

Instructions

Legt in BuchhaltungsButler eine freie Buchung an, also einen vollständigen Buchungssatz ohne Beleg- und Zahlungsbezug, etwa eine Umbuchung zwischen zwei Sachkonten. Zu nehmen, wenn weder ein Beleg noch eine Zahlung vorliegt; liegt ein Beleg vor, ist bb_postings_create_for_receipt richtig, liegt eine Zahlung vor, bb_postings_create_for_transaction. Der Aufruf erzeugt genau eine Buchungszeile; eine Splitbuchung über mehrere Zeilen nehmen die beiden genannten Werkzeuge über ihre Positionsliste entgegen. Soll- und Habenkonto werden hier ausdrücklich angegeben. Die Antwort nennt die erzeugte id_by_customer nicht. Schreibt in die echten Buchhaltungsdaten von BuchhaltungsButler. Eine festgeschriebene Buchung lässt sich nicht löschen, sondern nur mit bb_postings_cancel stornieren; der Storno bleibt dauerhaft sichtbar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vatYesSteuerschlüssel der Buchungszeile. '_pre' steht für Vorsteuer (Eingangsumsätze), '_vat' für Umsatzsteuer (Ausgangsumsätze), '_both' für Fälle mit beidem, etwa Reverse Charge nach §13b. Welcher Schlüssel zulässig ist, hängt vom Konto, vom Buchungsdatum und von den Mandanteneinstellungen ab. Die deutschen Bezeichnungen aller 23 Schlüssel stehen in der Resource bb://vat-keys.
dateYesBuchungsdatum der freien Buchung als YYYY-MM-DD, zum Beispiel 2026-04-26. Ein leerer String wird abgelehnt; das Feld stattdessen weglassen. Die Parameterbeschreibung der Spezifikation nennt hier kein Format; YYYY-MM-DD ist aus dem Beispiel der Stapeldefinition abgeleitet.
amountYesBetrag der Buchungszeile. Dezimalpunkt, kein Tausendertrennzeichen, zum Beispiel 123.99. Negative Beträge lehnt BuchhaltungsButler ab; eine Gegenbuchung entsteht durch Vertauschen von postingaccount_debit und postingaccount_credit.
postingtextYesBuchungstext der Zeile, höchstens 128 Zeichen.
cost_locationNoKostenstelle, mandantenbezogen, nachschlagen mit bb_cost_locations_search. Höchstens 10 Zeichen.
cost_location_twoNoKostenstelle der zweiten Ebene, mandantenbezogen, nachschlagen mit bb_cost_locations_search. Höchstens 10 Zeichen.
postingaccount_debitYesSollkonto der Buchung als Sachkontonummer, zum Beispiel 4980. Nachschlagen mit bb_postingaccounts_search. In der Leseantwort von bb_postings_search heißt dasselbe Konto debit_postingaccount_number.
postingaccount_creditYesHabenkonto der Buchung als Sachkontonummer, zum Beispiel 1600. Muss sich vom Sollkonto unterscheiden. Nachschlagen mit bb_postingaccounts_search. In der Leseantwort von bb_postings_search heißt dasselbe Konto credit_postingaccount_number.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
createdNo
messageNo
successYes
endpointNo
reversalNo
_contract_warningsNo
fields_not_returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as a non-read-only, open-world, non-idempotent write, but the description adds substantial behavioral detail: exactly one posting line is created, debit and credit accounts must be explicitly provided, the response does not include id_by_customer, real accounting data is written, and a locked posting cannot be deleted but must be cancelled with bb_postings_cancel, with the cancellation remaining permanently visible.

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 front-loaded with the core action and then layers on usage routing, constraints, and cancellation behavior. Despite its length, every sentence carries decision-relevant information for a complex mutation tool.

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?

Given the mutation semantics, rich schema, and presence of an output schema, the description is complete. It covers when to use the tool, alternatives, line behavior, return-value limitation, data impact, and post-lock cancellation behavior.

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%, so nearly all parameter meaning is already supplied by the schema. The description only adds high-level context that debit and credit accounts are explicitly specified, which is useful but does not go beyond the schema's own parameter documentation.

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 and resource: creates a free posting, a complete journal entry without receipt or payment reference. It gives a concrete example (transfer between two general ledger accounts) and distinguishes the tool from bb_postings_create_for_receipt and bb_postings_create_for_transaction.

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 says to use this tool when neither a receipt nor a payment exists, and names the correct alternatives when either does exist. It also clarifies that split postings must use the other two tools via their line-item lists.

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