Skip to main content
Glama
actual-mcp-server

actual-mcp-server

List budget entities

list_entities
Read-onlyIdempotent

List, search, or resolve Actual Budget entities by type—accounts, categories, payees, tags, rules, schedules, notes, and budget files—to find IDs, matches, or scheduled dates.

Instructions

List, search or look up budget entities of one type: account, account_group, category, category_group, payee, tag, rule, schedule, note or budget_file. For the whole budget structure, server details or preferences in one call use get_context instead. With only type it lists every entity of that type. A field the type does not take is refused naming the field. account, category, payee: query (string or array) with match_type and limit to search by name, or name to resolve one exact name to its id, refused with the candidate ids when several share it. payee: also sort frequency (the 10 most used payees of the last 12 weeks; a transfer payee can appear, with transfer_acct null). schedule: name to resolve its id, or schedule_id with start, end and count (default and maximum 366) to list the dates it falls on. rule: payee_id to list that payee's rules. tag: the tag list (colour, description); tags used only in notes are not listed. note: requires id (an entity UUID or budget-YYYY-MM). budget_file: scope configured (default; active true marks this session's budget) or server. query and name are mutually exclusive, as are schedule_id and name; match_type and limit need query; start, end and count need schedule_id; sort allows no other field. Returns the list for the type; a query returns { matches, count, total, truncated }, a name returns the id, a schedule_id returns { schedule_id, name, dates, count, truncated }, and a note returns { found, id, 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": {
      "type": "<type>"
    },
    "name": "list_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRequired for type note: an account, category, category group or payee UUID, or budget-YYYY-MM.
endNoLast date, YYYY-MM-DD, inclusive. Needs schedule_id.
nameNoExact name to resolve to an id. Only for type account, category, payee, schedule; not with query or schedule_id.
sortNofrequency: most used payees of recent transactions. Only for type payee, alone.
typeYes
countNoHow many dates to return, 1 to 366. Needs schedule_id.
limitNoMaximum matches (default 10). Needs query.
queryNoName pattern, or an array matching if ANY matches. Only for type account, category, payee.
scopeNoFor budget_file only. configured (default): configured files. server: Actual server files.
startNoFirst date, YYYY-MM-DD (default today). Needs schedule_id.
payee_idNoPayee UUID: list only its rules. Only for type rule.
match_typeNoHow query matches (default contains; case-insensitive; fuzzy tolerates typos). Needs query.
schedule_idNoSchedule UUID: list its dates. Only for type schedule; not with name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.35.0
    • changedInput schema / properties / scope / description
      Previous value: -"configured (default): budget files this server is configured with. server: files on the Actual server. Only for type budget_file."New value: +"For budget_file only. configured (default): configured files. server: Actual server files."
  2. 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), yet the description still adds substantial behavior: invalid fields for a type are refused by name, an ambiguous `name` is refused with candidate ids, transfer payees can appear with `transfer_acct` null, and tags used only in notes are omitted. It also documents defaults (limit 10, start today, count 366) and the shape returned for each mode.

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?

It is front-loaded: the verb/resource and the `get_context` alternative come first, followed by per-type lines and then constraint rules. The per-type lines are dense semicolon chains, so the block is harder to scan than it needs to be, but essentially every sentence carries a distinct constraint rather than filler.

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 a 13-parameter, ten-mode tool with no output schema, the description does the extra work of explaining return shapes ({ matches, count, total, truncated }, id, { schedule_id, name, dates, count, truncated }, { found, id, note }) and defaults. Nothing an agent needs to invoke it correctly appears 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 92%, so the schema already carries most per-parameter meaning, including several 'needs X' constraints that the description repeats. The description still adds value by summarizing per-type applicability in one place, stating cross-field refusals, and giving the `count` and `start` defaults that the schema leaves implicit.

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?

The first sentence names a specific verb set (list/search/look up) and a specific resource (budget entities) constrained to one `type`, and enumerates every legal type value. It also explicitly carves out what this tool is not (`get_context` for the whole budget structure, server details or preferences).

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?

The description routes the agent away from this tool for whole-budget/server/preference lookups by naming `get_context` as the alternative. It then gives per-type selection rules (query vs. name, schedule_id vs. name, payee_id for rule, required id for note) and states the mutual-exclusivity conditions, which is exactly the guidance needed to choose a mode.

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