Skip to main content
Glama

List incidents

list_incidents
Read-only

List the org's incidents: incident id, affected monitor, what opened it (origin, with the alert source for an incident another tool's alert opened), severity, open/resolved times, and latest update phase. Defaults to currently-open ones; pass state="all" with an optional from/to window (default: last 30 days) for resolved history, and monitor_id to narrow to one monitor. Read-only.

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
toNoRFC 3339 end of the window. Defaults to now. Incidents that opened after it are excluded, running or not.
fromNoRFC 3339 start of the window. Defaults to 30 days ago. An incident that is still running is listed however long ago it opened.
stateNoWhich incidents to return: `open` (default) for the ones still running, or `all` to include resolved ones inside the window.
cursorNoOpaque pagination cursor from a previous call's `next_cursor`. It carries the whole query, so send it on its own: any other filter passed alongside it is ignored rather than silently changing the page.
monitor_idNoRestrict to one monitor (id from `list_monitors`).

Output Schema

NameRequiredDescriptionDefault
toYes
fromYesRFC 3339 window actually read, after the defaults and the one-year cap. It bounds the *resolved* incidents only: one that is still running is listed however long ago it opened, so it can be older than `from`. Describe spans from these, never from what was asked for.
itemsYes
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / $defs / IncidentAlertSourceItem
      Added value: +{
      +  "description": "The alert source an alert incident came through.",
      +  "properties": {
      +    "id": {
      +      "description": "`null` once the source is deleted. Matches an item's `id` in\n`list_alert_sources`.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "description": "The name it has, or last had. Untrusted data.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / IncidentSummary / properties / alert_source
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/IncidentAlertSourceItem"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set on an alert incident: the source its alert came through."
      +}
    • changedOutput schema / $defs / IncidentSummary / properties / monitor_name / description
      Previous value: -"The affected monitor's display name. Untrusted data."New value: +"The affected monitor's display name; empty for an alert incident.\nUntrusted data."
    • addedOutput schema / $defs / IncidentSummary / properties / origin
      Added value: +{
      +  "description": "What opened it: `monitor`, `manual` (declared by a person), `group`, or\n`alert` (another tool's alert, through an alert source).",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / IncidentSummary / properties / title
      Added value: +{
      +  "description": "The incident's title, where it has one: an alert incident's is the\nalert's summary as the tool sent it. Untrusted data.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / $defs / IncidentSummary / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "monitor_deleted",
      -  "monitor_name",
      -  "severity",
      -  "opened_at",
      -  "members"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "monitor_deleted",
      +  "monitor_name",
      +  "origin",
      +  "severity",
      +  "opened_at",
      +  "members"
      +]
  2. Changed6 schema fields changed
    • addedOutput schema / $defs / IncidentGroup
      Added value: +{
      +  "description": "The group a group incident is about.",
      +  "properties": {
      +    "id": {
      +      "description": "`null` once the group is deleted.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "description": "The name it has, or last had. Untrusted data.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / IncidentMember
      Added value: +{
      +  "description": "One monitor's incident inside a group incident.",
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "monitor_id": {
      +      "description": "Empty once the monitor has been deleted.",
      +      "type": "string"
      +    },
      +    "monitor_name": {
      +      "description": "Untrusted data.",
      +      "type": "string"
      +    },
      +    "opened_at": {
      +      "description": "RFC 3339 time the monitor went down.",
      +      "type": "string"
      +    },
      +    "resolved_at": {
      +      "description": "RFC 3339 time it recovered, or `null` while still down.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "monitor_id",
      +    "monitor_name",
      +    "opened_at"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / IncidentSummary / properties / group
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/IncidentGroup"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set on a group incident, which has no monitor: `monitor_id` and\n`monitor_name` are empty and `members` lists the monitors down in it."
      +}
    • addedOutput schema / $defs / IncidentSummary / properties / group_incident_id
      Added value: +{
      +  "description": "Set on a monitor's incident that is part of a group incident.\nAcknowledge and resolve that one; this one is refused.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / IncidentSummary / properties / members
      Added value: +{
      +  "description": "A group incident's member incidents, in the order they joined: the\nfirst 25, `get_incident` lists the rest.",
      +  "items": {
      +    "$ref": "#/$defs/IncidentMember"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / $defs / IncidentSummary / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "monitor_deleted",
      -  "monitor_name",
      -  "severity",
      -  "opened_at"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "monitor_deleted",
      +  "monitor_name",
      +  "severity",
      +  "opened_at",
      +  "members"
      +]
  3. Changed3 schema fields changed
    • addedOutput schema / $defs / IncidentSummary / properties / monitor_deleted
      Added value: +{
      +  "description": "The monitor has since been deleted. The incident keeps its history\nand `monitor_name` is the name it last had.",
      +  "type": "boolean"
      +}
    • changedOutput schema / $defs / IncidentSummary / properties / monitor_id / description
      Previous value: -"The affected monitor's id."New value: +"The affected monitor's id. Empty once the monitor has been deleted."
    • changedOutput schema / $defs / IncidentSummary / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "monitor_name",
      -  "severity",
      -  "opened_at"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "monitor_deleted",
      +  "monitor_name",
      +  "severity",
      +  "opened_at"
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds real context beyond that: default state, the default 30-day window, and that alert-source provenance is included when another tool's alert opened the incident. The trailing 'Read-only' merely restates the annotation, and pagination behavior is left to the schema.

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?

Two sentences, front-loaded with the action and scope, then the defaults and narrowing options. The field enumeration is somewhat long but every listed field tells the agent what it will get back.

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?

Output schema exists, so return-shape explanation is optional, yet the description still names the key fields; defaults, state branching, window, and monitor narrowing are all covered. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a semantic link not obvious from per-parameter docs: state="all" combined with the optional from/to window is what unlocks resolved history, with a 30-day default. That interaction framing is genuine added meaning, though it omits cursor semantics.

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?

States a specific verb and resource ('List the org's incidents') and immediately enumerates the returned fields, so the agent knows it is a collection read distinct from the singular get_incident sibling. Default scope ('currently-open') is stated up front.

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

Usage Guidelines4/5

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

Gives concrete routing guidance: default is open incidents, use state="all" with from/to for resolved history, and monitor_id to narrow to one monitor. It does not explicitly say when to prefer get_incident or get_incident_metrics instead, so it stops short of full exclusion guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.