Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

create_incident_phase_edge

Links two phase nodes on an incident response timeline from source to target, forking a private timeline copy first when the incident still uses the tenant default.

Instructions

Link two phases on an incident's response timeline (source → target). If the incident is still using the tenant default timeline, this forks a private copy for the incident first, same as create_incident_phase_node. Both node ids must belong to this same incident's (already forked) graph.

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>",
      "sourceNodeId": "<sourceNodeId>",
      "targetNodeId": "<targetNodeId>"
    },
    "name": "create_incident_phase_edge"
  }
}

Input Schema

NameRequiredDescriptionDefault
incidentIdYesThe UUID of the incident
sourceNodeIdYesThe phase node UUID the link starts from
targetNodeIdYesThe phase node UUID the link points to
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.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden, and it discloses the key non-obvious side effect: a tenant-default timeline is forked into a private per-incident copy before linking. It stops short of covering duplicate-edge handling, cycle rejection, or authorization requirements for a mutation.

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 short sentences, front-loaded with the action, then the side effect, then the validity constraint. Nothing is redundant or padded.

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 mutation with no annotations and no output schema, the description covers purpose, side effect, and id constraints adequately. Minor gaps remain around failure modes (duplicate edges, cycles) and whether the call is idempotent.

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 baseline is 3, but the description adds real semantics: source→target directionality and the constraint that both node ids live in this incident's forked graph. The includeDrills parameter is left to its schema description.

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 ('Link two phases on an incident's response timeline') plus the direction convention '(source → target)'. It also implicitly separates itself from create_incident_phase_node by referencing it as the analogous operation rather than the same one.

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 a clear precondition for use: both node ids must belong to the same incident's already-forked graph. It does not name an explicit exclusion or point to delete_incident_phase_edge for removal, so the when-not case is left implicit.

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