Skip to main content
Glama

update_incident

Edit an incident's root cause or Markdown postmortem and control whether the write-up is published on public status pages after resolution.

Instructions

Edit an incident's root cause or Markdown postmortem and return the updated record. Use post_incident_update instead to change status or notify subscribers. Omitted fields stay unchanged; null or blank text clears a write-up field. Write-ups remain private unless publishPostmortem is true; a published postmortem appears on public status pages after resolution, and false hides it again.

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": "update_incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesResource UUID returned by the matching list tool; not its name, incident number or status-page slug.
projectNoProject id (from list_workspaces). Omit to use the default project of the workspace.
rootCauseNoShort cause of the incident; null or blank clears it, omission preserves it.
workspaceNoWorkspace id (from list_workspaces). Omit to use the default one.
postmortemNoMarkdown investigation write-up; null or blank clears it, omission preserves it.
publishPostmortemNoPublish the postmortem on public status pages after resolution; false hides it, omission preserves its current setting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • changedInput schema / properties / id / description
      Previous value: -"Resource id (uuid)"New value: +"Resource UUID returned by the matching list tool; not its name, incident number or status-page slug."
    • addedInput schema / properties / postmortem / description
      Added value: +"Markdown investigation write-up; null or blank clears it, omission preserves it."
    • addedInput schema / properties / publishPostmortem / description
      Added value: +"Publish the postmortem on public status pages after resolution; false hides it, omission preserves its current setting."
    • addedInput schema / properties / rootCause / description
      Added value: +"Short cause of the incident; null or blank clears it, omission preserves it."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing partial-update semantics (omitted fields unchanged), clear-on-null behavior, and the privacy/publication lifecycle (private by default, visible on public status pages only after resolution, false hides again). The one wrinkle: clearing a write-up via null/blank is a data-losing action while destructiveHint is false, and the description does not reconcile that tension or mention permissions.

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

Conciseness5/5

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

Four short sentences, front-loaded with the action and the sibling routing, then mutation semantics, then publication consequences. No filler and nothing an agent needs is buried.

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?

No output schema exists, and the description still states the return ('the updated record'). With six parameters fully documented in the schema and the write/clear/publish contract covered, an agent has enough to invoke this correctly.

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; the description still adds meaning by stating the clear-vs-preserve contract for rootCause/postmortem and the 'private unless publishPostmortem is true' default, which the schema only partially conveys. It does not add format or content guidance for the Markdown body beyond the byte limit in the schema.

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?

Specific verb + resource + scope: 'Edit an incident's root cause or Markdown postmortem and return the updated record.' It immediately excludes status/notification changes by pointing at post_incident_update, so the agent can separate it from siblings without opening schemas.

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?

Explicitly names the alternative tool and the condition that selects it: 'Use post_incident_update instead to change status or notify subscribers.' That is a direct when-to-use-else rule, not an implication.

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