Skip to main content
Glama
ninetails-io

gnucash-mcp

list_transactions

Read-only

List transactions from a GnuCash book with optional filters for account and date range, showing count and paginated results.

Instructions

List transactions with optional filters.

Leads with a Showing X-Y of Z transactions (date range) line so a truncated view is never mistaken for the whole set. Page with offset; limit=0 returns the count only.

Compact format (default):

  • Unfiltered: DATE<TAB>guid<TAB>Description<TAB>splits

  • Filtered by account (register form): DATE<TAB>guid<TAB>±Amount<TAB>Description<TAB>other splits Column 3 is the signed impact on the filtered account; that account is dropped from the splits column.

Transactions with more than 4 splits collapse to the top 3 by |value| plus +N more — call get_transaction for the full breakdown.

Args: account: Filter by account name (switches output to register form) start_date: Start date in ISO format (YYYY-MM-DD) end_date: End date in ISO format (YYYY-MM-DD) limit: Page size (default 50, max 250). 0 = count only. offset: 0-indexed first row to return (default 0). verbose: If false (default), compact text output — optimized for reading and token efficiency. If true, structured JSON, for when you need machine-readable fields rather than a report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
accountNo
verboseNo
end_dateNo
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A4.8/5.0
Behavior5/5

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

The description goes well beyond the readOnlyHint annotation, disclosing several non-obvious behaviors: the 'Showing X-Y of Z transactions' header prevents misinterpreting truncated results, limit=0 returns count only, the account filter switches to register form and shifts column semantics, and >4 splits collapse with a pointer to get_transaction. These details equip the agent with expectations that annotations alone cannot convey.

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?

The description is well-organized: a one-line summary, key behaviors, output format details, then parameter semantics. It uses formatting (backticks, bullets, indent) to keep dense information scannable. Every sentence adds functional value, and the most critical caveat (truncation indicator) is front-loaded.

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?

For a tool with six parameters, no required fields, and multiple output modes, the description covers all operational aspects: filtering, pagination, count-only, format switching, register behavior, and split collapsing. The existence of an output schema means verbose JSON fields need not be enumerated. Nothing needed for correct invocation 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 carries the full burden—and it delivers. Every parameter is explained with functional meaning beyond type: account triggers register format, start/end dates use ISO, limit has a 0=count-only special case and max, offset is 0-indexed, and verbose toggles output structure. This is comprehensive and directly compensates for the schema's lack of descriptions.

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 opens with a specific verb and resource: 'List transactions with optional filters.' It then details distinct output modes (compact text vs JSON), pagination, and filtering behaviors, making the tool's purpose concrete and distinguishable from siblings like get_transaction. It explicitly points to get_transaction for a full breakdown, reinforcing its own scope.

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 states use cases: filtering by account, date, pagination, count-only, and choosing verbose JSON when machine-readable fields are needed. It names get_transaction as the alternative for full split details, providing a when-to-use derivative. It does not, however, contrast with search_transactions or explicitly say when not to use this tool, so it falls just short of full 5.

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