Skip to main content
Glama
actual-mcp-server

actual-mcp-server

Manage transactions

manage_transactions
Destructive

Create, update, delete, import, merge, or transfer Actual Budget transactions by choosing an action, with integer-cent amounts and YYYY-MM-DD dates.

Instructions

Create, change, delete, import, merge or transfer transactions; pick one action. Writes. To read use search_transactions; ids come from list_entities. Cents are integers, outflows negative; dates YYYY-MM-DD. Other fields are refused. create: account, date, amount; optional payee, payee_name, notes, category, cleared, imported_id, subtransactions. update: id and at least one of account, date, amount, payee, payee_name, imported_payee, category, notes, imported_id, cleared, reconciled, subtransactions; null clears payee, category or notes. update_batch: updates (1 to 50), NOT atomic, reported per item, no splits. delete: id; DESTRUCTIVE, permanent, balances change, cannot be undone. import: account_id, txs; matched like a bank import (rules applied; duplicates by imported_id or same amount within 7 days). merge: ids (two); DESTRUCTIVE, keeps one row by the upstream rule, deletes the other, cannot be undone. transfer: from_account, to_account, amount (positive), date; optional notes. Returns { success, id } (create; id often null, success false when an id is unknown or a payee is a transfer payee), { success } or { success, split } (update, delete), { succeeded, failed, total, successCount, failureCount } (update_batch), { result: { added, updated, errors } } (import), { result: { success, keptId, deletedId } } (merge), { result } (transfer; same or unknown account: result.success false).

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": {
      "action": "<action>"
    },
    "name": "manage_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoTransaction id.
idsNoTwo transaction ids.
txsNoRows {date, amount, imported_id?, payee_name?, category?, notes?}.
dateNoYYYY-MM-DD.
notesNoNotes; "#word" tags it.
payeeNoPayee id.
actionYes
amountNoInteger cents, outflow negative.
accountNoAccount id.
clearedNoCleared flag.
updatesNo1 to 50 {id, fields}; fields as update, minus imported_id, reconciled, subtransactions.
categoryNoCategory id.
account_idNoAccount id.
payee_nameNoPayee name (matched, else created).
reconciledNoReconciled flag.
to_accountNoTarget account id.
imported_idNoSource id.
from_accountNoSource account id.
imported_payeeNoImported payee.
subtransactionsNoSplit {amount, category?, notes?}; cents sum to amount.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.36.1
    • changedInput schema / properties / payee / description
      Previous value: -"Payee id (update: or name)."New value: +"Payee id."
    • changedInput schema / properties / payee_name / description
      Previous value: -"Payee name."New value: +"Payee name (matched, else created)."
    • removedInput schema / properties / transfer_id
      Removed value: -{
      -  "description": "Transfer id.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedInput schema / properties / updates / description
      Previous value: -"1 to 50 {id, fields}; fields as update, minus imported_id, transfer_id, reconciled, subtransactions."New value: +"1 to 50 {id, fields}; fields as update, minus imported_id, reconciled, subtransactions."
  2. Changed1 schema field changedv0.33.0
    • changedInput schema / properties / notes / description
      Previous value: -"Notes."New value: +"Notes; \"#word\" tags it."
  3. Addedv0.30.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well past the destructiveHint=true annotation by identifying which actions are destructive (delete, merge), that balances change and changes are permanent and irreversible. It also discloses non-obvious behavior: update_batch is not atomic and reports per item, import applies rules and dedupes by imported_id or same amount within 7 days, unknown fields are refused.

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 verb list and the write/read split before per-action detail, and every clause carries information. It is dense and punctuation-heavy, with return shapes inlined, which costs some readability but not correctness.

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

Completeness5/5

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

With 20 parameters, seven actions and no output schema, the description still covers per-action requirements, destructive semantics and the return payload of every action, including failure shapes such as id being null or success false for identical or unknown accounts. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 95%, but the description still adds semantics the schema lacks: cents as integers with outflows negative, dates as YYYY-MM-DD, transfer amounts must be positive, null clears payee/category/notes, and subtransaction cents must sum to the parent amount. It also maps fields to actions, which the flat schema does not.

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?

Names the resource and enumerates the seven actions the tool multiplexes, then explicitly states it is write-only and points readers to search_transactions for reads. An agent can distinguish it from every sibling without opening the 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?

Explicitly says 'pick one action' and routes reads to search_transactions and id resolution to list_entities. Each action carries its own required and optional field set, so the agent knows exactly which branch applies when.

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