Skip to main content
Glama

Review

purch_review_transaction
Destructive

Say what a row is — purchase, recurring, transfer, income, fee, ignored — with a category, a vendor and a reason. Amount and date never change. A reasoned act (P-5). Read purch_vocabulary first and propose from the person's own categories and vendors. purchase is one-off spending; recurring is spending that repeats (rent, streaming, insurance) — name the vendor and the subscription is declared for you, then confirmed month by month (P-6). A transfer is money moving between the person's own accounts (card payoffs, brokerage, savings, an owner draw): give it a category saying WHERE it went, so the ledger's bank balance still ties to the statement. Leave that blank only when the money is already recorded elsewhere in these books, such as a client payment against an invoice you issued; those rows are then listed as not posted rather than counted twice. A fee is the bank's charge; income is money in; ignored is a row that is not theirs to track. Never alter the amount or the date — a wrong row means a wrong source, re-read and re-imported. Effects: status, category, vendor, note recorded; subscription declared for a recurring row with a vendor.

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": {
      "transaction_id": "<transaction_id>",
      "status": "<status>"
    },
    "name": "purch_review_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoAnything the person said about it.
reasonNoWhy — part of the record.
statusYesWhat it is.
vendorNoThe vendor's proper name; the row's description becomes its alias. Required for recurring.
cadenceNoFor recurring: how often. Defaults to monthly.
categoryNoThe person's own word for it (groceries, software, travel). Empty beats guessed.
claim_refNoThe expense report or claim it went on, if any.
transaction_idYesThe row, e.g. T-0012.
reimbursable_byNoA work expense someone pays back: who ("Acme Corp, expenses"). Clear it with an empty value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false), and the description adds real value on top: an explicit 'Effects' line naming status/category/vendor/note as recorded and the side effect of declaring a subscription for a recurring row with a vendor. It also bounds the mutation ('Amount and date never change') and explains the transfer-category consequence (bank balance ties to statement; blank rows listed as not posted). It stops short of saying whether a re-review overwrites a prior review or whether any action is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and every paragraph is on-topic, but the prose is dense and at points garbled — 'a wrong row means a wrong source, re-read and re-imported' is not a well-formed sentence, and internal references (P-5, P-6) are opaque to an agent. Several clauses restate schema content that is already covered.

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 9-parameter mutation with no output schema, the definition covers effects, prerequisites, and the semantics of each status well enough to call it correctly. Gaps remain around overwrite behavior on re-review and error/precondition handling, but nothing essential to a correct first call is missing.

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?

Schema coverage is 100%, so baseline is 3, but the description adds genuine meaning beyond the schema — notably for `category` on transfers (say WHERE the money went; leave blank only when already recorded elsewhere) and for `status`/`vendor` coupling (naming a vendor on a recurring row declares the subscription). The `reason` and `note` fields get no description-level guidance, keeping it below a 5.

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 opening sentence gives a specific verb and resource ('Say what a row is') and enumerates the exact classification outcomes (purchase, recurring, transfer, income, fee, ignored) plus the recorded fields. It is clearly a single-row classification tool, but it never distinguishes itself from siblings such as purch_review_batch or purch_split_transaction, so an agent must infer the boundary.

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?

It states a concrete prerequisite and sequencing ('Read purch_vocabulary first and propose from the person's own categories and vendors') and gives per-status usage rules — when a row is a transfer vs. a fee vs. ignored, and when to leave a transfer category blank. What is missing is any exclusion or alternative: with purch_review_batch and purch_accept_suggestions present, nothing says when not to review one row at a time.

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.