Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

delete_incident_phase_node

Destructive

Delete a custom phase from an incident response timeline. If captures reference it, archive the phase so historical labels still resolve.

Instructions

Delete a phase from an incident's response timeline. If any capture references the phase it is archived instead of removed, so historical captures keep resolving a label. nodeId must come from get_incident_phase_graph after it returns isCustom true, or from a prior create_incident_phase_node call.

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": {
      "incidentId": "<incidentId>",
      "nodeId": "<nodeId>"
    },
    "name": "delete_incident_phase_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe phase node UUID to delete
incidentIdYesThe UUID of the incident
includeDrillsNoSet true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the safety profile is known; the description adds the non-obvious behavior that phases referenced by captures are archived rather than removed, preserving label resolution for historical captures. That is exactly the kind of side-effect detail an agent cannot infer from the schema or annotations.

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?

Three sentences, each carrying distinct information: what is deleted, the archival fallback, and the ID provenance rule. The core action is front-loaded and nothing is redundant.

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 destructive, no-output-schema tool with fully documented parameters, this covers the essential gaps: the archive fallback and where nodeId comes from. It leaves minor questions open, such as whether a hard delete is recoverable and what happens to edges attached to the phase.

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 all three parameters are already documented, including includeDrills and its 404 behavior. The description still adds real meaning by constraining nodeId's provenance to a specific source call and a specific field value (isCustom true), which the schema does not convey.

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 a specific verb and resource ('Delete a phase from an incident's response timeline'), which is clearly distinct from the capture- and edge-deletion siblings. It stops short of naming any sibling explicitly, so the differentiation rests on the noun 'phase' alone.

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?

It gives a concrete precondition for invocation: nodeId must originate from get_incident_phase_graph after isCustom returns true, or from a prior create_incident_phase_node call. That routes the agent to the right prerequisite tools, though it never states when to prefer this over the other delete_* siblings or what to do if isCustom is false.

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

Deploy Server

Other Tools