IT & Security

Rootly MCP

Rootly MCP lets agents run incident response and on-call through Rootly's hosted MCP server: incidents, alerts, schedules, escalation policies, workflows, status pages, retrospectives and AI investigations.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Check responder availability

    Check if specific users are scheduled for on-call in a date range. Use this to verify if at-risk users (from On-Call Health) are scheduled, or to check availability before assigning new shifts. Returns scheduled users with their shifts and total hours, plus users who are not scheduled. Shift times and hours are clipped to the requested window; date-only end dates include that entire UTC day.

  • Collect incidents

    Collect a bounded working set of incidents across multiple pages for audits and analysis. Use this instead of list_incidents when you want a compact batch of incidents in one tool call, while keeping payload size under control. Argument caps: max_results <= 100, batch_size between 10 and 100. Values outside those bounds are clamped and reported, not rejected.

  • Count observability logs

    Count logs matching a Logs explorer query, grouped by `service`, `index`, `severity` or an attribute key (`@http.status_code`). Answers questions like "errors per service in the last 6h" (`filter[query]=severity:error`, `filter[from]=now-6h`, `group_by=service`). Values are ordered by count, largest first; `meta.total` counts every matching log, and each value's `logs_query` drills into its rows with `GET /v1/observability/logs` (`null` for a blank value, which the query syntax cannot select, or when the drill-down would exceed the query limits: 512 characters or 20 clauses). A log can carry an attribute key more than once (log, resource and scope attributes), so attribute counts can add up to more than `meta.total`; when logs match but none have the attribute, `data` is empty and `meta.warnings` has code attribute_missing. Requires a personal or Global API key (Team API Keys are group-scoped and get 403 `unsupported_api_key`) or an OAuth token with the `obs.logs:read` (or `all`) scope, and the Observability logs read permission. A Global API key uses its service user's Observability role, which starts as the team's default Observability role. Limited to 60 requests per minute per token; on this endpoint the X-RateLimit-* headers report that per-minute budget, not the default API limit. Every 429 returns the errors envelope with code rate_limited and a Retry-After header.

  • Create override recommendation

    Recommend replacement responders for an override shift. Finds users in the same schedule rotation who are not already heavily loaded during the period. Returns recommended replacements sorted by current load (lowest first), plus a ready-to-use override payload for the top recommendation.

  • Find related incidents

    🔍 Find historically similar incidents using ML similarity analysis - CRITICAL for incident response. WHEN TO USE: • EARLY in incident response to learn from past similar issues • When you're unsure about root cause or resolution approach • Before escalating to find if this is a known pattern • For post-incident analysis to identify recurring issues Provide either incident_id OR incident_description (e.g., 'website is down', 'database timeout errors'). Use status_filter to limit to specific incident statuses or leave empty for all incidents. Argument caps: max_results <= 20. Values outside the bounds are clamped and reported, not rejected.

  • Get ai automation

    Get one AI automation by id: its prompt, triggers, destination, allowed tools, attached skills and run limits. Read-only. An AI automation is a saved instruction (prompt) that a Rootly AI agent runs on a schedule, on a matching event (incident, alert, Slack message, webhook) or on demand. When it runs, the agent may only use the tools listed in the automation's `allowed_tool_keys` (all team-allowed tools when null), and it posts its answer to the configured destination (a Slack channel or the incident timeline), or nowhere when `destination_kind` is none. Requires OAuth scope `ai.automations:read`.

  • Get ai automation run

    Get one AI automation run by id: its status, timing, what triggered it, the linked incident if any, and the agent's output. Read-only. Incident-linked runs are visible only when the caller's role permits access. OAuth tokens also need the `ir.incidents:read` scope; API keys use the key's role. Requires OAuth scope `ai.automations:write`.

  • Get ai automation trigger options

    Returns the source-of-truth options used by the AI Automation editor.

  • Get ai skill

    Get one AI skill by id, including its current `body`. Read-only. An AI skill is reusable written guidance (markdown `body`) that Rootly AI agents, users and AI automations can load while they work. Skills keep saved versions, readable with list_ai_skill_versions. Requires OAuth scope `ai.skills:read`.

  • Get ai skill version

    Get one saved version of an AI skill, including the `body` it had at that version. Read-only. An AI skill is reusable written guidance (markdown `body`) that Rootly AI agents, users and AI automations can load while they work. Skills keep saved versions, readable with list_ai_skill_versions. Requires OAuth scope `ai.skills:read`.

  • Get alert

    Retrieves a specific alert by id

  • Get alert by short id

    Get alert details by short_id or alert URL. Use this when a user pastes an alert URL or short_id from a pager notification and wants to investigate the alert.

  • Get alert event

    Retrieves a specific alert_event by id

  • Get alert group

    Retrieves a specific alert group by id

  • Get alert route

    Get one alert route by its route id. A rule id from an alert's `data.attributes.data.routing_rules[].id` is not a route id; to go from a rule id to its route, use list_alert_routes and match `data[].attributes.rules[].id`. Get a specific alert route by id. **Note: This endpoint requires access to Advanced Alert Routing. If you're unsure whether you have access to this feature, please contact Rootly customer support.** ## Optional Parameters - **show_nested_ids** (query parameter): When set to `true`, the response will include IDs for all nested resources (destinations, condition_groups, conditions). This is useful when you need to reference these nested resources for updates or deletions via PATCH requests. Example: `GET /v1/alert_routes/{id}?show_nested_ids=true`

  • Get alerts source

    Retrieves a specific alert source by id

  • Get alert urgency

    Retrieves a specific alert urgency by id

  • Get catalog

    Retrieves a specific catalog by id

  • Get catalog entity

    Retrieves a specific Catalog Entity by id

  • Get catalog property

    Retrieves a specific Catalog Property by id - returns catalog_properties type

Page 1 / 8Next