Skip to main content
Glama

Export datev package

export_datev_package
Read-onlyIdempotent

DATEV-Paket fuer den Steuerberater aus den sevDesk-Daten des Mandanten (nur lesend; loest NIE den sevDesk-DATEV-Export/Festschreibung aus). Erzeugt Buchungsstapel EXTF 700 (Kategorie 21, Format wie der sevDesk-Export, den Primas eingespielt hat: Windows-1252, ';', Beleglink BEDI-GUID, Festschreibung 0) je Quartal/Monat/Jahr, Debitoren/Kreditoren (EXTF 16), Summen- und Saldenliste und ein Pruefprotokoll (Buchung ohne Beleg-PDF, ohne Sachkonto, ohne Personenkonto, unbekanntes Zahlungskonto, Steuerschluessel-Auffaelligkeiten wie Ausgangsschluessel 9598/23538 auf Eingangsleistungen → §13b). Fehlende Zuordnungen werden NICHT geraten: die Buchung fehlt dann im Stapel und steht als Fehler im Protokoll. dry_run (Vorgabe true) liefert nur Zahlen + Protokoll. Ohne dry_run: Ablage im Speicher des Mandanten (Bucket datev-exports) mit signierten Download-Links (7 Tage); danach step='documents' mit der export_id wiederholt aufrufen, bis done=true — das laedt die Belegbilder als DATEV-Belegtransfer-ZIPs (document.xml + PDFs, GUID = Beleglink). Kanzlei-Stammdaten/Kontenzuordnung: Tabelle datev_export_settings.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": "<year>"
    },
    "name": "export_datev_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnde YYYY-MM-DD (Vorgabe: 31.12. des Jahres).
fromNoBeginn YYYY-MM-DD (Vorgabe: 01.01. des Jahres).
stepNo'bookings' (Vorgabe) oder 'documents' (Belegbilder zu einer export_id nachladen).
yearYesWirtschaftsjahr, z. B. 2025. Pflicht.
splitNoBuchungsstapel je 'quarter' (Vorgabe), 'month' oder 'year'.
dry_runNoNur rechnen und protokollieren, nichts ablegen (Vorgabe true).
export_idNoBei step='documents': die export_id aus dem bookings-Schritt.
max_secondsNoZeitbudget fuer step='documents' je Aufruf (Vorgabe 90, max 130).
findings_limitNoWie viele Einzelbefunde die Antwort zeigt (Vorgabe 60; im Paket stehen alle).
config_overrideNoErsetzt Felder aus datev_export_settings fuer diesen Aufruf (camelCase wie DatevConfig: beraterNr, mandantNr, paymentAccounts, revenueAccounts, buOverrides, sammelDebitor, sammelKreditor, automaticAccounts, openingBalances, autoPersonenkonten …).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description adds substantial operational detail beyond that: it never triggers the sevDesk export, dry_run only calculates and reports, missing mappings are not guessed, storage occurs only without dry_run, and download links expire after seven days. It also explains the repeated step='documents' polling until done=true, which is exactly the kind of behavior an agent needs to know.

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?

The description is front-loaded with purpose and is information-dense, with no obvious filler. It is long and somewhat run-on due to the parenthetical format and error-condition list, but the complexity of the tool justifies most of the length.

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 ten parameters, a nested config_override object, no output schema, and a multi-step export workflow, the description is complete enough to call the tool correctly. It covers outputs, dry_run behavior, storage, download links, error handling, and the repeated documents step.

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 schema already documents every parameter. The description still adds meaningful workflow semantics for dry_run, step='documents', export_id reuse, and the datev_export_settings configuration source, which goes beyond the parameter descriptions alone.

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?

The description names a specific resource and action: it creates a DATEV package for the tax advisor from the client's sevDesk data. It also explicitly distinguishes this from the sevDesk DATEV export/Festschreibung, so an agent can understand that this tool does not trigger the official export workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly establishes the use case (tax advisor package), the default dry_run mode, and the two-step bookings/documents workflow. It lacks an explicit 'use this instead of X' comparison, but the context and exclusions are strong enough for correct selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources