Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Compute Trial Balance

compute_trial_balance
Read-onlyIdempotent

Compute debit/credit totals and balances for each account from journal postings; use date_from and date_to to set the reporting period.

Instructions

Compute trial balance (käibeandmik/proovibilanss) from journal postings. Shows debit/credit totals and balance for each account. Without date_to every posting counts, including future-dated ones (period.to = "unbounded").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
freshNoClear cached API/reference data before computing this report (use after web UI changes).
date_toNoPeriod end (YYYY-MM-DD)
date_fromNoPeriod start (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv0.25.3
  3. Removedv0.25.2
  4. First observedv0.18.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: the default period is unbounded and future-dated postings will be counted when date_to is omitted (period.to = 'unbounded'), which is exactly the kind of default-behavior disclosure an agent needs.

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?

Three sentences, front-loaded with the purpose and output shape, then the one non-obvious default. No filler and nothing repeated from the schema.

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?

With no output schema, the description carries the return-shape burden and does so at a high level ('debit/credit totals and balance for each account'), while covering the key default. Minor gaps remain (e.g. how date_from interacts with date_to, whether results are cached), but nothing essential to calling it correctly is missing.

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 description coverage is 100%, so the baseline is 3. The description goes further by explaining the semantics of omitting date_to (every posting counts, including future-dated ones), which the schema's terse 'Period end (YYYY-MM-DD)' does not convey.

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 (compute trial balance), names the source (journal postings) and the output granularity (debit/credit totals and balance per account). That source-and-output framing separates it from siblings such as compute_balance_sheet or compute_account_balance without needing to name them.

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?

The date_to caveat is effectively usage guidance for the common case (omitting it includes future-dated postings), which is genuinely useful. However, it never says when to pick this report over compute_balance_sheet, compute_profit_and_loss, or compute_account_balance, so the alternative-selection guidance is absent.

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

Deploy Server

Other Tools