Alerts

From wyre-technology/msp-claude-plugins · View interactive version

Alerts is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. Rootly's alerting layer between monitoring tools and incident management: alert sources (`alerts_source`) and their webhook/email intake, alert routing rules, alert groups (deduplication/noise reduction), alert urgencies, escalation policies, and the acknowledge/resolve actions on an individual aler

How to use this skill

Skill file

Rootly Alerts

Overview

Rootly's alerting system connects monitoring tools (Datadog, PagerDuty, New Relic, Grafana, etc.) to the incident management workflow. Each integration is registered as an alert source; alerts land in Rootly tagged with a source, status, and urgency, and can be attached to incidents. Routing rules and alert groups control where alerts go and how noisy duplicates are suppressed.

Anti-triggers

PagerDuty appears here as an upstream alert source and paging target.

Questions about PagerDuty's own objects are not this skill.

and escalation policies are pagerduty-incidents, pagerduty-oncall,

and pagerduty-alerts. This skill only covers how a PagerDuty signal

enters Rootly as an alert source and how Rootly pages back out to it.

an incident via attach_alert, lifecycle, severity, and response

coordination are rootly-incidents.

datto-rmm-alerts, network alerts are auvik-alerts, EDR detections

are sentinelone-alerts.

and action definitions are rootly-workflows.

Key Concepts

Alert Sources

An alert source (alerts_source) is a configured integration -- Datadog, PagerDuty, New Relic, Grafana, Opsgenie, CloudWatch, or a custom webhook. Each source has:

Alert Fields

An individual alert carries:

Alert Urgencies

Alerts carry an urgency (alert_urgency) rather than a severity -- a named, ordered level (name, description, position) used to prioritize triage. This is a separate concept from an incident's severity.

Alert Routing Rules

An alert routing rule (alert_routing_rule) determines how incoming alerts from a given source are handled:

Alert Groups

An alert group (alert_group) deduplicates or bundles related alerts to reduce noise:

Escalation Policies

An escalation policy (escalation_policy) defines who is paged and how many times an alert repeats through the chain before giving up:

Escalation levels (escalation_level) and escalation paths (escalation_path) are nested under a policy and define the actual tiers/steps of the chain.

API Patterns

List Alerts

list_alerts

Parameters:

Example response:

{
  "data": [
    {
      "id": "alert-789",
      "type": "alerts",
      "attributes": {
        "summary": "High error rate on payment-service",
        "source": "datadog",
        "status": "triggered",
        "service_ids": ["svc-001"],
        "alert_urgency_id": "urgency-critical",
        "external_url": "https://app.datadoghq.com/monitors/12345"
      }
    }
  ]
}

Get Alert Details

get_alert

Parameters:

Get Alert by Short ID

get_alert_by_short_id

Parameters:

Create / Update an Alert

create_alert
update_alert

Acknowledge / Resolve an Alert

The hosted Rootly MCP has no acknowledge or resolve tool. Acknowledge and resolve alerts from Rootly's paging surfaces (web, mobile app or Slack). Through the MCP you can annotate an alert with update_alert (write tier; pass id): mark it noise, change alert_urgency_id, edit the summary or description, or attach services and environments.

List Alert Sources

list_alerts_sources

Returns the configured integrations (Datadog, PagerDuty, custom webhook, etc.) and their intake settings.

List Alert Routing Rules

list_alert_routing_rules

Parameters:

List Alert Groups

list_alert_groups

List Alert Urgencies

list_alert_urgencies

List Escalation Policies

list_escalation_policies

Common Workflows

Alert Triage

  1. Call list_alerts with filter[status]=triggered
  2. Group by source and alert_urgency_id
  3. Identify alerts not yet linked to an incident
  4. For uncaught critical alerts, attach them to an incident with attach_alert (see incidents)
  5. Mark confirmed noise with update_alert (noise: "noise"); acknowledge the page itself in Rootly's paging app or Slack

Escalation Policy Review

  1. Call list_escalation_policies
  2. Verify each critical service (service_ids) has a policy
  3. Review repeat_count and business_hours for appropriateness
  4. Confirm on-call schedules backing the policy are current (see oncall)

Alert Routing Audit

  1. Call list_alert_routing_rules to get all rules
  2. Map rules to alerts_source_id and destination
  3. Identify sources without routing rules (gap)
  4. Check for overly broad conditions that create noise
  5. Review list_alert_groups to confirm noisy alerts are actually being deduplicated

Monitoring Integration Check

  1. Call list_alerts_sources to verify each integration is configured and has a status of active
  2. List alerts by source to check for sources with no recent alerts (potential integration failure)
  3. Verify webhook_endpoint connectivity for custom sources

Error Handling

Alert Not Found

Cause: Invalid alert ID or alert expired

Solution: List recent alerts to verify the correct ID, or try get_alert_by_short_id

Routing Rule Conflict

Cause: Multiple routing rules match the same alert with conflicting destination

Solution: Review position ordering on routing rules; use more specific conditions

Escalation Timeout

Cause: No responder acknowledged before the escalation chain repeated (repeat_count exhausted)

Solution: Review on-call schedules and ensure coverage

Best Practices

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.