Skip to main content
Glama
ninetails-io

gnucash-mcp

list_transactions

List transactions from a GnuCash book with optional account and date filters, pagination, and count-only mode.

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 true, return full JSON details for each transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
accountNo
verboseNo
end_dateNo
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With NO annotations provided, the description carries the full burden and does an excellent job. It discloses the leading count line (so truncation isn't mistaken for the full set), pagination behavior with offset, limit=0 count-only semantics, the compact vs verbose output formats, split collapsing behavior (top 3 by |value| plus +N more), and the register form output format. This is exceptionally rich behavioral disclosure.

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 well-organized with clear sections (leading behavior, formats, collapse behavior, Args). It's front-loaded with the most important caveat (count line) first. However, it's somewhat long and could potentially trim the register form format details, though these earn their place by explaining column semantics.

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?

The description is comprehensive for a listing tool with an output schema (which presumably documents return structure, so the description needn't repeat that). It covers pagination, formats, collapse behavior, and filter semantics. Given the tool has an output schema and no annotations, this is well-rounded, though it could mention whether results are sorted or the date range default.

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 0%, so the description must fully compensate, and it does. Every one of the 6 parameters is described: account (switches to register form), start/end dates (ISO format), limit (default 50 max 250, 0=count only), offset (0-indexed), verbose (full JSON details). This adds meaning well beyond the raw schema types, though some details like date format are somewhat obvious from the type.

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 clearly states it lists transactions with optional filters, using a specific verb+resource. It distinguishes itself from get_transaction (for full breakdown of a single transaction) and search_transactions implicitly. However, it doesn't explicitly differentiate from search_transactions, which is a sibling, so it doesn't reach a 5.

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 gives solid when-to-use context: it explains the register form for account filtering, when the '+'N more' collapse happens, and when to call get_transaction for full breakdowns. However, it doesn't explicitly state when NOT to use this tool versus search_transactions or list_transactions alternatives, and doesn't discuss prerequisites like date range requirements.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ninetails-io/gnucash-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server