Skip to main content
Glama
rrvrs

jira-alerts-mcp

Search JSM alerts

jsm_list_alerts
Read-onlyIdempotent

Find and filter Jira Service Management alerts by status, priority, team, or tag, and resolve short alert IDs for use in other operations.

Instructions

Search and list alerts in Jira Service Management Operations.

This is the entry point for almost every alert workflow: use it to find open or unacknowledged alerts, filter by priority/team/tag, and to resolve a short tinyId (as shown in the JSM UI) into the full alert id that every other alert tool requires. It reads only — it never creates or modifies alerts.

Args:

  • query (string, optional): field:value search, e.g. "status:open AND priority:P1"

  • limit (number): 1-100, default 20

  • offset (number): records to skip, default 0

  • sort (string): field to sort by, default "createdAt"

  • order ('asc' | 'desc'): default "desc"

  • response_format ('markdown' | 'json'): default "markdown"

Returns (json format): { "alerts": [ { "id": string, // full alert id — pass this to other tools "tinyId": string, // short id shown in the JSM UI "message": string, "status": "open" | "closed", "acknowledged": boolean, "priority": "P1".."P5", "count": number, // dedupe count "tags": string[], "owner": string, "createdAt": string, // ISO 8601 "lastOccurredAt": string } ], "pagination": { "count": number, "offset": number, "has_more": boolean, "next_offset": number } }

Examples:

  • "What's on fire right now?" -> query="status:open AND acknowledged:false", sort="createdAt"

  • "Show P1s from the Payments team" -> query="priority:P1 AND teams:Payments"

  • "Find the alert about Redis latency" -> query="message:Redis"

Constraints and errors:

  • offset + limit must stay below 20000; the API refuses to page deeper.

  • A malformed query returns HTTP 400 — field names are case-sensitive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoField to sort by (default 'createdAt'). These four are the only values the API accepts.createdAt
limitNoMaximum number of records to return (1-100, default 20).
orderNoSort direction (default 'desc', i.e. newest first).desc
queryNoJSM alert search query. Field:value syntax, combinable with AND/OR/NOT. Examples: "status:open", "status:open AND priority:P1", "acknowledged:false AND createdAt > 1704067200000", "tag:database AND status:open", "teams:Payments". Omit to return the most recent alerts unfiltered.
offsetNoNumber of records to skip, for paging. Use the 'next_offset' from a previous response.
response_formatNoOutput format. 'markdown' is compact and human-readable (default); 'json' returns every field for programmatic use.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
alertsYes
paginationYes

Schema Changelog

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

  1. First observedv1.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior, and the description reinforces this. It adds genuinely useful constraints beyond annotations: offset + limit must stay below 20000, malformed queries return HTTP 400, field names are case-sensitive, and the response includes pagination details.

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 long but well-structured with sections for arguments, return values, examples, and constraints. Some content duplicates the schema and output schema, but the examples and error constraints earn their place for an entry-point tool.

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 is self-sufficient: it explains what the tool does, how to use every parameter, what the response looks like, and which failure modes to expect. With the output schema and detailed examples, an agent has everything needed to call the tool correctly.

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 covers all parameters at 100%, so the baseline is already strong. The description adds value with query examples, field:value syntax guidance, default values restated in context, and practical constraints like the 20000-record paging limit that are not fully expressed in the schema.

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 clearly identifies the tool as the search/list entry point for Jira Service Management alerts, with a specific verb and resource. It differentiates itself by noting it resolves tinyId to the full alert id required by other alert tools and explicitly states it is read-only, which separates it from sibling mutation tools.

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 strong context: it is the entry point for almost every alert workflow, useful for finding open/unacknowledged alerts, filtering by priority/team/tag, and resolving tinyIds. It does not explicitly name sibling alternatives like jsm_get_alert for single-alert lookups, but the read-only statement and entry-point framing make the intended usage clear.

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