Skip to main content
Glama
akutishevsky

LunchMoney MCP Server

attach_file_to_transaction

Attach a local file (image or PDF) to a transaction to provide supporting documentation. The file is read from your computer's filesystem.

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?

The description discloses the critical behavior that the file is read from the local filesystem of the host, which is not obvious from annotations or schema. It also mentions size and type limits. However, it does not describe what happens if the file is missing or if the operation is repeated.

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?

The description is two sentences with no filler: first sentence states purpose and constraints, second clarifies filesystem. Every sentence earns its place.

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 lacks information about return values or confirmation of success. Given no output schema, the agent is left guessing about the outcome. However, it does cover constraints and behavior adequately for a mutation tool.

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?

While the input schema has 100% coverage, the description adds value by clarifying that the file_path is local, and specifying allowed content types and the 10MB limit, which are not in 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 a file), the target resource (transaction), and key constraints (max 10MB, allowed MIME types, local filesystem). This distinguishes it from siblings like delete_transaction_attachment.

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 description implies when to use (when you need to attach a file to a transaction) but does not provide explicit guidance on when not to use it, prerequisites (transaction must exist), or alternatives like using a URL attachment.

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