Skip to main content
Glama
actual-mcp-server

actual-mcp-server

Manage budget months

manage_budget_months

Change monthly budget amounts, carryover, next-month holds, transfers, and month notes by selecting an action.

Instructions

Change the budget of a month: amounts, carryover, the hold for next month, transfers between categories, the month note; pick one action. Writes. To read months use list_budget_months; to switch, import or export a budget file use manage_budget_files; category notes use manage_categories. set_amount: month, category_id, amount (the month must be one the budget has; an income category is refused on an envelope budget; |amount| at most 2251799813685247; an unknown category or month is returned as { success: false, error }). set_amount_batch: operations, 1 to 100 items {month, categoryId, amount?, carryover?} with camelCase keys, each needing amount or carryover; NOT atomic, no rollback, items applied before a failure stay applied; an unknown category, a month out of range or carryover, or amount on an envelope budget, on an income category fails only that item; after a timeout read the months back before retrying. set_carryover: month, category_id, flag (true rolls an overspent balance into the next month, false resets it; envelope budget: a positive balance always rolls over; tracking budget: only with the flag), from that month on; expense categories only. hold: month, amount greater than 0; holds for next month and may hold LESS than asked (clamped to what is left to budget); nothing held is an error; Actual ADDS to the buffer, so on an error read the month before retrying. reset_hold: month; releases the whole hold back to to-budget. transfer: month, from_category_id, to_category_id (different, expense categories only), amount greater than 0 and at most 2251799813685247; the source needs that much budgeted; NOT atomic, if the second write fails the source was already lowered. set_note: month, note; sets or clears the month note. Returns {} (set_amount), { succeeded, failed, total, successCount, failureCount } (set_amount_batch; failing items are a normal result), { success: true } (set_carryover, reset_hold), { success, held } or { success, partial, requested, held, message } (hold), { result: { success, transferred, fromCategory, toCategory } } (transfer), { 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_budget_months"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagNotrue rolls an overspent balance into the next month, false resets it.
noteNoNote text for the month; "" clears it. Template directives such as "#template 250" work.
monthNoBudget month as YYYY-MM, one the budget has (list_budget_months lists them).
actionYes
amountNoInteger cents (5000 is $50.00). set_amount: the new budgeted amount; hold and transfer: greater than 0.
operationsNo1 to 100 items {month, categoryId, amount?, carryover?} with camelCase keys; each needs amount or carryover.
category_idNoCategory id.
to_category_idNoTarget category id, different from from_category_id.
from_category_idNoSource category id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.36.1
    • changedInput schema / properties / flag / description
      Previous value: -"true carries the category balance into next month, false does not."New value: +"true rolls an overspent balance into the next month, false resets it."
  2. Addedv0.30.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile and the write/non-idempotent nature are known from structured data. The description earns credit for disclosing traits annotations cannot express: batch is "NOT atomic, no rollback, items applied before a failure stay applied," transfer can leave the source lowered, hold may be clamped below the requested amount, and Actual ADDS to the buffer. With annotations carrying the base profile, this sits above baseline but is still a description-level spec rather than a full behavioral contract.

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 purpose, then alternatives, then per-action specifications, with action names used as inline labels, so the agent can scan to the relevant clause. It is also dense with genuinely load-bearing detail (non-atomicity, clamping, return shapes) rather than filler. It loses a point because the searchable structure is a single run-on paragraph and the return-value enumeration is verbose.

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 a seven-action, nine-parameter tool with no output schema, the description supplies per-action parameter requirements, failure modes, and return shapes — coverage that would otherwise be entirely absent. The only real gaps are the conflicting amount limit and the absence of any stated authentication or permission prerequisites for these budget mutations.

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 89%, but the description adds real meaning the schema lacks: which parameters apply to which action, that batch items use camelCase keys with amount-or-carryover required, that income categories are refused on an envelope budget, and that amounts are integer cents with action-specific bounds. One inconsistency undermines this: the description caps |amount| at 2251799813685247 while the schema maximum is 9007199254740991, leaving the agent with two conflicting limits.

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?

States a specific verb and resource ("Change the budget of a month") and enumerates the exact writable facets: amounts, carryover, hold, transfers, month note. It also explicitly names which siblings handle the neighboring operations (list_budget_months for reads, manage_budget_files for files, manage_categories for category notes), so an agent can separate this tool from its neighbors without opening schemas.

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?

Gives an explicit dispatch rule — "pick one action" — and then routes the agent away to alternatives: "To read months use list_budget_months; to switch, import or export a budget file use manage_budget_files; category notes use manage_categories." Each action also carries its own conditions (e.g. set_carryover is "expense categories only"), so both when-to-use and when-not-to-use are covered.

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