Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Get Shift Incidents

get_shift_incidents
Read-only

Retrieve incidents and alerts that occurred during a specific shift or time period to support handoff summaries, post-shift debriefs, and workload analysis.

Instructions

Get incidents and alerts that occurred during a specific shift or time period.

Useful for:

  • Shift handoff summaries showing what happened during the shift

  • Post-shift debriefs and reporting

  • Incident analysis by time period

  • Understanding team workload during specific shifts

Returns incident details including severity, status, duration, and basic summary.

Input Schema

NameRequiredDescriptionDefault
tagsNoDeprecated and ignored: Rootly incidents have no tags, so this does not filter anything (a `warnings` entry is returned when it is set). Incidents carry key:value labels instead (filter[labels] on the incidents API).
statusNoFilter by status: 'started', 'detected', 'acknowledged', 'investigating', 'identified', 'monitoring', 'resolved', 'cancelled' (optional)
end_timeYesEnd time for incident search (ISO 8601 format, e.g., '2025-10-01T23:59:59Z')
severityNoFilter by configured severity name, slug, ID, or level (critical, high, medium, low)
start_timeYesStart time for incident search (ISO 8601 format, e.g., '2025-10-01T00:00:00Z')
schedule_idsNoDeprecated and ignored: Rootly incidents are not linked to on-call schedules, so this does not filter anything (a `warnings` entry is returned when it is set). Results cover every incident in the time range.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds nothing about scope limits — critically, it never says that shift-scoped filtering is not possible (tags and schedule_ids are deprecated no-ops) and that results always cover every incident in the range, which is exactly the behavioral fact an agent needs here.

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?

Purpose is front-loaded in the first sentence, followed by a short bulleted use-case list and a one-line return summary. No filler, though the bullet list is somewhat padded relative to the amount of unique information it conveys.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the return-value sentence is supplementary rather than necessary, and annotations cover safety. What is missing is the operational caveat that shift-based filtering is unavailable despite the name and title, plus any pointer to sibling tools for narrower searches or handoff metrics.

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 two required ISO-8601 time params are fully documented in the schema, as are the deprecated tags/schedule_ids and the status/severity filters. The description adds no parameter meaning beyond what the schema provides, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — get incidents/alerts within a time window — which an agent can distinguish from list_incidents or search_incidents. However, the framing 'during a specific shift' overpromises: the schema has no shift identifier, and schedule_ids is explicitly deprecated and ignored, so only a raw time range is actually supported.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Useful for' bullets give plausible scenarios (handoff summaries, debriefs, workload analysis), which is more than nothing. But there is no explicit when-to-use-this-vs-alternative guidance: siblings like search_incidents, list_incidents, get_oncall_handoff_summary and get_oncall_shift_metrics are never mentioned, and no conditions for choosing among them are given.

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

Deploy Server

Other Tools