Skip to main content
Glama
ninetails-io

gnucash-mcp

net_worth

Read-only

Calculate net worth as assets minus liabilities for a given date, or as a time series with start date and interval. Read-only, uses latest market rates, excludes voided transactions.

Instructions

Calculate net worth (assets minus liabilities), as one value or a trajectory.

Read-only. Valuation is as-of: each date values holdings at the latest market rate on or before it, in the book's default currency; voided transactions are excluded. end_date alone gives one number; add start_date + interval for a series (one value per interval step from start_date, end_date always included as the last row). For the full A = L + E statement with per-account detail, use balance_sheet; this tool is the headline number and its trend. The dashboard's trajectory section is this same calculation.

Args: end_date: Calculate net worth as of this date (YYYY-MM-DD) start_date: Optional start date for time series (YYYY-MM-DD) interval: Optional interval for time series: 'month', 'quarter', or 'year'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYes
intervalNo
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A5/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses key behavioral details: valuation is as-of, holdings use the latest market rate on or before the date, the book's default currency is used, voided transactions are excluded, and end_date is always included as the last row in a series. These go well beyond what annotations provide. No contradiction with annotations exists.

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 and front-loaded with the core formula and modes. Each subsequent sentence adds distinct value: valuation semantics, series behavior, alternative tool routing, dashboard correspondence, and parameter details. There is no redundant or filler content.

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?

The tool has an output schema, so return-value details are covered elsewhere. The description fully covers the calculation semantics, reading behavior, parameter usage, series construction, and when to choose a sibling tool. An agent has everything needed to invoke this tool correctly.

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 must compensate. It does so thoroughly with an Args section explaining each parameter: end_date as the as-of date with format, start_date as the optional series start, and interval restricted to 'month', 'quarter', or 'year'. This materially clarifies how to use all three parameters, including the series behavior.

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 precise definition: 'Calculate net worth (assets minus liabilities), as one value or a trajectory.' It clearly distinguishes itself from the sibling balance_sheet by stating that balance_sheet is for the full A = L + E statement with per-account detail, while this tool is 'the headline number and its trend.'

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?

The description explicitly explains the two usage modes: 'end_date alone gives one number; add start_date + interval for a series.' It also names the alternative balance_sheet when full statement detail is needed, and notes that the dashboard's trajectory section uses the same calculation, removing ambiguity about when to invoke this tool.

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