Skip to main content
Glama
Redmine MCP Server

Redmine MCP Server

by popper2710

delete_attachment

Permanently removes an attachment from Redmine by its attachment ID, requiring delete permission. Returns a success flag and confirmation message.

Instructions

Delete an attachment from Redmine.

Args:
    attachment_id: The ID of the attachment to delete

Returns:
    Dictionary containing:
    - success: True if deletion succeeded
    - message: Confirmation message

Note:
    This permanently removes the attachment from the issue.
    The user must have permission to delete attachments.

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": {
      "attachment_id": "<attachment_id>"
    },
    "name": "delete_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does so well on the essentials: it states the deletion is permanent, that it removes the attachment from the issue, that permissions are required, and what the response contains. It omits failure behavior — e.g. what happens with an invalid or already-deleted attachment_id — which keeps it short of a 5.

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?

Front-loaded with a single clear sentence, then Args/Returns/Note sections that each contribute something. The Args block largely restates the schema, but the Returns block earns its place because no output schema exists.

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 destructive tool with no annotations and no output schema, the description covers permanence, permissions, and the return shape, which is nearly everything an agent needs. Only error/failure semantics are absent.

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 description coverage is 0% and there is one parameter, so the description must supply meaning; it identifies attachment_id as the ID of the attachment to delete, which is only a minimal gloss. It does not say where the ID comes from (get_attachment or a listing) or how invalid IDs are handled.

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?

States a specific verb and resource ('Delete an attachment from Redmine'), which cleanly separates it from the read/upload/update attachment siblings by verb alone. An agent can identify the operation without inspecting the schema.

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 implied by the destructive verb, and the Note adds a real prerequisite (the user must have permission to delete attachments). However, there is no explicit when-to-use guidance, no statement about when not to delete (e.g. preferring update_attachment to modify), and no alternatives named.

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