Skip to main content
Glama
ninetails-io

gnucash-mcp

create_taxtable

Create a sales-tax table with multiple tax entries (percentage or flat value) linked to asset or liability accounts, supporting composite rates such as GST+PST.

Instructions

Create a new sales-tax table.

A taxtable holds one or more entries. Each entry contributes either a percentage rate or a flat-value surcharge routed to a specific GL account (ASSET for input-tax credit, LIABILITY for output sales tax payable). Multi-entry composites (e.g., GST 5% + PST 7%) produce multiple tax splits per line at posting time.

Args: name: Taxtable name, unique within the book (e.g., "CA Sales 7.25%", "BC GST+PST"). entries: List of {type, amount, account} dicts. type: "value" or "percentage". amount: positive decimal as string. Percentages are the rate ("5.00" = 5%, not "0.05"). account: account path, %short-guid, or full GUID. Must be ASSET or LIABILITY type. All entries on a single taxtable must reference accounts in the same commodity.

Example: create_taxtable( name="BC GST+PST", entries=[ {"type": "percentage", "amount": "5.00", "account": "Liabilities:GST Payable"}, {"type": "percentage", "amount": "7.00", "account": "Liabilities:PST Payable"}, ], )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
entriesYes

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 behaviors: entries must reference ASSET or LIABILITY accounts, all entries must share the same commodity, and percentages are expressed as rates ('5.00' = 5%, not '0.05'). This is substantial behavioral disclosure for a tool with zero annotations.

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?

Well-structured with clear sections (overview, Args, Example). The overview and Args sections are informative without redundancy. Slightly long but every sentence adds value — the example is helpful and the rate-format caveat is important. Could trim the asset/liability explanation marginally.

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 2-parameter tool with no annotations, the description thoroughly covers purpose, entry structure, account constraints, commodity requirement, and provides a complete executable example. The output schema exists but the description needn't cover return values. Handles the complexity well.

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 coverage is 0% and the schema gives only bare types (string name, array of objects). The description fully compensates by defining the 'entries' structure ({type, amount, account}), the allowed type values ('value' or 'percentage'), the amount format, account address forms (path, %short-guid, GUID), and account type constraints. This is excellent parameter documentation.

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?

Description clearly states it creates a new sales-tax table, explains that a taxtable holds entries, and provides the composition model (percentage rate or flat-value surcharge per GL account). It distinguishes from siblings like update_taxtable and list_taxtables by the 'create' verb.

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?

Explains what a taxtable is and how entries contribute, noting multi-entry composites produce multiple tax splits at posting time. However, it doesn't explicitly say when to use this vs alternatives like update_taxtable, nor state preconditions like whether accounts must already exist in the book.

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