Skip to main content
Glama
Actual Budget MCP Server

Actual Budget MCP Server

by 3stacks

categorize_transaction

Update an existing transaction's category by searching with account, date, and approximate amount to find the closest match and assign a new category.

Instructions

Update the category of an existing transaction by searching for it

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": {
      "accountName": "<accountName>",
      "date": "<date>",
      "amountApprox": "<amountApprox>",
      "categoryName": "<categoryName>"
    },
    "name": "categorize_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesTransaction date in YYYY-MM-DD format
accountNameYesName of the account
amountApproxYesApproximate amount in dollars (will find closest match)
categoryNameYesNew category name to assign

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the key behavioral trait that identification happens via search rather than an ID. It omits important consequences: how ambiguous or fuzzy-amount matches are resolved, whether an unmatched transaction silently no-ops, and whether the category must pre-exist or will be created.

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?

A single short sentence with the mutation front-loaded and no wasted words. The trailing 'by searching for it' is slightly dangling but does carry the most useful non-obvious information.

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

Completeness2/5

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

This is a four-required-parameter mutation with no annotations and no output schema, so the description must do more than one clause. It leaves the agent without guidance on match ambiguity, failure behavior, or whether a successful call returns the affected transaction, which matters given approximate-amount matching.

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 100%, so baseline is 3, but the phrase 'by searching for it' adds real meaning by framing accountName/date/amountApprox as search keys and categoryName as the new value. That grouping is not obvious from the schema alone, where all four look like uniform inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Update the category of an existing transaction') plus the mechanism ('by searching for it'), so an agent knows exactly what changes. It does not need sibling differentiation, since no listed sibling (add_transaction, get_transactions, get_categories) performs recategorization, though it never explicitly says so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies the transaction must already exist and must be located by search, but gives no when-to-use vs. alternatives guidance and no exclusions. It says nothing about what to do when matching fails, when the target category is unknown, or when get_transactions should be used first to resolve the transaction.

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