Skip to main content
Glama

get_gl_account_ledger

One account's ledger (Kontoauszug) — every booking that touched it, in date order, with Soll/Haben and the running balance after each line (CompanyMember).

No fiscal-year parameter: the chart is FY-owned, so account_id already fixes the year. Posted and reversed entries are included (a reversal is a second posted entry, so both legs must show or the balance is wrong); drafts are not. The running balance is carried across pages by the server — page_opening_balance enters this page's first row, while closing_balance/total_debit/total_credit describe the whole window. 404 when the account is not this company's; 422 when date_from is later than date_to.

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
date_toNo
date_fromNo
account_idYes
company_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so substantively: it discloses that reversed entries are included (both legs), drafts excluded, that the server carries running balance across pages, and the distinct semantics of page_opening_balance vs closing_balance/total_debit/total_credit. It omits any permission/auth or rate-limit note, so not a full 5.

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?

Front-loaded with the core purpose, then the important exclusions and balance semantics. Dense but nearly every clause earns its place; the field-naming detail is slightly heavy but justified by the absent output 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 annotations and no output schema, the description steps up by explaining return-field semantics, paging continuity, and 404/422 error conditions. Only the undocumented limit/offset behavior and any auth prerequisites keep it from being fully complete.

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 0%, so the description must compensate. It adds real meaning for account_id (FY-scoping) and date_from/date_to (422 when from > to), but says nothing about limit, offset, or company_id, leaving half the parameters undocumented in both schema and prose.

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?

Names a specific resource ('One account's ledger (Kontoauszug)') and the exact content it returns ('every booking that touched it, in date order, with Soll/Haben and the running balance'). This is clearly distinguishable from siblings like list_gl_journal_entries or gl_trial_balance.

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?

Explains the selecting context well: account_id already fixes the fiscal year so no FY parameter is needed, posted AND reversed entries are included while drafts are not. It does not, however, explicitly name an alternative sibling tool or state when to prefer this over list_gl_journal_entries, leaving that to inference.

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