Skip to main content
Glama

Update transaction

update_transaction
Destructive

Update a manual account transaction. Does not change account balance. Bank/crypto synced txs are read-only. currency must match the account currency. Optional merchant (persisted only when distinct from description; pass null or empty to clear). Optional originalAmount/originalCurrency for foreign charges (both required together, must differ from settlement; pass null on both to clear).

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": {
      "budgetId": "<budgetId>",
      "transactionId": "<transactionId>"
    },
    "name": "update_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNo
budgetIdYes
currencyNo
merchantNo
postedAtNo
descriptionNo
transactionIdYes
originalAmountNo
originalCurrencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it discloses several non-obvious behaviors: balance is untouched, synced records reject edits, currency is constrained to the account currency, and merchant is only persisted when distinct from description. The null/empty clearing semantics for merchant and the paired null-clearing for originalAmount/originalCurrency are genuinely useful. It never explains what 'destructive' concretely overwrites or whether a previous value is recoverable, so it stops short of a 5.

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?

Front-loads the action and scope first, then the side effects, then the parameter constraints, so an agent can stop reading early and still call correctly. The nested parentheticals for merchant and the foreign-charge pair are dense but each clause carries a distinct rule; no sentence is filler.

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 destructive mutation with no output schema and no annotation detail beyond hints, the description covers the highest-risk failure modes: editing an immutable synced transaction, a currency mismatch, and a half-specified foreign-charge pair. It does not describe the success response or what updating amount does to derived budget figures, which keeps it from being complete.

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?

With 0% schema description coverage the description must carry the load, and it does so for the hardest parameters: merchant's conditional persistence and clear-by-null rule, and the originalAmount/originalCurrency pair's joint-requiredness, difference-from-settlement constraint, and null-to-clear convention. It leaves amount, postedAt, description, budgetId, and transactionId entirely to type inference, so the compensation is substantial but incomplete.

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?

States a specific verb and resource ("Update a manual account transaction") and immediately narrows scope by declaring synced bank/crypto transactions read-only, which separates this tool from both the sync path and the create_/delete_transaction siblings. An agent knows exactly what object class this mutates.

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?

Gives a clear when-not condition ("Bank/crypto synced txs are read-only") and a side-effect boundary ("Does not change account balance"), which tells an agent when this call is appropriate. It does not explicitly name an alternative for creating or deleting transactions, leaving that routing to the sibling names alone.

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