Skip to main content
Glama
dennismenken

BuchhaltungsButler MCP-Server

by dennismenken

Buchungen zu Zahlungen anlegen

bb_postings_create_for_transaction_batch

Batch-create posting records for multiple existing payments in BuchhaltungsButler in one call, ideal for booking a full bank statement; review item errors after submission.

Instructions

Legt die Buchungssätze zu mehreren vorhandenen Zahlungen in BuchhaltungsButler in einem Aufruf an. Zu nehmen, wenn ein ganzer Kontoauszug zu buchen ist; für eine einzelne Zahlung bb_postings_create_for_transaction. Der Stapel ist nicht transaktional: success auf oberster Ebene sagt nichts über die einzelnen Einträge, das Array errors der Antwort nennt die gescheiterten. Die Antwort nennt die erzeugten Buchungen nicht; nachsehen mit bb_postings_search. 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
transactionsYesDie Zahlungen mit ihren Buchungssätzen, je Eintrag eine Zahlung. Der Body-Parameter der API heißt ebenfalls transactions und ist bereits eine Objektliste; umgeformt wird nur die Positionsliste innerhalb eines Eintrags. Höchstens 50 Einträge je Aufruf. Ein abgelehnter Stapel wird nicht teilweise verarbeitet.

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 are limited to readOnlyHint=false / destructiveHint=false / idempotentHint=false / openWorldHint=true, and the description adds substantial non-redundant behavior: the batch is NOT transactional, top-level success does not imply per-entry success, failures appear in an errors array, the created postings are not returned, writes hit real client data, and confirmed postings cannot be deleted but only cancelled with a permanently visible storno.

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?

Five sentences, each carrying distinct information (scope, alternative, non-transactionality, verification path, write semantics, storno permanence), with the batch-vs-single distinction front-loaded. No filler or restatement of the name.

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 and full annotation set exist, yet the description still supplies the things annotations cannot express: partial-failure semantics, where failures surface, and irreversible-confirmation behavior. Nothing an agent needs to call this mutation safely is missing.

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 schema itself is unusually thorough (VAT enum semantics, amount pattern, account/receipt lookup pointers). The description adds no parameter-level detail, but the baseline of 3 applies when the schema already carries the load; there is no gap for the description to compensate for.

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 (anlegen von Buchungssätzen zu mehreren vorhandenen Zahlungen) and explicitly names the single-payment sibling bb_postings_create_for_transaction that it is not. An agent can distinguish it from the batch of free postings and the single-transaction variant 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 selection rule: use this when an entire bank statement is to be posted, otherwise use bb_postings_create_for_transaction for one payment. It also routes follow-up actions (bb_postings_search to verify, bb_postings_cancel to reverse), covering when-to-use and what to do next.

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