Skip to main content
Glama
lunchmoney-mcp-v2

lunchmoney-mcp-v2

by ConnorDBurge

get_attachment_url

Retrieve the URL for a transaction file attachment by providing its file ID, enabling access to the linked file for viewing or download.

Instructions

Get the URL for a transaction file attachment

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": {
      "file_id": "<file_id>"
    },
    "name": "get_attachment_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYesFile attachment ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses that the return value is a URL (valuable since there is no output schema), but it says nothing about whether that URL expires, what permissions are needed, or what happens for an invalid or deleted file_id.

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 zero wasted words. It is efficient, though its terseness is part of why behavioral detail is thin elsewhere.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only getter with full schema coverage, this is close to sufficient: the resource and return type are both stated. Missing is any note on link lifetime or error behavior, which is a modest gap rather than a blocking one.

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 100% and the single parameter already carries the description "File attachment ID", so the baseline is 3. The description only adds the mild clarification that the attachment is a transaction file attachment; no format or constraints are supplied.

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 pairs a specific verb ("Get") with a specific resource ("URL for a transaction file attachment"), which is enough to distinguish it from siblings like attach_file and delete_attachment, which operate on the attachment itself rather than retrieving a link.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no named alternatives. An agent can infer that it needs a known file_id to fetch a link, but the description never states the condition that selects this tool over attach_file or a transaction-detail call.

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