Skip to main content
Glama
ninetails-io

gnucash-mcp

get_audit_log

Read-only

Read the audit log for a date to see every recorded write operation (CREATE, UPDATE, DELETE, VOID, RECONCILE). Starting from the newest entry, offset pages backward through history for earlier records.

Instructions

Read audit log entries for a date.

Returns the human-readable text audit log, led by a Showing X-Y of Z audit entries (date) indicator. Each write operation (CREATE, UPDATE, DELETE, VOID, RECONCILE, etc.) is one entry separated by a blank line. Reads are not logged.

Unlike the row-list tools, the window is anchored to the most recent entry: offset pages backward into history (offset=0 is the newest page), since "what happened lately" is the usual question. limit=0 returns the count only.

Args: log_date: Date to read (YYYY-MM-DD). Defaults to today. limit: Page size (default 50). 0 = count only. offset: Entries to skip back from the most recent (default 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
log_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations carry readOnlyHint=true, and the description adds rich behavioral context beyond that: backward-pagination semantics, limit=0 returning count only, the leading indicator format, blank-line separation per write operation, and the fact that reads are not logged. No contradiction with the read-only annotation.

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 longer than average, but each section earns its place: the output-format indicator, the genuinely non-intuitive backward-pagination behavior, and the enumerated args. It is appropriately front-loaded and structured into paragraphs plus an Args block. Slightly verbose but justified by the unusual semantics.

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 exists, so return values need no explanation, yet the description still covers the indicator line. The most error-prone behavior (reverse offset ordering) is fully disclosed, and the read-only annotation is reinforced by the 'Reads are not logged' note. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 fully compensate. It documents all three parameters with meaning beyond the schema: log_date (YYYY-MM-DD format, defaults to today), limit (page size, 0=count only), and offset (entries to skip back from most recent, 0=newest). This fully compensates for the zero-coverage schema.

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 uses a specific verb-resource pair ('Read audit log entries for a date') and adds concrete detail about what is returned (human-readable text, blank-line separated entries, 'Showing X-Y of Z' indicator). This clearly distinguishes it from the many sibling tools, none of which are audit-log readers.

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 explicitly contrasts with 'the row-list tools' by explaining that the window anchors to the most recent entry and that offset pages backward — important guidance for a non-obvious API. It also states that reads are not logged. However, it does not name specific alternative tools or give explicit when-not-to-use conditions, so the guidance is contextual rather than prescriptive.

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