Skip to main content
Glama
rrvrs

jira-alerts-mcp

Remove key/value properties from a JSM alert

jsm_remove_alert_extra_properties
DestructiveIdempotent

Remove property keys from a JSM alert by full alert ID. Keys absent from the alert do not cause an error, and the asynchronous delete must be verified via the returned requestId.

Instructions

Remove properties from a JSM alert by key.

Args:

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

  • keys (string[]): the property keys to remove — keys, not values

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

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

A key that is not present is not an error, so a receipt here does not prove anything was removed. Read the alert back if that matters.

Constraints and errors:

  • Needs delete:ops-alert:jira-service-management, a separate grant from write:ops-alert.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesProperty keys to remove. Keys, not values.
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.

  1. Changed2 schema fields changedv2.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv2.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (destructive/idempotent/openWorld), it discloses the async execution model, the exact verification path, that removing a nonexistent key is silently non-erroring (so a receipt proves nothing), and the separate delete:ops-alert:jira-service-management grant. These are precisely the behavioral traits structured fields cannot 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?

Front-loaded with the action, then Args, Returns, an IMPORTANT async warning, and Constraints. Every block earns its place and nothing is padding despite covering several distinct concerns.

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?

Output schema exists, yet the description still adds the async/verification workflow, silent-success caveat, and the required OAuth scope — everything an agent needs to invoke and confirm this destructive, asynchronous tool.

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 coverage is 100% and the schema already explains both keys ("Keys, not values") and alert_id ("NOT the short tinyId"). The description restates this same guidance, so it is useful reinforcement but adds no meaning beyond the schema; 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?

Specific verb + resource + scope: "Remove properties from a JSM alert by key." It is unambiguously distinct from the sibling jsm_add_alert_extra_properties and the field-mutating tools, and it clarifies that it operates on property keys, not fields or tags.

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 concrete operational guidance: it is asynchronous, must be verified via jsm_get_request_status with the returned requestId, and the caller should read the alert back if removal confirmation matters. It never explicitly names a sibling alternative or a when-not-to-use case (e.g., use jsm_update_alert_field for standard fields), so it stops short of 5.

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