Skip to main content
Glama
actual-mcp-server

actual-mcp-server

List or get budget months

list_budget_months
Read-onlyIdempotent

List all budget months or read one month's totals and per-category budgeted versus spent amounts. Use it to review envelope or tracking budgets by month.

Instructions

List the budget months, or read one month's budget when month is given. Use it for budgeted versus spent per category; for actual spending totals use summarize_transactions, for ids use list_entities, for individual transactions use search_transactions. To change a budgeted amount use manage_budget_months. month: optional, YYYY-MM; the only input, any other property is refused by name. Returns { result: [YYYY-MM, ...] }, the budget months and nothing else, when month is omitted. Fields: totalSpent sums expense transactions (negative for spending); totalBalance sums the category balances. On an envelope budget totalBudgeted is the expense budgets summed with the sign reversed (negative when money is budgeted), toBudget is what is left to budget and forNextMonth the amount held; on a tracking budget totalBudgeted is a plain positive sum and the other two are absent. Returns { result } holding that month's budget when month is given: totals (totalIncome, totalBudgeted, totalSpent, toBudget, forNextMonth, totalBalance) and categoryGroups; an expense category carries budgeted, spent and balance, an income category received; amounts are integer cents.

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": "list_budget_months"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthNoMonth as YYYY-MM, one the budget has. Omit it to list every month.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.30.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description adds genuine behavioral context instead: it explains that envelope budgets store totalBudgeted with the sign reversed while tracking budgets use a plain positive sum and omit toBudget/forNextMonth, that spending amounts are negative, and that amounts are integer cents. There is no output schema, and the description carries the return-shape burden well.

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 purpose and alternatives, then the return shapes, which is the right order. It is dense rather than padded, but the block of budget-field definitions is long and could be tightened; a couple of clauses (e.g. restating that other properties are refused, mirroring additionalProperties=false) are redundant.

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?

With no output schema, the description must explain both return variants and it does: the flat month list for the omitted case and the totals/categoryGroups structure with per-category fields for the single-month case. For a one-parameter read tool, nothing an agent needs to call it correctly is missing.

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% and the schema already says 'Omit it to list every month', so the baseline is 3. The description goes slightly further by framing `month` as the only input and noting that any other property is refused by name, plus restating the YYYY-MM format and the list-versus-read switch, though it adds no new format or validation nuance beyond the pattern.

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 and resource ('List the budget months') and immediately splits the two modes: listing all months, or reading one month's budget when `month` is given. It also names the siblings it is not (summarize_transactions, list_entities, search_transactions, manage_budget_months), so an agent can route without opening another 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?

Explicitly states the use case (budgeted versus spent per category) and routes four competing needs elsewhere by name: actual spending totals to summarize_transactions, ids to list_entities, individual transactions to search_transactions, mutations to manage_budget_months. 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.