Skip to main content
Glama

Delete issue

jira_delete_issue
Destructive

Permanently delete a Jira issue, including comments, worklogs, and attachments. Irreversible and without undo; issues with subtasks require explicit deletion of subtasks as well.

Instructions

Permanently delete one issue. IRREVERSIBLE: Jira has no undo and no trash for this, the issue and its comments, worklogs and attachments are gone. Requires the server to run with JIRA_ALLOW_IRREVERSIBLE=true on top of the usual plan → apply; without it the plan still works and shows what would be destroyed. An issue with subtasks is refused unless deleteSubtasks is true, which deletes them too. Consider closing the issue instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNoSet true to EXECUTE this write. Omit (or false) to get a plan of the request that would be sent. Executing also requires the server to run with JIRA_WRITE_MODE=apply.
issueYesIssue key (PROJ-123) or numeric issue id.
plan_idNoThe single-use id returned by the preceding plan-mode call. Required together with apply: true; a mismatch means the arguments changed since the plan, and the write is refused rather than executed.
profileNoNamed credential profile for this call. Omit to use the active profile. Rejected when the server locks the profile (JIRA_LOCK_PROFILE).
deleteSubtasksNotrue also deletes every subtask of this issue. Default false, which makes Jira REFUSE an issue that has subtasks rather than take them silently.
Behavior5/5

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

Annotations already mark destructiveHint=true and readOnlyHint=false, and the description goes much further by specifying irreversibility, lack of undo/trash, destruction of comments/worklogs/attachments, and the JIRA_ALLOW_IRREVERSIBLE=true server requirement. It also clarifies that plan mode still works without the flag, adding operational nuance needed for a destructive call.

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?

Five sentences each carry required information: purpose, irrevocability, server requirement, subtask caveat, and a safer alternative. The most critical warning ('IRREVERSIBLE') appears immediately after the purpose, and the content is front-loaded with no filler or tautological phrasing.

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

Completeness5/5

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

For a destructive tool with no output schema and rich annotations, the description supplies the missing decisions: whether the operation is safe, what server config is needed, how plan mode behaves, and how subtasks are handled. Combined with the schema's parameter details, an agent has enough to select and correctly invoke it, including the need to obtain a plan_id first.

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?

The input schema already documents all 5 parameters with 100% coverage, including apply's plan/execute distinction and deleteSubtasks' default refusal behavior. The description adds value by tying these to the workflow, e.g., plan mode shows what would be destroyed and execution requires the server flag, which the raw schema does not convey. It repeats some schema content but adds useful operational context.

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 'Permanently delete one issue' – a specific verb, resource, and irreversibility qualifier. This clearly distinguishes jira_delete_issue from sibling delete tools like jira_delete_comment and jira_delete_worklog, and from mutation tools like jira_update_issue.

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?

The description gives concrete when-not guidance: 'Consider closing the issue instead' and explains that an issue with subtasks is refused unless deleteSubtasks is true. It does not explicitly name the alternative tool (jira_transition_issue) or enumerate all conditions where this tool should be preferred, but the conditional and alternative guidance is strong.

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/IvanBBaev/jira-mcp'

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