Skip to main content
Glama
rrvrs

jira-alerts-mcp

Get who is on-call next

jsm_get_next_on_call
Read-onlyIdempotent

Get the responders for the next on-call shift and its start time. Use it for handover messages or to decide if an alert can wait for the next rotation.

Instructions

Return the responders who take over the next shift on a JSM schedule, and when that shift begins.

Use this for handover messages and for deciding whether an alert can wait for the next rotation.

Args:

  • schedule_id (string): schedule id, or name if schedule_identifier_type='name'

  • schedule_identifier_type ('id' | 'name'): default 'id'

  • date (string, optional): ISO 8601 reference point; "next" is computed relative to it. Defaults to now

  • flat (boolean): default true — flat list of user identifiers; false shows rotation/escalation nesting

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

Returns (json format): { "next_on_call": { ... }, // the API response, unmodified "participants": [ // resolved, and the field to read { "id": string, "type": string, "displayName": string, "emailAddress": string } ] }

Responders are Atlassian account ids; this tool resolves them to names for you. If the credentials lack the Jira user scope the ids are still returned, with a note saying so.

Examples:

  • "Who picks up after this shift?" -> schedule_id=

  • "Who is on after the shift that covers Thursday?" -> date="2026-08-27T12:00:00Z"

  • "Draft a handover note" -> combine with jsm_list_alerts query="status:open"

Error handling:

  • HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — schedules and on-call sit behind a different scope from alerts, so this is a scope gap, not a bad credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoISO 8601 reference timestamp. The next shift is computed relative to this instant rather than to now, e.g. '2026-08-21T18:30:00Z'. Defaults to now.
flatNotrue (default) returns a flat list of on-call user identifiers. false returns the nested structure showing which rotation or escalation each person came from.
schedule_idYesSchedule id, or the schedule name when schedule_identifier_type='name'.
response_formatNoOutput format. 'markdown' is compact and human-readable (default); 'json' returns every field for programmatic use.markdown
schedule_identifier_typeNoWhether schedule_id holds an id or a schedule name. A name costs one extra lookup, because every schedule endpoint takes an id.id

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
shiftNo
next_on_callYes
participantsYes

Schema Changelog

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

  1. First observedv1.1.1

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavioral detail beyond the readOnly/idempotent annotations: it explains that responders are Atlassian account IDs that the tool resolves to names, that missing Jira user scope still returns IDs with a note, and that HTTP 401 indicates a specific scope gap rather than bad credentials. This gives the agent a clear failure-mode interpretation.

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 well-structured with clear sections for purpose, usage, arguments, return value, examples, and error handling. Every section adds information an agent needs, and the most critical purpose statement is front-loaded.

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 the full calling context: parameters, return shape, scope requirements, error semantics, and example phrasing. Combined with the annotations and output schema, nothing essential is missing for correct selection and invocation.

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?

Schema coverage is 100%, so the baseline is 3, but the description enriches parameter meaning with illustrative examples such as 'Who is on after the shift that covers Thursday?' mapping to date="2026-08-27T12:00:00Z" and clarifying that 'next' is computed relative to the date. These examples help the agent map natural-language intent to parameter values.

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 opens with a precise verb and resource: 'Return the responders who take over the next shift on a JSM schedule, and when that shift begins.' This clearly distinguishes it from sibling tools like jsm_get_on_call and jsm_get_schedule_timeline by emphasizing the 'next shift' and its start time.

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?

It explicitly states when to use the tool: 'Use this for handover messages and for deciding whether an alert can wait for the next rotation.' It also gives concrete examples and suggests combining with jsm_list_alerts, though it does not explicitly state when not to use it or name alternatives like jsm_get_on_call.

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