Skip to main content
Glama
actual-mcp-server

actual-mcp-server

Manage categories and groups

manage_categories
Destructive

Create, update, delete, or annotate Actual Budget categories and category groups to organize budget structure, move categories between groups, and set notes.

Instructions

Create, change, delete or annotate budget categories and category groups; pick one action. Writes. To read or find ids use list_entities; budget amounts and month notes belong to manage_budget_months. Other fields are refused. entity (category or category_group) is required for create, update and delete. create: entity, name; a category also needs group_id (an unknown group is refused as not found) and takes is_income from that group (a different is_income is refused); a category_group may set is_income (true is refused when the budget already has an income group) and hidden. update: entity, id and at least one of name, group_id (category only; an unknown group is refused), is_income, hidden; is_income must match the group, so moving a category to a group with the other is_income needs both; prefer hidden true over delete to retire a category. delete: entity, id; DESTRUCTIVE, cannot be undone: a category is removed and its transactions are not moved (recategorize them first); deleting a group ALSO deletes every category in it (move them out first with update group_id). set_note: id (a category or category group UUID), note ("" clears); not budget-YYYY-MM; an account note goes through manage_accounts and a payee note through manage_payees. Returns { success, categoryId, message } (create category), { id, success } (create group), { success } (update, delete), { 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_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoCategory id (category group id with entity category_group).
nameNoName, 1 to 255 characters.
noteNoNote text; "" clears it.
actionYes
entityNocategory or category_group.
hiddenNoHidden flag.
group_idNoCategory group id.
is_incomeNoIncome flag; default expense (a category: its group's).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.36.1
    • changedInput schema / properties / is_income / description
      Previous value: -"Income flag; default expense."New value: +"Income flag; default expense (a category: its group's)."
  2. Addedv0.30.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond them: it states deletes cannot be undone, that deleting a category does not move its transactions, and that deleting a group cascades to every category inside it. It also discloses refusal behaviors (unknown group = not found, mismatched is_income refused, second income group refused) and per-action return shapes.

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 the action list and sibling routing before the dense per-action rules, and the create/update/delete/set_note labels give scannable structure. It is a long single paragraph of semicolon-chained clauses, so it is dense rather than tight, but nearly every clause carries a distinct constraint.

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 an 8-parameter, multi-action mutation tool with no output schema, the description covers action-conditional required fields, cross-field constraints, refusal cases, destructiveness with preconditions, sibling routing for adjacent data, and the response shape of each action. Nothing an agent needs to invoke it safely is missing.

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 description coverage is 88%, so field-level meaning is already largely carried by the schema. The description does add genuine cross-field semantics the schema cannot express: which fields are required per action, that a category inherits is_income from its group, and that a group move with a differing is_income requires both parameters. Strong value-add, but the bulk of individual field definitions still comes from the schema.

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?

Opens with a specific verb set over a specific resource: 'Create, change, delete or annotate budget categories and category groups'. It immediately distinguishes itself from list_entities (reads/finding ids) and manage_budget_months (budget amounts and month notes), so an agent can route 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: read/find ids go to list_entities, budget amounts and month notes go to manage_budget_months, account notes to manage_accounts, payee notes to manage_payees, and 'Other fields are refused'. It also gives in-tool preference guidance ('prefer hidden true over delete to retire a category') and prerequisites for destructive paths (recategorize transactions first, move categories out before deleting a group).

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