Skip to main content
Glama

Match your bank transactions

match_transactions
Destructive

BUSINESS-WIDE, DESTRUCTIVE, NO UNDO: pick this only to reconcile the WHOLE business, never for one record; to find the payment for one invoice or bill, use find_candidate_transactions instead. Reconciles the WHOLE business's books in one pass: it dedupes, categorises (writing an account onto every uncategorised entry), then links every dangling income & expense entry to its bank transaction — all PERSISTED immediately across ALL candidate entries at once. There is NO single-record targeting and NO undo. Matches deterministically where it can and escalates only what it cannot confidently link. Entries are ephemeral; this links them to the canonical transaction.

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": "match_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, but the description adds substantial context beyond them: no undo, changes persisted immediately, effects applied across all candidate entries at once, no single-record targeting, and a deterministic-then-escalate matching strategy. It also explains the data model consequence (ephemeral entries get linked to the canonical transaction), which an agent cannot infer from the 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?

The warning is front-loaded in caps and the alternative is given before the mechanics, which is the right ordering for a destructive tool. It loses a point for repetition — 'NO UNDO' appears twice and 'WHOLE business' three times — which inflates length without adding information.

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 zero-parameter, no-output-schema destructive tool, the description covers scope, mutation semantics, irreversibility, and matching strategy, which is most of what an agent needs. It does not say what happens on partial failure or how the caller learns what was matched, which matters given there is no output schema.

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?

The tool takes zero parameters and the schema is empty, so there is no parameter semantics to explain; the baseline for a 0-param tool is 4. The description correctly implies no scoping input exists ('NO single-record targeting'), which reinforces that the call is all-or-nothing rather than parameterised.

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 uses a specific verb+resource (reconcile/match the whole business's books) and enumerates the concrete sub-actions: dedupe, categorise by writing an account onto uncategorised entries, and link dangling income/expense entries to bank transactions. It explicitly contrasts scope with the sibling find_candidate_transactions, so an agent can distinguish the two without opening either schema.

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 states an explicit selection rule ('pick this only to reconcile the WHOLE business, never for one record') and names the alternative for the excluded case ('to find the payment for one invoice or bill, use find_candidate_transactions instead'). Both the when and the when-not are covered with a named fallback.

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