Skip to main content
Glama
rrvrs

jira-alerts-mcp

Get a schedule's shift boundaries

jsm_get_schedule_timeline
Read-onlyIdempotent

Get on-call shift periods for a JSM schedule, showing who covers each shift and exact start/end times. Use it to answer when shifts start, end, or change hands.

Instructions

Return the on-call rotation periods for a JSM schedule — who covers each shift, and exactly when each shift starts and ends.

This is the tool for any question about shift boundaries rather than a single moment: "when does the current shift end?", "when is the handover?", "who covers the weekend?", "show me next week's rota". Answering those by calling jsm_get_on_call at guessed timestamps takes many calls and still cannot find a boundary exactly; this takes one.

Responders are resolved to names, so periods come back with people rather than bare account ids.

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 instant the window should cover; defaults to now

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

Returns (json format): { "shifts": [ { "start": string, // ISO 8601 "end": string, // ISO 8601 "rotation_name": string, "type": "base" | "override" | "forwarding" | "historical", "responders": [ { "id": string, "displayName": string, "emailAddress": string } ] } ] }

The window spans roughly three weeks around the requested date, so both the shift in progress and the ones on either side of it are included.

Examples:

  • "When does the current on-call shift end?" -> schedule_id=

  • "Who has the rota next week?" -> date=

  • "When did the handover happen on Tuesday?" -> date="2026-08-25T00:00:00Z"

Error handling:

  • Periods of type 'historical' are in the past; 'override' means someone swapped in.

  • HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — the same scope the other on-call tools need.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoISO 8601 instant the returned window should cover, e.g. '2026-08-27T12:00:00Z'. Defaults to now.
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
shiftsYes

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?

Annotations already mark the tool as read-only and idempotent, and the description adds substantial behavior beyond that: the approximate three-week window, responder resolution to names, interpretation of shift types like 'override' and 'historical', and specific HTTP 401 troubleshooting context. This gives the agent useful operational expectations.

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 well-structured and every section earns its place: purpose, usage guidance, parameters, return shape, examples, and error handling. The most important scoping statement is front-loaded, making it easy for an agent to quickly decide whether to use this 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?

For a read-only scheduling tool with a rich output schema, the description covers the key gaps an agent would face: what the window covers, what shift types mean, how responders appear, and how to diagnose auth failures. 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.

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description's Args section largely mirrors the schema rather than adding new parameter-level semantics, though the examples provide some usage nuance. Overall, the schema already carries the parameter documentation burden.

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 names a specific verb and resource: returning on-call rotation periods and shift boundaries for a JSM schedule. It further differentiates itself from jsm_get_on_call by explicitly framing this as the tool for boundary questions rather than single-moment queries.

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?

It explicitly states when to use this tool ('questions about shift boundaries rather than a single moment'), gives concrete example queries, and contrasts it with jsm_get_on_call. It even explains the cost tradeoff of using schedule_identifier_type='name', giving clear selection guidance.

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