Skip to main content
Glama
Actual Budget MCP Server

Actual Budget MCP Server

by jimmyzmli

actual_sync_receipts

Sync PocketBase receipts into the local SQLite cache for local queries, supporting full sweeps, incremental updates, single-receipt refreshes, and initial population when the cache is empty.

Instructions

Sync receipts from PocketBase into the local SQLite cache (supports full sweep, incremental sync, single-receipt refresh by id, or initial_if_empty).

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

Input Schema

NameRequiredDescriptionDefault
idNoOptional PocketBase receipt record ID to refresh or delete
argsNo
fullNoPerform full sweep instead of incremental
initial_if_emptyNoOnly perform full sync if local cache is empty or missing images

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the data flow into a local SQLite cache and the sync modes, but omits important behavior such as whether existing cache data is overwritten, authentication requirements, error handling, and the fact that the id parameter can also trigger deletion according to the schema.

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?

The description is a single front-loaded sentence with a compact parenthetical listing modes. It is efficient, though the parenthetical mixes distinct behavioral modes in a way that could be slightly more structured.

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 state-changing sync tool with no annotations, no output schema, and incomplete parameter descriptions. The definition should clarify cache overwrite/delete behavior, response expectations, and the role of args, but instead leaves these gaps for the agent to infer.

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 coverage is 75%, with descriptions already present for id, full, and initial_if_empty. The description reinforces the modes but adds little beyond the schema, and it leaves the untyped args array unexplained.

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 states a specific verb and resource: syncing receipts from PocketBase into a local SQLite cache. It does not explicitly distinguish this tool from sibling sync tools such as actual_sync_budget or actual_run_bank_sync, but the receipt-specific direction is clear.

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

Usage Guidelines3/5

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

The parenthetical lists supported modes (full sweep, incremental sync, single-receipt refresh, initial_if_empty), which gives implied usage guidance. It does not say when to choose this tool over alternatives or when not to use it, leaving mode selection to the agent.

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

Deploy Server

Other Tools