Skip to main content
Glama

List incidents

list_incidents
Read-onlyIdempotent

List monitor and heartbeat incidents newest first or by attention to see what is or was down and which alerts went out. Filter by status, cause, date range, monitor or heartbeat.

Instructions

List the organization's monitor and heartbeat incidents, newest first (or by attention with sort), to see what is or was down and which alerts went out. Each item has id, monitor_id or heartbeat_id (exactly one is set), started_at, created_at, resolved_at (null while open), cause, cause_detail (the raw check error), acknowledged_at and notification_logs: the alerts sent, oldest first, each with id, channel_type (EMAIL, TELEGRAM, WEBHOOK, SLACK or DISCORD), destination (may be masked), event (TRIGGERED for the first alert only, RESOLVED for the recovery; reminders are not logged per incident), sent_at, status (PENDING while a webhook, Slack or Discord delivery is still being tried, then SENT or FAILED) and error (the last delivery error). started_at is the outage start: the first failing check of the streak (for a heartbeat, the missed deadline, or when the /fail ping arrived). created_at is when the incident was confirmed and its first alert went out, often minutes after started_at. resolved_at is when it ended: the check that confirmed recovery, or the pause, deletion or plan downgrade that closed it (null while open). acknowledged_at is when someone acknowledged it (null if nobody has). An incident's duration is resolved_at minus started_at. For one incident's full record use get_incident; for the checks behind it use list_check_results; incidents posted on a status page are list_status_page_incidents. An incident resolves by itself when its monitor or heartbeat recovers. Returns a page: items plus total, page, size and pages. An invalid value is a 422 naming the argument. Example: {"status": "open", "size": 50}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_incidents"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast UTC date of a calendar range, YYYY-MM-DD, inclusive; without it the range runs to now. Not together with period_days.
fromNoFirst UTC date of a calendar range, YYYY-MM-DD, inclusive. An incident is listed if it was active on any day of the range. Not together with period_days.
pageNoPage number, 1 or more; default 1.
sizeNoRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortNoattention: open unacknowledged first, then open acknowledged, then resolved; newest first within each. Omit it for newest first.
causeNoKeep one failure cause, such as TIMEOUT, HTTP_5XX or HEARTBEAT_MISSED.
statusNoopen or resolved (lowercase); omit it for both.
all_timeNotrue lists incidents of all time, one page at a time. Not together with period_days, from or to.
monitor_idNoKeep one monitor's incidents: its uuid from list_monitors. Not together with heartbeat_id (a 422).
period_daysNoKeep incidents active within the last N days, 1 to 365. Without period_days, from, to or all_time the tool lists the last 30 days.
heartbeat_idNoKeep one heartbeat's incidents: its uuid from list_heartbeats. Not together with monitor_id (a 422).

Output Schema

