Skip to main content
Glama
ninetails-io

gnucash-mcp

search_transactions

Search GnuCash transactions by description, memo, notes, or amount. Supports exact, range, and comparison queries with pagination and detailed JSON output.

Instructions

Search transactions by description, memo, notes, or amount.

Compact format (default): DATE<TAB>guid<TAB>Description<TAB>splits Transactions with more than 4 splits collapse to the top 3 by |value| plus +N more — call get_transaction for the full breakdown. Leads with a Showing X-Y of Z transactions line; page with offset, or pass limit=0 for the count.

Args: query: Search query string. For amount, supports: exact ("100"), greater (">100"), less ("<100"), range ("100-200") field: Field to search: 'description', 'memo', 'notes', or 'amount' 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
fieldNodescription
limitNo
queryYes
offsetNo
verboseNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: the pagination header 'Showing X-Y of Z transactions', the split-collapsing behavior for >4 splits, the compact vs verbose output mode, and the default/return behavior. This is substantive disclosure of behavior beyond the schema.

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 a compact-format spec first, then the search-result behavior, then a clear Args section covering all 5 parameters. It's front-loaded with the essential purpose and output format. Slightly verbose in the amount-syntax explanation but each part earns its place and no sentence is wasted.

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?

There is an output schema present which reduces the burden of explaining return values. The description covers the compact format's structure, collapse behavior, pagination mechanics, and all parameter semantics comprehensively. The only minor gap is not explicitly clarifying edge cases in amount parsing, but this is well covered for a search tool with a strong output schema.

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 compensate fully. It does: explaining query syntax for amounts (exact '100', greater '>100', less '<100', range '100-200'), field choices, limit semantics (default 50, max 250, 0=count only), offset semantics (0-indexed), and verbose flag behavior. This is rich parameter documentation well beyond the bare 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 clearly states the tool 'Search transactions by description, memo, notes, or amount' with a specific verb (search), specific resource (transactions), and the fields being searched. It distinguishes well from siblings like list_transactions and get_transaction by specifying search-by-field semantics and describing the compact output format.

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 explains how to page with offset, use limit=0 for count-only, and calls out that transactions with >4 splits collapse to top-3 with '+N more' requiring get_transaction call. It gives clear context on when to use this tool (searching across fields) though it doesn't explicitly name alternatives like list_transactions or get_transaction as exclusions, relying on the implicit distinction via output format description.

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