Skip to main content
Glama

Update transaction

update_transaction
Idempotent

Update a transaction by id. Only the fields you pass are changed.

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

Input Schema

NameRequiredDescriptionDefault
idYestransaction id
amountNoamount
statusNostatus
currencyNocurrency
metadataNometadata
referenceNoreference
contact_idNocontact_id
payee_nameNopayee_name
descriptionNodescription
bank_accountNobank_account
booking_dateNobooking_date
ledger_accountNoledger_account
bank_account_idNobank_account_id
payment_purposeNopayment_purpose
match_confidenceNomatch_confidence
ledger_account_nameNoledger_account_name
matched_document_idNomatched_document_id
suggested_document_idNosuggested_document_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds one genuinely valuable behavioral fact beyond that — that this is a partial (PATCH-style) update, not a full replace — but says nothing about validation failures, side effects on matching (e.g. changing amount or payee_name), or authorization requirements.

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?

Two short sentences with zero waste; the identity key and the partial-update rule are both front-loaded. Nothing repeats the annotations or the schema verbatim.

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 an 18-parameter mutation with nested objects and no output schema, the description covers the essential contract (id required, partial update) but not the effect of changing individual fields on downstream matching or booking state. This is minimally sufficient given the annotations, but thin for a tool of this complexity.

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 nominally 100%, so the schema is the baseline source. The description adds only the global semantics that unspecified fields are left untouched, and gives no meaning for ambiguous fields like match_confidence, ledger_account_name, or suggested_document_id beyond their bare labels.

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?

States a specific verb and resource ("Update a transaction") keyed by id, which cleanly separates it from create_transaction, get_transaction, and delete_transaction. It does not explicitly distinguish itself from other update_* siblings that could plausibly touch transaction data, but the resource noun is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as create_transaction, match_invoice_transaction, or book_invoice, and no prerequisites or permission notes. The only usage signal is implied by the tool name itself.

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