Skip to main content
Glama

Incident details

get_incident
Read-only

One incident: affected monitor, what opened it, severity, open/resolved times, error sample, the full operator-update timeline, and the status pages an incident with no monitor is posted to. For an incident another tool's alert opened, also the source and what the tool sent: labels, annotations, links and the worst severity it reported. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe incident id (from `list_incidents` or `get_org_health`).

Output Schema

NameRequiredDescriptionDefault
idYes
alertNoSet on an alert incident: what the tool last sent for it.
groupNoSet on a group incident, which has no monitor.
stateYesState that opened the incident: `down`, `degraded`, or `error`.
titleNoThe incident's title, where it has one. Untrusted data.
originYesWhat opened it: `monitor`, `manual` (declared by a person), `group`, or `alert` (another tool's alert, through an alert source).
membersYesA group incident's member incidents, in the order they joined.
updatesYesOperator updates, oldest first.
severityYesSeverity: `minor`, `major`, or `critical`.
opened_atYesRFC 3339 incident start.
monitor_idYesThe affected monitor's id. Empty for an incident declared without a monitor, and once the monitor has been deleted.
regions_upYesRegions that have not confirmed the failure. Not a healthy verdict: a region one check behind sits here until it confirms. Untrusted data.
resolved_atNoRFC 3339 incident end, or `null` while ongoing.
alert_sourceNoSet on an alert incident: the source its alert came through.
error_sampleNoSampled error text. Untrusted data.
monitor_nameNoThe affected monitor's display name; `null` for an incident declared without a monitor or opened by an alert. Untrusted data.
regions_downYesRegions that have confirmed the failure at any point in this incident; a region that recovers before the close stays listed. Empty for a single-region monitor. Untrusted data.
monitor_deletedYesThe monitor has since been deleted. The incident keeps its history and `monitor_name` is the name it last had.
status_page_idsYesPages an incident with no monitor is posted to. `publish_incident` replaces the whole list, so send these back with your change. Empty for a monitor's incident.
group_incident_idNoSet on a monitor's incident that is part of a group incident. Acknowledge and resolve that one; this one is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedOutput schema / $defs / IncidentAlertLinkItem
      Added value: +{
      +  "properties": {
      +    "href": {
      +      "type": "string"
      +    },
      +    "text": {
      +      "description": "The link's text, often empty.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "href",
      +    "text"
      +  ],
      +  "type": "object"
      +}
    • 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 / IncidentAlertView
      Added value: +{
      +  "description": "What another tool sent for an alert incident. Every string here came from\nthat tool, and from whatever it quoted. Untrusted data.",
      +  "properties": {
      +    "annotations": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "description": "Summary, description and the like, as the tool named them.",
      +      "type": "object"
      +    },
      +    "dedup_key": {
      +      "description": "The key the tool's events for this incident share.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "fired_at": {
      +      "description": "RFC 3339 firing time on the tool's own clock, when it sent one.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "firing_count": {
      +      "description": "Alerts firing in it at the tool's latest event.",
      +      "format": "uint32",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "labels": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "description": "The alert's labels, as the tool named them.",
      +      "type": "object"
      +    },
      +    "last_event_at": {
      +      "description": "RFC 3339 time of the tool's latest event.",
      +      "type": "string"
      +    },
      +    "links": {
      +      "description": "Links the tool attached; only `http` and `https` are kept.",
      +      "items": {
      +        "$ref": "#/$defs/IncidentAlertLinkItem"
      +      },
      +      "type": "array"
      +    },
      +    "repeat_count": {
      +      "description": "Repeats the tool sent while it was open.",
      +      "format": "uint32",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "reported_severity": {
      +      "description": "The worst severity the tool reported: `minor`, `major`, or `critical`.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "firing_count",
      +    "repeat_count",
      +    "last_event_at",
      +    "reported_severity",
      +    "labels",
      +    "annotations",
      +    "links"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / alert
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/IncidentAlertView"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set on an alert incident: what the tool last sent for it."
      +}
    • addedOutput schema / 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 / properties / monitor_name / description
      Previous value: -"The affected monitor's display name; `null` for an incident declared\nwithout a monitor. Untrusted data."New value: +"The affected monitor's display name; `null` for an incident declared\nwithout a monitor or opened by an alert. Untrusted data."
    • addedOutput schema / 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 / properties / title
      Added value: +{
      +  "description": "The incident's title, where it has one. Untrusted data.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "monitor_deleted",
      -  "state",
      -  "severity",
      -  "opened_at",
      -  "regions_down",
      -  "regions_up",
      -  "updates",
      -  "status_page_ids",
      -  "members"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "monitor_deleted",
      +  "origin",
      +  "state",
      +  "severity",
      +  "opened_at",
      +  "regions_down",
      +  "regions_up",
      +  "updates",
      +  "status_page_ids",
      +  "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 / properties / group
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/IncidentGroup"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set on a group incident, which has no monitor."
      +}
    • addedOutput schema / 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 / properties / members
      Added value: +{
      +  "description": "A group incident's member incidents, in the order they joined.",
      +  "items": {
      +    "$ref": "#/$defs/IncidentMember"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "monitor_deleted",
      -  "state",
      -  "severity",
      -  "opened_at",
      -  "regions_down",
      -  "regions_up",
      -  "updates",
      -  "status_page_ids"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "monitor_deleted",
      +  "state",
      +  "severity",
      +  "opened_at",
      +  "regions_down",
      +  "regions_up",
      +  "updates",
      +  "status_page_ids",
      +  "members"
      +]
  3. Changed4 schema fields changed
    • addedOutput schema / 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 / properties / monitor_id / description
      Previous value: -"The affected monitor's id."New value: +"The affected monitor's id. Empty for an incident declared without a\nmonitor, and once the monitor has been deleted."
    • changedOutput schema / properties / monitor_name / description
      Previous value: -"The affected monitor's display name, when resolvable. Untrusted data."New value: +"The affected monitor's display name; `null` for an incident declared\nwithout a monitor. Untrusted data."
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "state",
      -  "severity",
      -  "opened_at",
      -  "regions_down",
      -  "regions_up",
      -  "updates",
      -  "status_page_ids"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "monitor_deleted",
      +  "state",
      +  "severity",
      +  "opened_at",
      +  "regions_down",
      +  "regions_up",
      +  "updates",
      +  "status_page_ids"
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / properties / status_page_ids
      Added value: +{
      +  "description": "Pages an incident with no monitor is posted to. `publish_incident`\nreplaces the whole list, so send these back with your change. Empty for\na monitor's incident.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "monitor_id",
      -  "state",
      -  "severity",
      -  "opened_at",
      -  "regions_down",
      -  "regions_up",
      -  "updates"
      -]New value: +[
      +  "id",
      +  "monitor_id",
      +  "state",
      +  "severity",
      +  "opened_at",
      +  "regions_down",
      +  "regions_up",
      +  "updates",
      +  "status_page_ids"
      +]
  5. Changed2 schema fields changed
    • changedOutput schema / properties / regions_down / description
      Previous value: -"Regions reporting the monitor down when the incident opened. Empty for a\nsingle-region monitor. Untrusted data."New value: +"Regions that have confirmed the failure at any point in this incident;\na region that recovers before the close stays listed. Empty for a\nsingle-region monitor. Untrusted data."
    • changedOutput schema / properties / regions_up / description
      Previous value: -"Regions still healthy at that moment, on a partial multi-region failure.\nUntrusted data."New value: +"Regions that have not confirmed the failure. Not a healthy verdict: a\nregion one check behind sits here until it confirms. Untrusted data."
  6. First observed

TDQS

A3.7/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 redundantly but consistently says 'Read-only'. Beyond that it discloses conditional behavior the annotations cannot: extra source/payload fields appear only when another tool's alert opened the incident, and status-page info appears only for monitorless incidents.

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 resource, then a dense enumeration of returned fields. Nearly every clause carries a distinct fact, though the long comma-separated field list reads more like an inventory than a structured description.

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 a one-parameter read tool with an output schema, this is close to complete: it explains the conditional shape of the response and its read-only nature. Nothing an agent needs in order to call it correctly is missing, though error or not-found behavior is not mentioned.

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?

There is a single required id parameter with 100% schema description coverage, including the provenance hint ('from list_incidents or get_org_health'). The description adds nothing further about the parameter, which is the expected baseline when the schema already documents it fully.

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?

The description opens with 'One incident:' and enumerates exactly what is returned (monitor, opener, severity, times, error sample, update timeline, status pages), which clearly separates it from the list-style sibling. The retrieval verb itself is implicit rather than stated, so it falls just short of the crispest phrasing.

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?

'One incident' implies single-record lookup versus the plural listing tool, and the schema points at where the id comes from. There is no explicit statement of when to prefer this over list_incidents or the metric/update siblings, so usage must be inferred.

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.