Skip to main content
Glama
actual-mcp-server

actual-mcp-server

Manage accounts and groups

manage_accounts
Destructive

Create, update, close, reopen, delete, bank-sync, or annotate accounts and account groups in Actual Budget by choosing an action; use list_entities to find IDs before writes.

Instructions

Create, change, close, reopen, delete, bank-sync or annotate accounts and account groups; pick one action. Writes. To read or find ids use list_entities; month notes belong to manage_budget_months. Other fields are refused. entity (account or account_group) is required for create, update and delete; close takes account or nothing. create: entity, name; optional balance (account, integer cents) and offbudget (account). update: entity, id and at least one of name, offbudget, closed, account_group_id (a group id, or null to ungroup) (account) or name (account_group); to close or reopen prefer those actions. close: id; optional transfer_account_id (required for a non-zero balance, not id itself), transfer_category_id (required when a non-zero on-budget account closes into an off-budget one, refused otherwise); an account with no transactions is REMOVED, not closed. reopen: id. delete: entity, id; DESTRUCTIVE, cannot be undone: an account takes its transactions with it and the other half of each transfer stays, unlinked (a closed account is not deleted: reopen it first), a group leaves its accounts ungrouped. bank_sync: optional account_id (omit for every linked open account); reaches the bank providers. set_note: id, note ("" clears); id is any entity UUID, not budget-YYYY-MM; for a category or payee note prefer manage_categories or manage_payees, so each note is set by the tool of its entity kind. Returns { result: id } (create account), { result: { id, name } } (create group), { success, accountId, updatedFields } (update account), { result: { success, id, updated } } (update group), { success, closed | alreadyClosed | removed } (close), { success, reopened | alreadyOpen } (reopen), { success, detachedTransfers } (delete account), { result: { success, id } } (delete group), { result, newTransactions, matchedTransactions, updatedAccounts, truncated } (bank_sync), { result: { success, id, note, cleared } } (set_note).

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_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoAccount id (account group id with entity account_group).
nameNoName, 1 to 255 characters.
noteNoNote text; "" clears it.
actionYes
closedNoClosed flag.
entityNoaccount or account_group.
balanceNoOpening balance, integer cents.
offbudgetNoOff-budget flag.
account_idNoAccount id; omit to sync every linked account.
account_group_idNoAccount group id; null ungroups.
transfer_account_idNoAccount that receives the remaining balance.
transfer_category_idNoCategory for the balancing transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.36.1
    • addedInput schema / properties / account_group_id
      Added value: +{
      +  "description": "Account group id; null ungroups.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedInput schema / properties / sort_order
      Removed value: -{
      -  "description": "Sidebar position; lower first.",
      -  "type": "number"
      -}
  2. Addedv0.30.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds substantial non-annotated behavior: an account with no transactions is REMOVED rather than closed, delete takes transactions with it and leaves transfer counterparts unlinked, a closed account must be reopened before deletion, and a group delete ungroups its accounts. However, it does not disclose permission/auth requirements or rate limiting for bank_sync beyond 'reaches the bank providers'.

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 intent and routing constraints are front-loaded in the first two sentences, and per-action field requirements are compactly structured. It is dense and long, and the exhaustive return-shape enumeration at the end is heavy prose that could be terser, but it earns its place given there is no output schema.

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?

For a 12-parameter multi-action mutation tool with no output schema, the description covers action selection, per-action required fields, destructive side effects, cross-tool routing, and return shapes for every action. Nothing an agent needs to call any of the seven actions correctly appears to be 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 92%, so the baseline is 3, but the description adds conditional semantics the schema cannot express: which fields are required per action, that transfer_account_id is required for a non-zero balance, that transfer_category_id is required only when a non-zero on-budget account closes into an off-budget one (and refused otherwise), and that account_group_id null ungroups. This meaningfully exceeds the flat property descriptions.

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 opens with a specific, enumerated verb list (create, change, close, reopen, delete, bank-sync, annotate) bound to a concrete resource pair (accounts and account groups) and states the dispatch mechanism (pick one `action`). It also distinguishes itself from read-oriented siblings by pointing to list_entities, so an agent can identify the tool 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?

Explicit routing is given for multiple cases: reads and id lookups go to list_entities, month notes to manage_budget_months, category/payee notes to manage_categories or manage_payees, and 'to close or reopen prefer those actions' over a generic update. It also states what is refused ('Other fields are refused'), which is an explicit when-not rule.

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