Skip to main content
Glama
actual-mcp-server

actual-mcp-server

Get budget and server context

get_context
Read-onlyIdempotent

Read the budget structure or Actual server details, version, and preferences in one call to learn what exists before reading or changing anything.

Instructions

Read the budget structure or the Actual server details in one call; start here to learn what exists before reading or changing anything. Use list_entities instead to list or look up one kind of entity (accounts, categories, payees, rules, schedules, tags, notes, budget files) or to resolve a name to an id; this tool returns the whole structure at once. Pick one topic (default structure). structure: accounts, categories with their groups and payees together, optional include_accounts, include_categories, include_payees, include_closed (closed accounts are left out unless true) and payee_limit (1 to 2000, default 500); a section you exclude is omitted, and at least one of the three include_* flags must stay true. server: the MCP server name, version, description and transport, runtime (Node.js, platform, arch), dependencies (declared and resolved SDK and Actual API versions), uptime and memory use, and tools { total published, registered, policy }; takes no other fields. version: the Actual server version string, not the MCP server version, no other fields. preferences: { preferences, keys, count, message } with the synced display values (number format, date format, currency, first day of the week), no other fields; amounts stay integer cents whatever it says. A field given for a topic that does not take it is refused naming the field. Returns the topic's result object: the accounts, category groups with nested categories and payees for structure, the server details for server, the version string for version, and the preference values for preferences.

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_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNo
payee_limitNoMaximum payees to return, 1 to 2000 (default 500). topic structure only.
include_closedNoInclude closed accounts (default false, they are left out). topic structure only.
include_payeesNoInclude the payees section (default true). topic structure only.
include_accountsNoInclude the accounts section (default true). topic structure only.
include_categoriesNoInclude the categories and category groups section (default true). topic structure only.

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?

Beyond the readOnly/idempotent annotations, the description discloses real behavior an agent could not infer: defaults for include_closed and payee_limit, the constraint that at least one include_* flag must stay true, the validation rule that a field irrelevant to the chosen topic is refused by name, and the caveat that amounts stay integer cents regardless of the synced display preferences. This is richer than the annotation set.

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 the sibling alternative, and nearly every clause carries information. The topic breakdown is delivered as one dense run-on sentence, which makes scanning harder than a short bulleted list would.

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 six optional parameters, no output schema, and a topic switch, the description still specifies what each topic returns and where to start. There is no output schema, so the closing sentence describing the return object per topic fills that gap adequately.

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 83%, so the baseline is 3, but the description adds per-topic meaning for each enum value (what structure/server/version/preferences each return and which fields each accepts) and states a cross-parameter constraint the schema does not express. Some content, like the payee_limit range and default, restates the schema verbatim, capping it below 5.

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?

A specific verb-plus-resource statement ('Read the budget structure or the Actual server details in one call') that immediately names the sibling it is not (list_entities) and states the scoping difference ('this tool returns the whole structure at once'). An agent can distinguish it from list_entities without opening either 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?

Gives explicit entry-point guidance ('start here to learn what exists before reading or changing anything') plus a named alternative with the exact condition that selects it ('to list or look up one kind of entity... or to resolve a name to an id'). When-to-use and when-not-to-use are both covered.

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