NameRequiredDescriptionDefault
pageYes
sizeYes
itemsYes
pagesYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.9.4
    • addedOutput schema / properties / items / items / properties / last_notified_at / description
      Added value: +"When the Down alert went out; null until it has been sent. On incidents opened before reminder digests it can be the last repeat alert instead."
    • changedOutput schema / properties / items / items / properties / notification_logs / items / properties / event / description
      Previous value: -"Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY."New value: +"Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY, REMINDER."
    • addedOutput schema / properties / items / items / properties / renotify_count / description
      Added value: +"How many reminders listed this incident."
  2. Changed4 schema fields changedv1.9.2
    • addedOutput schema / properties / items / items / properties / acknowledged_at / description
      Added value: +"When someone acknowledged the incident; null if nobody has."
    • addedOutput schema / properties / items / items / properties / created_at / description
      Added value: +"When the incident was confirmed (after the monitor's confirmation rounds) and its first alert went out; at or after started_at, usually by seconds to minutes."
    • addedOutput schema / properties / items / items / properties / resolved_at / description
      Added value: +"When the incident ended: the check that confirmed recovery (for a heartbeat, the ping that brought it back), or the pause, deletion or plan downgrade that closed it; null while the incident is open."
    • addedOutput schema / properties / items / items / properties / started_at / description
      Added value: +"When the outage started: the first failing check of the streak, at or before created_at. For a heartbeat, the missed deadline (last ping plus period and grace), or when the /fail ping arrived. Duration and downtime count from here."
  3. Changed2 schema fields changedv1.9.1
    • addedInput schema / properties / heartbeat_id
      Added value: +{
      +  "description": "Keep one heartbeat's incidents: its uuid from list_heartbeats. Not together with monitor_id (a 422).",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • changedInput schema / properties / monitor_id / description
      Previous value: -"Keep one monitor's incidents: its uuid from list_monitors."New value: +"Keep one monitor's incidents: its uuid from list_monitors. Not together with heartbeat_id (a 422)."
  4. Changed4 schema fields changedv1.8.0
    • addedInput schema / properties / all_time
      Added value: +{
      +  "description": "true lists incidents of all time, one page at a time. Not together with period_days, from or to.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "First UTC date of a calendar range, YYYY-MM-DD, inclusive. An incident is listed if it was active on any day of the range. Not together with period_days.",
      +  "format": "date",
      +  "type": "string"
      +}
    • changedInput schema / properties / period_days / description
      Previous value: -"Keep incidents active within the last N days, 1 to 365. An open incident always qualifies, so with status open it changes nothing: use status resolved, or omit status, to see the window take effect."New value: +"Keep incidents active within the last N days, 1 to 365. Without period_days, from, to or all_time the tool lists the last 30 days."
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "Last UTC date of a calendar range, YYYY-MM-DD, inclusive; without it the range runs to now. Not together with period_days.",
      +  "format": "date",
      +  "type": "string"
      +}
  5. Changed1 schema field changedv1.6.0
    • addedOutput schema / properties / items / items / properties / notification_logs / items / properties / fallback_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Known values: NO_WORKING_CHANNELS, ALL_DELIVERIES_FAILED.",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  6. Changed1 schema field changedv1.4.2
    • changedOutput schema / properties / items / items / properties / notification_logs / items / properties / event / description
      Previous value: -"Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY."New value: +"Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY, DOMAIN_ON_HOLD, DOMAIN_NOT_IN_REGISTRY."
  7. Changed5 schema fields changedv1.3.0
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "attention: open unacknowledged first, then open acknowledged, then resolved; newest first within each. Omit it for newest first.",
      +  "enum": [
      +    "attention"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / acknowledged_by_label
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / acknowledged_via
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Known values: DASHBOARD, API_KEY, MCP, TELEGRAM.",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / items / items / properties / notification_logs / items / properties / event / description
      Previous value: -"Known values: TRIGGERED, RESOLVED, SSL_EXPIRY."New value: +"Known values: TRIGGERED, RESOLVED, SSL_EXPIRY, SSL_RENEWAL_OVERDUE, SSL_COVERAGE_LOST, CHANGE_DETECTED, DOMAIN_EXPIRY."
    • changedOutput schema / properties / items / items / required
      Previous value: -[
      -  "id",
      -  "started_at",
      -  "resolved_at",
      -  "cause",
      -  "cause_detail",
      -  "last_notified_at",
      -  "acknowledged_at",
      -  "acknowledged_by",
      -  "renotify_count",
      -  "created_at",
      -  "updated_at"
      -]New value: +[
      +  "id",
      +  "started_at",
      +  "resolved_at",
      +  "cause",
      +  "cause_detail",
      +  "last_notified_at",
      +  "acknowledged_at",
      +  "acknowledged_by",
      +  "acknowledged_via",
      +  "acknowledged_by_label",
      +  "renotify_count",
      +  "created_at",
      +  "updated_at"
      +]
  8. Changed7 schema fields changedv0.6.1
    • changedInput schema / properties / cause / description
      Previous value: -"Filter by structured failure cause."New value: +"Keep one failure cause, such as TIMEOUT, HTTP_5XX or HEARTBEAT_MISSED."
    • addedInput schema / properties / monitor_id / description
      Added value: +"Keep one monitor's incidents: its uuid from list_monitors."
    • addedInput schema / properties / page / description
      Added value: +"Page number, 1 or more; default 1."
    • changedInput schema / properties / period_days / description
      Previous value: -"Only incidents that were active within the last N days. An incident still open is always included, whenever it started. Combined with status=open this makes period_days a no-op, since every open incident already satisfies that arm — use status=resolved or omit status to see the window take effect."New value: +"Keep incidents active within the last N days, 1 to 365. An open incident always qualifies, so with status open it changes nothing: use status resolved, or omit status, to see the window take effect."
    • addedInput schema / properties / size / description
      Added value: +"Rows per page, 1 to 100; default 25. Keep paging until you have seen total rows."
    • changedInput schema / properties / status / description
      Previous value: -"Filter by open or resolved; omit for both."New value: +"open or resolved (lowercase); omit it for both."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "acknowledged_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "acknowledged_by": {
      +            "anyOf": [
      +              {
      +                "format": "uuid",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "cause": {
      +            "description": "Known values: TIMEOUT, DNS_FAILURE, CONNECTION_REFUSED, TLS_INVALID, HTTP_4XX, HTTP_5XX, HTTP_UNEXPECTED_STATUS, KEYWORD_MISSING, TOO_MANY_REDIRECTS, TARGET_BLOCKED, PORT_STATE_MISMATCH, INVALID_TARGET, HEARTBEAT_MISSED, HEARTBEAT_FAILED, UNKNOWN.",
      +            "type": "string"
      +          },
      +          "cause_detail": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "created_at": {
      +            "type": "string"
      +          },
      +          "heartbeat_id": {
      +            "anyOf": [
      +              {
      +                "format": "uuid",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "id": {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "last_notified_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "monitor_id": {
      +            "anyOf": [
      +              {
      +                "format": "uuid",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "notification_logs": {
      +            "items": {
      +              "properties": {
      +                "channel_type": {
      +                  "description": "Known values: EMAIL, TELEGRAM, WEBHOOK, SLACK, DISCORD.",
      +                  "type": "string"
      +                },
      +                "destination": {
      +                  "type": "string"
      +                },
      +                "error": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "event": {
      +                  "description": "Known values: TRIGGERED, RESOLVED, SSL_EXPIRY.",
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "format": "uuid",
      +                  "type": "string"
      +                },
      +                "sent_at": {
      +                  "type": "string"
      +                },
      +                "status": {
      +                  "description": "Known values: PENDING, SENT, FAILED.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "channel_type",
      +                "destination",
      +                "event",
      +                "sent_at",
      +                "status",
      +                "error"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "renotify_count": {
      +            "type": "integer"
      +          },
      +          "resolved_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "started_at": {
      +            "type": "string"
      +          },
      +          "updated_at": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "started_at",
      +          "resolved_at",
      +          "cause",
      +          "cause_detail",
      +          "last_notified_at",
      +          "acknowledged_at",
      +          "acknowledged_by",
      +          "renotify_count",
      +          "created_at",
      +          "updated_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "page": {
      +      "type": "integer"
      +    },
      +    "pages": {
      +      "type": "integer"
      +    },
      +    "size": {
      +      "type": "integer"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "total",
      +    "page",
      +    "size",
      +    "pages"
      +  ],
      +  "type": "object"
      +}
  9. First observedv0.5.4

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description still adds real behavior: incidents resolve automatically on recovery, can be closed by pause/deletion/downgrade, reminders are not logged per incident, and PENDING webhook deliveries exist. The only missed opportunity is that most of the added text describes return fields, which the output schema already carries.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is one dense paragraph that spends most of its length enumerating return fields (notification_logs, channel_type, sent_at, status, error) which the output schema already documents. That bulk crowds out the routing and scoping information that actually helps an agent decide and call.

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

Completeness4/5

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

For an 11-parameter filtered-list tool with rich annotations and an output schema, the description covers scope, defaults, alternatives, error behavior (422 naming the argument) and pagination shape. Nothing needed to call it correctly is missing; the surplus is redundancy rather than absence.

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 coverage is 100%, so every parameter already has its own description including enum meanings and mutual-exclusion rules. The description adds only marginal value beyond that — a worked example call and a restatement of the default 30-day window — without explaining parameter interplay such as how from/to interacts with sort.

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 specific verb and resource plus scope ('List the organization's monitor and heartbeat incidents, newest first') and immediately distinguishes itself from get_incident, list_check_results and list_status_page_incidents by name. An agent can tell exactly which incident-listing tool this is without opening the schema.

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 routes explicitly to alternatives: 'For one incident's full record use get_incident; for the checks behind it use list_check_results; incidents posted on a status page are list_status_page_incidents.' It also states the default window (last 30 days when no range is given) and the paging expectation, leaving little to inference.

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