Skip to main content
Glama
rrvrs

jira-alerts-mcp

Permanently delete a JSM alert

jsm_delete_alert
DestructiveIdempotent

Permanently delete a JSM alert and all its associated data, including notes, activity log, and attachments. Use only for alerts with sensitive content or from misconfigured integrations.

Instructions

Permanently delete a JSM alert and everything recorded on it.

This is almost never the right tool. Closing an alert with jsm_close_alert takes it out of the open queue and keeps the record: who was paged, what they tried, when it resolved. Deleting throws that away, for everyone, with no undo — the notes, the activity log, the attachments and the timing all go with it. A closed alert costs nothing to keep.

The cases that justify it are narrow: an alert containing credentials or personal data that must not persist, or a flood of alerts from a misconfigured integration that never represented anything real.

Args:

  • alert_id (string): the full alert id (not the tinyId)

Returns: { "requestId": string, "result": string, "alert_id": string }

IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.

Before calling this, read the alert back with jsm_get_alert and show the user what they are about to lose — its message, its state and how many notes it carries — and get an explicit yes. Never call it to tidy up, to clear a queue, or in a loop over search results.

Constraints and errors:

  • Needs delete:ops-alert:jira-service-management, a separate grant from write:ops-alert. A token that can close alerts usually cannot delete them, and that is a deliberate configuration rather than a problem to work around.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alert_idYesFull alert id, e.g. '9b251e07-73c9-4907-9996-8cb53a6a20d0-1704440650350'. This is NOT the short tinyId shown in the JSM UI — get the full id from jsm_list_alerts first.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNo
alert_idYes
requestIdNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv2.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already indicate destructive and non-read-only behavior, but the description adds substantial context: deletion has no undo, destroys notes/activity/attachments/timing, is asynchronous and requires verification via jsm_get_request_status, and needs a separate delete:ops-alert grant. This fully discloses the behavioral weight of the operation beyond what the annotations alone convey.

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?

The description is longer than average, but every sentence is load-bearing: the most important warning is front-loaded, the destructive implications are explained, the narrow justifications are named, async behavior is highlighted, and permission constraints are included. The use of bold, section headers, and bullet-like structure makes the length navigable rather than bloated.

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 asynchronous mutation tool with one parameter and an output schema, the description covers every essential decision factor: what is destroyed, when deletion is justified, when it is not, how to confirm user consent, how to verify completion, and what permission is required. The return shape is described and the output schema exists, so no critical context 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 schema already explains that alert_id must be the full alert id rather than the tinyId, provides an example, and directs the agent to jsm_list_alerts. The description's Args line repeats 'full alert id (not the tinyId)' but adds no new parameter-level semantics beyond the schema. The pre-call instruction to read the alert is usage guidance, not parameter semantics.

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 states a specific action: permanently delete a JSM alert and everything recorded on it. It explicitly distinguishes itself from jsm_close_alert by explaining what is lost in deletion versus what is preserved when closing. This makes the tool's purpose unmistakable and clearly differentiated from its siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives unusually explicit when-to-use and when-not-to-use guidance: it names the narrow cases that justify deletion, warns it is 'almost never the right tool,' and enumerates forbidden uses such as tidying up, clearing queues, or looping over search results. It also requires reading the alert back and obtaining explicit user consent before calling.

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

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

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