Skip to main content
Glama
actual-mcp-server

actual-mcp-server

Manage payees

manage_payees
Destructive

Create, rename, delete, merge, or annotate budget payees by choosing one action. Use it to keep payee records current and assign a default category.

Instructions

Create, change, delete, merge or annotate payees; pick one action. Writes. To read or find ids use list_entities. Other fields are refused. create: name; optional notes. update: id and at least one of name (a transfer payee is refused: rename its account), category (a default category, stored as a default-stage rule whose only condition is this payee; null deletes it; pre or post stage rules and rules shared with other payees or conditions are never touched). delete: id; DESTRUCTIVE, cannot be undone: transactions lose the payee; a transfer payee is refused. merge: target_id, merge_ids (1 to 50, never target_id itself); DESTRUCTIVE, cannot be undone: the sources' transactions move to target_id and the sources are deleted; transfer payees are refused. set_note: id (a payee UUID), note ("" clears); not budget-YYYY-MM; an account note goes through manage_accounts and a category note through manage_categories. Returns { result: id } (create), { success, payeeId, updatedFields } (update), { success } (delete), { success, mergedIds, message } (merge), { 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_payees"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoPayee id.
nameNoName, 1 to 255 characters.
noteNoNote text; "" clears it.
notesNoNotes, up to 1000 characters.
actionYes
categoryNoDefault category id; null clears it.
merge_idsNo1 to 50 payee ids merged into target_id.
target_idNoPayee that is kept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.36.1
    • removedInput schema / properties / transfer_acct
      Removed value: -{
      -  "description": "Account id when the payee stands for a transfer.",
      -  "type": "string"
      -}
  2. Addedv0.30.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds materially: which action destroys what ('transactions lose the payee', 'sources are deleted'), that details cannot be undone, and which inputs are refused (transfer payees for update/delete/merge). It also lists the return shape per action, though it does not cover partial-failure or transactional guarantees for merge.

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-loaded with a one-line summary naming the verb set and the sibling to use for reads; every subsequent sentence carries operational detail. It is dense to the point of being a single wall of text, and the trailing enumeration of return shapes is verbose, but little is expendable.

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 an eight-parameter, five-mode mutation tool with no output schema, it supplies per-action required fields, refusals, destructiveness, and return payloads. Remaining gaps (idempotency behavior, transactional atomicity of merge, ordering of mergedIds) are minor rather than blocking.

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 already 88%, so the baseline is 3, and the description exceeds it by mapping fields to actions (create: name/notes; update: id plus name or category; merge: target_id/merge_ids) and by explaining non-obvious semantics such as category being stored as a default-stage rule and 'null deletes it'. Some residual detail (e.g. `notes` vs `note` field distinction across actions) is only implied.

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 (payees) and enumerates the five concrete operations (create, change, delete, merge, annotate), then explicitly distinguishes itself from list_entities for read/find-id work. An agent can identify the tool and its scope 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?

States 'pick one `action`', warns 'Other fields are refused', and routes the agent elsewhere for adjacent cases: 'To read or find ids use list_entities', account notes via manage_accounts, category notes via manage_categories. It also gives explicit when-nots such as renaming an account instead of renaming a transfer payee.

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