Skip to main content
Glama

Get trial balance

get_trial_balance
Read-onlyIdempotent

Summen- und Saldenliste je Konto (EB-Wert, Soll, Haben, Saldo) aus den sevDesk-Buchungen des Mandanten, gerechnet nach denselben Regeln wie export_datev_package (Belege gegen Personenkonten, Zahlungen gegen die zugeordneten Zahlungskonten, Steuer auf die SKR04-Steuerkonten aufgeteilt). Nur lesend. EB-Werte aus datev_export_settings.opening_balances. Enthaelt die Befund-Zusammenfassung, weil fehlende Zuordnungen die Salden verfaelschen.

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": "get_trial_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoStichtag YYYY-MM-DD (Vorgabe: 31.12. bzw. heute, falls frueher).
fromNoBeginn YYYY-MM-DD (Vorgabe: WJ-Beginn).
yearYesWirtschaftsjahr. Pflicht.
accountsNoOptional: nur Konten mit diesem Praefix, z. B. '18' fuer die Zahlungskonten.
config_overrideNoWie bei export_datev_package.
include_personal_accountsNoDebitoren/Kreditoren einzeln ausweisen (Vorgabe false: als Summe).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the description is not needed for the safety profile. It still earns credit for real behavioral content beyond them: the posting rules applied, the fact that opening balances come from datev_export_settings.opening_balances, and the caveat that missing mappings distort balances and therefore a findings summary is included in the result.

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?

Four dense sentences, front-loaded with what is produced and how it is computed, with the data-quality caveat and its consequence kept last where it belongs. 'Nur lesend' mildly duplicates the readOnlyHint annotation, but otherwise there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, nested-object tool with no output schema, the description covers the return content (per-account trial balance plus findings summary) and the accounting rules behind it. The remaining gaps are minor because the schema carries full parameter documentation and the annotations carry the safety profile.

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 every parameter including the nested config_override is documented in the schema; baseline 3 applies. The description does not add format or interaction detail for any parameter, only the origin of the EB values, so it does not exceed what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and its output columns (per-account EB-Wert, Soll, Haben, Saldo) and states the data source (sevDesk bookings of the client). It also pins the calculation rules to those of export_datev_package, which orients the agent, though it never states positively when this tool beats that sibling.

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

Usage Guidelines3/5

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

Usage is only implied: the reference to export_datev_package's rules tells the agent the two produce reconcilable figures, but there is no explicit when-to-use, when-not-to-use, or alternative-selection guidance. The 'Nur lesend' note is a safety statement rather than a routing hint.

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