Skip to main content
Glama

attach_file_to_issue

Attach a local file to a Redmine issue in a single call, uploading and linking it automatically. Specify the issue ID and file path to complete the attachment.

Instructions

Attach a local file to an issue.

Uploads the file and links it to the issue right after — the two steps Redmine's API requires, in a single call.

The path is resolved on the machine running this MCP server.

Args: issue_id: issue ID. file_path: full path of the file on the server's machine. description: attachment description, shown next to its name. comment: note to add to the history along with the attachment. file_name: display name in Redmine (empty = use the file's own name).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNo
issue_idYes
file_nameNo
file_pathYes
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description takes on the full transparency burden. It discloses a key behavioral trait: the file path is resolved on the MCP server machine, and it explains the internal sequence of upload-then-link. However, it omits potential side effects, authorization requirements, or error conditions, so it doesn't reach a perfect score.

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 appropriately sized and front-loaded with the primary action. The Args list is neat and easy to scan, and each explanation is concise. The note about Redmine's API is slightly extra but still useful context, making the description efficient without being wasteful.

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?

The tool has moderate complexity (upload + link) and an output schema exists, so return values need not be described. The description covers all parameters and the critical server-path restriction. It doesn't mention prerequisites like file existence or permission checks, but for this operation the coverage is reasonably complete.

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?

Schema coverage is 0%, meaning the description must compensate for the absence of parameter descriptions in the schema. It provides plain-language definitions for all five parameters, including the nuanced default behavior of file_name ('empty = use the file's own name'). This adds meaningful value beyond the raw 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 opens with 'Attach a local file to an issue', a specific verb+resource statement that clearly distinguishes it from the sibling tool attach_file_to_wiki_page. It also explains the two-step composition, making the tool's core function unambiguous.

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 states that it combines the two Redmine API steps into one call, implying a convenience benefit, but it does not explicitly compare against alternatives such as attach_file_to_wiki_page or mention when not to use this tool. The usage context is clear but without exclusions or alternatives.

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/alsimoes/mcp-redmine'

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