Skip to main content
Glama

Bank Statement Parser & Reconciler

Reconcile Bank Transactions & Export CSV/QBO/OFX

reconcile_and_export_transactions
Read-onlyIdempotent

Normalize structured bank transactions across US/EU amount and date formats into exact integer cents, verify opening/closing and running balance math with row-level discrepancy flags, and export to CSV, QuickBooks QBO, or OFX.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "transactions": "<transactions>"
    },
    "name": "reconcile_and_export_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoAccounting export format to render.csv
currencyNoISO 4217 currency code.USD
bank_nameNoInstitution name included in metadata.Bank Statement
date_orderNoDate parsing order for slash-separated numeric dates.auto
include_bomNoPrefix UTF-8 BOM to CSV output for Microsoft Excel.
transactionsYesOrdered list of statement transactions.
number_localeNoDecimal/thousands separator locale (US: 1,234.56; EU: 1.234,56).auto
account_maskedNoMasked account label (last 4 digits used in QBO/OFX).••••0000
statement_yearNoFallback year for short MM/DD transaction dates.
closing_balanceNoStatement closing balance.
opening_balanceNoStatement opening balance.
disable_auto_sign_resolverNoDisable automatic inverted debit/credit sign correction against balances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: exact-integer-cent normalization across US/EU conventions, row-level discrepancy flags for balance mismatches, and the available rendering targets. It stops short of saying whether 'export' returns a string payload or writes a file, or how auto sign resolution behaves.

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?

A single dense sentence front-loads the primary action (normalize), then the verification behavior, then the export targets. No filler, no restatement of the name, and each clause carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter tool with no output schema, the description covers the transformation pipeline well but omits what the agent actually receives back from an 'export' (inline content vs. file artifact) and says nothing about the 500-row cap or handling of rows that fail reconciliation. Annotations carry the read-only safety story, but the return contract remains unspecified.

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 description coverage is 100%, so all 12 parameters are already documented in the schema and the baseline is 3. The description reinforces the semantics of format, currency, and locale handling and clarifies that balance verification is driven by opening/closing/running balance inputs, but it adds no detail on date_order resolution, include_bom, or disable_auto_sign_resolver beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names three specific operations on a specific resource: normalize structured bank transactions into integer cents, verify balance math, and export to CSV/QBO/OFX. 'Structured bank transactions' implicitly distinguishes it from the text-parsing sibling parse_bank_statement_text, though the sibling is never named, which keeps it short of a 5.

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?

The word 'structured' implies the input must already be parsed records, hinting that raw statement text belongs to the sibling tool, but this is inference rather than an explicit when-to-use statement. There is no exclusion clause, no mention of what happens when balance verification fails, and no guidance on choosing between the three output formats.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources