Skip to main content
Glama
bookkeeping-mcp

bookkeeping-mcp

by mubasher1111

Reconcile bank statement with invoices

reconcile
Idempotent

Match bank statement entries to invoices or bills, returning every match with a confidence level and reasons, plus unmatched entries and an optional CSV report.

Instructions

Matches bank statement entries with invoices or bills. Returns every match with a confidence level (high/medium/low) and the reasons, including one payment for several invoices and instalments, plus the bank entries and invoices left unmatched. Optionally saves an Excel-ready CSV report. Invoices need an Amount column and at least one of Invoice No, Customer or Date.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reconcile"
  }
}

Input Schema

NameRequiredDescriptionDefault
day_firstNoRead 05/11/2026 as 5 November (default true)
directionNoin = money received, out = money paid (default both)
overwriteNoReplace report_path if it exists (default false)
toleranceNoAllowed amount difference, e.g. 1 for rounding (default 0)
days_afterNoPayment may come up to this many days after the invoice (default 60)
report_pathNoSave a CSV report here (optional)
invoices_csvNo
invoices_pathNoPath to the invoices/bills .csv
statement_csvNo
statement_pathNoPath to the bank statement .csv

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the return contents (each match with a high/medium/low confidence plus reasons), support for one-payment-for-several-invoices and instalments, and reporting of unmatched bank entries and invoices. It is also consistent with readOnlyHint=false and idempotentHint=true, since the only side effect described is the optional CSV write guarded by an overwrite flag in 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?

Four compact sentences, purpose front-loaded, followed by outputs and then input requirements. The middle sentence is dense and run-on but every clause carries information an agent needs.

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?

With 10 parameters, no output schema and a non-trivial matching algorithm, the description covers purpose, result shape, matching edge cases and input prerequisites. It falls short only on the inline-vs-path input parameters and on hinting at the date/tolerance defaults, which the schema already documents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%, so the description only needs to fill gaps; it does add the invoice column prerequisites, which are not in the schema. However, it never explains the difference between the undocumented invoices_csv/statement_csv parameters and their siblings invoices_path/statement_path (presumably inline CSV content vs a file path), which is the most consequential ambiguity remaining.

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 first sentence names a specific verb and two specific resources ('Matches bank statement entries with invoices or bills'), which is clearly distinct from siblings like read_bank_statement, create_invoice or calculate_invoice that an agent could confuse with this task.

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

Usage Guidelines3/5

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

Usage is implied by the purpose statement and the trailing data requirement ('Invoices need an Amount column and at least one of Invoice No, Customer or Date'), but there is no explicit when-to-use/when-not guidance and no reference to alternatives such as reading the statement first with read_bank_statement.

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