Skip to main content
Glama
Actual Budget MCP Server

Actual Budget MCP Server

by 3stacks

get_spending_history

Retrieves category-based spending history for a chosen number of past months, with optional filtering by category name. Use it to review past spending trends and analyze budget activity.

Instructions

Get spending history by category for the last N months

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_spending_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoNumber of months to look back (default: 6, max: 24)
categoryNameNoOptional: filter to a specific category name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only aggregate but never states the aggregation grain (per-category totals? per-month buckets?), whether amounts are summed or itemized, or what happens when a category has no spending — meaningful gaps for a reporting tool.

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?

One short sentence with no filler, and the scope is front-loaded. It is efficient but borders on under-specified rather than tight, so it does not reach the top of the scale.

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?

With no annotations and no output schema, the description is the only place an agent could learn the return shape, but it says nothing about it. Given the tool emits aggregated spending data, the definition is too thin to call correctly with confidence.

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 100% and the schema already documents both 'months' (default 6, max 24) and the optional 'categoryName' filter. The description reinforces the time-window semantics with 'last N months' but adds no format, unit, or edge-case detail beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ('Get spending history') plus a scope ('by category for the last N months'), so an agent knows this is a historical spending aggregate rather than a raw transaction list. It never distinguishes itself from the sibling 'get_discretionary_spending', leaving ambiguity about which aggregation to pick.

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?

There is no explicit when-to-use guidance and no mention of alternatives. The only implied routing signal is 'by category for the last N months', which an agent must infer against siblings like get_discretionary_spending and get_transactions on its own.

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