Skip to main content
Glama
rrvrs

jira-alerts-mcp

Delete a note from a JSM alert

jsm_delete_alert_note
DestructiveIdempotent

Permanently delete a note from a Jira Service Management alert's timeline to remove sensitive or misplaced entries. Use only for notes that should never have been written, as deletion is irreversible.

Instructions

Permanently remove a note from a JSM alert's timeline.

Reach for this only for a note that should never have been written — a pasted credential, someone's personal information, a note on the wrong alert. Not for a note that turned out to be wrong: that is what jsm_update_alert_note is for, and being able to see what a responder believed at the time is most of what the timeline is worth.

Args:

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

  • note_id (string): id of the note to delete, from jsm_list_alert_notes

Returns: { "deleted": true, "note_id": string }

There is no undo, and no confirmation step at the API. The note is gone the moment this returns. Confirm with the user before calling it, and quote the note's text back to them first so they are deleting the thing they think they are.

Unlike most alert writes this is synchronous: the API answers 204 with no body, so there is no requestId to verify.

Constraints and errors:

  • Needs delete:ops-alert:jira-service-management, which is a separate grant from write:ops-alert. A token that can edit notes may still get 403 here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_idYesId of the note to delete, from jsm_list_alert_notes. Not the note's text.
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
deletedYes
note_idNo

Schema Changelog

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

  1. Addedv2.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this as destructive and non-readonly, but the description adds substantial behavior beyond that: there is no undo, no confirmation step at the API, the operation is synchronous, the API returns 204 with no body, no requestId is available, and a separate delete:ops-alert grant is required. This is exactly the kind of context an agent needs before calling a destructive tool.

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?

The description is longer than average, but it is well-structured into purpose, args, returns, safety warning, synchronous behavior, and permissions. Every section carries important information for a destructive operation, though some statements like 'There is no undo' and 'The note is gone the moment this returns' are mildly redundant.

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 mutation with sensitive side effects, the description covers return shape, error/permission context, synchronous behavior, and user-confirmation expectations. Nothing needed to safely call this tool is missing, especially given the annotations also flag destructiveness.

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 schema already has 100% coverage with clear descriptions for both parameters, so the baseline is 3. The description adds useful emphasis that alert_id must be the full id and not the tinyId, and that note_id should come from jsm_list_alert_notes, which reinforces the correct source without inventing new 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 and resource: permanently remove a note from a JSM alert's timeline. It also distinguishes itself from the sibling jsm_update_alert_note by explicitly saying that correction is not this tool's purpose.

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 explicit when-to-use guidance: only for notes that should never have been written, such as pasted credentials or personal information. It also gives a clear when-not-to-use directive by naming jsm_update_alert_note as the alternative for notes that merely turned out to be wrong, plus a strong instruction to confirm with the user and quote the note before deletion.

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