Skip to main content
Glama
ninetails-io

gnucash-mcp

get_outstanding_documents

Read-only

Retrieve all posted customer invoices, vendor bills, employee vouchers, and credit notes with outstanding balances. Get the authoritative unpaid list, sorted most-overdue-first.

Instructions

Get all posted customer invoices, vendor bills, employee vouchers, and credit notes with outstanding balances.

This is the authoritative unpaid list: outstanding = posted with a remaining balance > 0. One call answers "what is actually unpaid?" — no need to combine list_documents and get_document (full status vocabulary on list_documents).

Leads with a Showing X-Y of Z invoices (date range) line, then a compact one-line-per-doc format by default with action columns (due date, days past due, currency, BILL tag, owner). Sorted most-overdue-first so the bookkeeper sees the urgent items at the top. Page with offset; limit=0 returns the count only.

Use verbose=true for structured JSON with original_amount / amount_paid / amount_due breakdown — the shape pay_document workflows expect.

Args: party_type: Filter by "customer" or "vendor". Omit for all. customer_id: Filter by specific customer ID. vendor_id: Filter by specific vendor ID. 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. limit: Page size (default 50, max 250). 0 = count only. offset: 0-indexed first row to return (default 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
verboseNo
vendor_idNo
party_typeNo
customer_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.4.4

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark the operation read-only, and the description adds substantial runtime behavior beyond that: the 'Showing X-Y of Z' summary line, compact one-line-per-doc format, action columns, most-overdue-first sorting, pagination with offset, and limit=0 count-only semantics. No contradiction with annotations.

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 long but every part earns its place: overview, use-case, output format, sorting, pagination, verbose mode, and a per-parameter Args section are cleanly organized and front-loaded with the core purpose. There is no filler.

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?

For a six-parameter tool with no schema descriptions, the description supplies nearly all needed call context: result shape, sorting, paging, count behavior, and output-mode switch, and an output schema exists for structured returns. The omission of the employee party_type option is the only material completeness gap.

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?

With 0% schema description coverage, the description carries the full parameter burden and documents limit, offset, verbose, party_type, customer_id, and vendor_id with concrete meanings and edge cases such as limit=0 and default/max limits. The only gap is that party_type schema also allows 'employee', but the Args text only mentions filtering by customer/vendor despite employee vouchers being in the overview.

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 names a specific verb and resource set: posted customer invoices, vendor bills, employee vouchers, and credit notes with outstanding balances. It also explicitly distinguishes itself from list_documents and get_document as the authoritative unpaid list, so an agent can tell what it does without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It says this one call answers 'what is actually unpaid?' and that there is no need to combine list_documents and get_document. It also points to list_documents for the full status vocabulary and to verbose=true for pay_document workflows, giving clear routing guidance to alternatives.

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

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