Skip to main content
Glama
Actual Budget MCP Server

Actual Budget MCP Server

by jimmyzmli

actual_get_receipt_image

Fetch a receipt image as base64 and its direct PocketBase URL by receipt record ID; optionally choose a page index or filename for multi-image receipts.

Instructions

[READ-ONLY] Fetch receipt image binary (as base64) and direct PocketBase URL by receipt record ID and optional page index or filename.

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": {
      "id": "<id>"
    },
    "name": "actual_get_receipt_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPocketBase receipt record ID
argsNo
filenameNoSpecific image filename (defaults to first attached image)
page_indexNoImage index if multiple pages/images attached (default: 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does self-declare '[READ-ONLY]' and discloses that the return is base64 data plus a direct URL, which is genuinely useful. It says nothing about image size limits, behavior when no image is attached, or auth requirements, leaving meaningful gaps for a no-annotation 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?

A single front-loaded sentence with the read-only tag first and the return shape before the lookup keys. Every clause carries information; the only mild cost is the jargon-heavy 'direct PocketBase URL' phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does the necessary work of explaining what comes back (base64 and URL). For a binary-retrieval tool it still omits failure modes — missing attachment, invalid page index, oversized response — that an agent would need before calling it blind.

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?

The schema already documents id, filename, and page_index (75% coverage), and the description restates the file/page selection logic compactly. The undocumented 'args' array is unaddressed in both places, which is the main shortfall.

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 ('Fetch receipt image binary') plus the exact return form (base64 plus direct PocketBase URL) and the lookup keys (receipt record ID, optional page index or filename). It is clearly distinguishable from a metadata-style sibling like actual_get_receipt, though it never names that sibling explicitly.

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?

Usage is only implied: an agent can infer this is the tool for pulling image bytes rather than receipt metadata. There is no statement of when to prefer this over actual_get_receipt, nor any prerequisite such as requiring the record to already have attachments.

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