Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_delete_attachment

DestructiveIdempotent

Permanently deletes a Jira attachment by ID; confirm with the user first because the deletion cannot be undone.

Instructions

Permanently delete an attachment. Attachment ids come from jira_get_attachments. This cannot be undone — confirm with the user first.

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": {
      "attachmentId": "<attachmentId>"
    },
    "name": "jira_delete_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachmentIdYesAttachment ID (use jira_get_attachments)

Output Schema

NameRequiredDescriptionDefault
urlNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known structurally; the description reinforces it with 'This cannot be undone' and adds a requirement not present in annotations — user confirmation before calling. Idempotency and the open-world/permission characteristics inferred from the annotations are not restated, which is why this is not 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.

Conciseness5/5

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

Three short sentences front-loading the destructive nature, then the input source, then the safety gate. No filler, no restatement of the tool name, and the most important fact (permanence) comes first.

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 full schema coverage, rich annotations, and an output schema (so return values need no explanation), the description covers permanence, ID provenance, and the confirmation step. Minor gap: nothing about permission requirements or error behavior when the attachment ID is unknown or already gone.

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?

There is a single parameter and schema coverage is 100%, with the schema itself pointing to jira_get_attachments. The description repeats that same sourcing hint and adds no format constraints (e.g. numeric vs. opaque string) or behavior for an invalid ID, so the baseline 3 applies.

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 ('Permanently delete an attachment') and names the exact object type, which separates it from the family of other delete tools (delete_comment, delete_issue, delete_version). The word 'Permanently' also conveys scope, so an agent knows this is not a soft-delete or archive operation.

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?

Gives an explicit prerequisite ('Attachment ids come from jira_get_attachments') and a workflow gate ('confirm with the user first'), so the agent knows how to obtain the input and what to do before invoking. It does not state when-not to use it or name an alternative such as jira_view_attachment, which keeps it short of a 5.

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

Deploy Server

Other Tools