Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

complete_incident_task

Destructive

Mark an incident task as done or cancelled with a completion report, skipping review, and return the updated task. Use it to close out work or record why a task was cancelled.

Instructions

Complete (done) or cancel an incident task directly with a report, skipping review. targetStatus done requires a tenant admin; cancelled does not. Returns the updated task.

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>",
      "taskId": "<taskId>",
      "targetStatus": "<targetStatus>",
      "report": "<report>"
    },
    "name": "complete_incident_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportYesWhat was done, or why the task is cancelled
taskIdYesIncident task UUID
incidentIdYesIncident UUID
completedAtNoWhen the task was finished (ISO 8601; default now)
targetStatusYesFinal task status
includeDrillsNoSet true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404.
relatedIncidentsNoRelated incidents to store on the task (each needs id, status, createdAt)

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?

Annotations declare destructiveHint=true and non-idempotent, and the description adds authorization context the annotations cannot express: elevation to tenant admin for targetStatus=done, plus the fact that review is skipped and the updated task is returned. It stops short of saying whether the bypass is reversible or how to undo a completion.

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 and the review-bypass behavior, then the permission split, then the return value. No filler or repetition of schema content.

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 7-parameter mutation with full schema coverage and no output schema, the description covers the essential facts an agent needs: what it does, the privilege gate, the bypassed workflow, and the response shape. Minor gaps remain around irreversibility and drill handling, though includeDrills is fully documented in the schema.

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 earns above baseline by tying an authorization rule to a specific enum value (done requires tenant admin; cancelled does not) and by clarifying the report parameter's role in the direct-completion path.

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 pair and resource ('Complete (done) or cancel an incident task') plus the key mechanism ('directly with a report, skipping review'). The 'skipping review' clause cleanly separates it from review-path siblings such as submit_incident_task_report and approve_incident_task.

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 condition for choosing this tool: it bypasses review, and the targetStatus values carry different privilege requirements (done needs tenant admin, cancelled does not). It does not name the alternative tool to use when review is desired, so the routing is implied rather than explicit.

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