Skip to main content
Glama
rrvrs

jira-alerts-mcp

Create a JSM alert

jsm_create_alert

Create an alert in Jira Service Management to page responders and start routing an incident through team escalation rules. Use when a problem requires immediate human action and on-call follow-up.

Instructions

Create a new alert in Jira Service Management Operations.

This pages people. A created alert enters the team's routing and escalation rules exactly as one raised by a monitoring integration would, so someone's phone may ring. Create one when a human wants an incident tracked and escalated — not to leave a note, which is jsm_add_alert_note, and not to record something nobody needs to act on.

Args:

  • message (string): one-line summary. The ONLY required field.

  • alias (string, optional): de-duplication key — see below

  • description (string, optional): longer detail, impact, what to try

  • priority ('P1'..'P5', optional): P1 highest; omit to let routing rules decide

  • responders (array, optional): [{ id, type }] with type 'user' | 'team' | 'escalation' | 'schedule'

  • visible_to (array, optional): [{ id, type }] with type 'user' | 'team'; max 50

  • entity (string, optional): what the alert is about, e.g. 'payments-api'

  • tags (string[], optional)

  • actions (string[], optional): names of custom actions configured in your org

  • extra_properties (object, optional): arbitrary key/value context

  • note (string, optional): note recorded on the new alert's timeline

  • source (string, optional): where the alert came from, e.g. 'claude-mcp'

There is no 'user' argument, unlike the other write tools: this endpoint has no actor override, and the alert is created as the owner of the credentials.

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

IMPORTANT: this is asynchronous, and it does not return the new alert's id. The response confirms the request was accepted, not that an alert exists. Unusually for this API the status code is 200 rather than 202, which does not make it synchronous. To get the id: call jsm_get_request_status with the returned requestId, or — if you set an alias — jsm_get_alert with identifier_type='alias'.

Alias is the de-duplication key, and it is the difference between a safe retry and a silent no-op. Creating with an alias that already has an OPEN alert does not create a second alert; it increments the existing one's count and leaves everything else alone. That makes a retried create safe. It also means reusing an alias from an earlier, still-open incident quietly does nothing visible — so make aliases specific to the occurrence, not to the check.

Examples:

  • "Raise a P1 for the payments API being down" -> message="Payments API returning 503", priority="P1", entity="payments-api"

  • Retryable create -> alias="payments-api-503-2026-09-05T11:00"

Constraints and errors:

  • Needs write:ops-alert:jira-service-management alongside the read scope. A token with only read scopes gets 403.

  • Responders bypass the team's routing rules. Omit them unless you specifically want to route around routing.

  • HTTP 422 usually means a responder id doesn't exist or its type is wrong.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoNote recorded on the new alert's timeline.
tagsNoTags for searching and grouping, e.g. ['db', 'prod'].
aliasNoClient-defined de-duplication key. Creating against an alias that already has an OPEN alert does not create a second one — it increments that alert's count. This is the field that makes creation safe to retry, and the field that makes it silently do nothing if reused carelessly.
entityNoWhat the alert is about — a host, service or application, e.g. 'payments-api'.
sourceNoFree-text source label shown in the alert activity log, e.g. 'claude-mcp'.
actionsNoNames of custom actions your organisation has configured for alerts. Not free text — an unrecognised name is ignored rather than rejected.
messageYesOne-line summary of what is wrong, read first by whoever gets paged. The only required field.
priorityNoP1 is highest, P5 lowest. Omitted lets the routing rules decide.
respondersNoWho to notify. Omit to let the team's routing rules decide, which is usually what you want — naming responders explicitly bypasses routing.
visible_toNoRestricts who can see the alert, beyond the responders. Max 50 entries. Omit for team-default visibility.
descriptionNoLonger detail: impact, how to reproduce, what to try. Shown on the alert page.
extra_propertiesNoArbitrary key/value context carried on the alert, e.g. {'region': 'us-east-1'}.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasNo
resultNo
requestIdNo

Schema Changelog

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

  1. Addedv2.0.0

TDQS

A5/5.0
Behavior5/5

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

The description goes far beyond the annotations: it discloses that the alert 'pages people,' that the API is asynchronous with a 200 rather than 202 status, that the response contains no alert id, and that alias reuse on an open alert silently increments instead of creating. It also documents required auth scopes and responder routing bypass, all beyond the structured annotations.

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 long but exceptionally well-organized with Args, Returns, IMPORTANT, Alias, Examples, and Constraints sections. It front-loads the most important warning ('This pages people') and each sentence carries distinct value, making the length appropriate for the tool's complexity.

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?

The description covers purpose, usage criteria, return shape, async behavior, how to obtain the real alert id, alias semantics, concrete examples, required permissions, and likely error causes. The output schema doesn't provide this contextual information, so the description fully compensates.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even with 100% schema coverage, the description adds substantial meaning: message is the only required field, alias is the de-duplication key with safe-retry versus no-op consequences, responders bypass routing rules, priority omission defers to routing, and there is deliberately no 'user' parameter. These semantics are critical for correct invocation and are not obvious from the schema alone.

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 ('Create a new alert in Jira Service Management Operations') and immediately distinguishes the tool from siblings: 'not to leave a note, which is jsm_add_alert_note, and not to record something nobody needs to act on.' It also notes the absence of a 'user' argument compared to other write tools, removing ambiguity.

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?

Explicitly prescribes when to use it: 'Create one when a human wants an incident tracked and escalated,' and names the alternative jsm_add_alert_note for notes. It also explains when to use alias-based retries and how to follow up via jsm_get_request_status or jsm_get_alert.

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