Skip to main content
Glama

jira_delete_attachment

Destructive

Delete a Jira attachment by its ID. Use jira_get_attachments to find attachment IDs.

Instructions

Deletes an attachment from Jira by its attachment ID. Use jira_get_attachments to find attachment IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attachmentIdYesID of the attachment to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.12.1
    • removedInput schema / properties / attachmentId / minLength
      Removed value: -1
    • addedInput schema / properties / attachmentId / pattern
      Added value: +"^\\d+$"
  2. Changed1 schema field changedv1.11.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Addedv1.10.2

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is carried by structured fields. The description's 'Deletes' is consistent with that and adds the ID-resolution note, but it says nothing about permanence, required permissions, or failure behavior beyond what annotations supply.

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?

Two short sentences, no filler, with the core action stated first and the supporting lookup tip second. Every sentence earns its place.

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 single-parameter destructive tool whose annotations already flag destructiveness and which has no output schema, the description covers the action and how to get the ID. It could add a word on irreversibility or permission needs, but nothing essential to invoking it correctly is missing.

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 100% and the single parameter is fully documented with its type and pattern in the schema. The description restates the same idea ('by its attachment ID') without adding format or constraint detail, so the schema is doing the heavy lifting.

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 ('Deletes an attachment from Jira') plus the identifying key ('by its attachment ID'). This cleanly separates it from siblings like jira_add_attachment and jira_get_attachments without needing to open any schema.

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?

Explicitly routes the agent to jira_get_attachments as the way to obtain the required attachmentId, which is concrete prerequisite guidance. It stops short of stating when this should not be used (e.g., permissions or irreversibility caveats), so it is clear context rather than full when/when-not coverage.

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