Skip to main content
Glama
akutishevsky

LunchMoney MCP Server

attach_file_to_transaction

Attach a local file, such as a receipt or document, to a transaction. Supports images and PDFs up to 10MB.

Instructions

Attach a local file (max 10MB) to a transaction. Allowed types: image/jpeg, image/png, image/heic, image/heif, application/pdf. The file is read from the local filesystem of the host running this MCP server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transaction_idYesID of the transaction to attach the file to.
file_pathYesAbsolute or relative path to the file on the local filesystem.
content_typeNoMIME type. If omitted, the server infers it from the file extension.
notesNoOptional notes describing the attachment.
Behavior4/5

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

Beyond the idempotentHint=false annotation, the description discloses important behavioral details: file size limit, allowed MIME types, and that the file is read from the host filesystem. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no wasted words. First sentence covers purpose and constraints, second adds context. Efficient and well-structured.

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?

The description covers key aspects but omits return value or error behavior. Without an output schema, the agent lacks information on success/failure indicators, such as whether an attachment ID is returned or what happens on errors.

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?

The input schema already documents all four parameters with descriptions. The description adds value by specifying file size and type constraints, but does not significantly elaborate on individual parameter meaning beyond the schema.

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 description clearly states the action (attach), resource (transaction), and key constraints (max 10MB, allowed MIME types). It distinguishes this tool from siblings as the only one for attaching files.

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

Usage Guidelines4/5

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

The description specifies when to use (attach a file to a transaction) and lists constraints (size, types). However, it does not explicitly tell when not to use or mention alternatives like delete_transaction_attachment for other attachment operations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akutishevsky/lunchmoney-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server