Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

approve_incident_task

Destructive

Approve an incident task's report and mark the task done, notifying the report author. Use it to close out task reviews and return the updated task.

Instructions

Approve an incident task's report and mark the task done. Tenant admin only. The report author is notified. 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>"
    },
    "name": "approve_incident_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesIncident task UUID
commentNoReview comment
reportIdNoReport UUID to approve (default: the latest report)
incidentIdYesIncident UUID
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

A3.5/5.0
Behavior3/5

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

The description adds genuine behavior beyond the annotations: an authorization requirement (tenant admin), a notification side effect to the report author, and the return value. However, the annotations declare destructiveHint=true and idempotentHint=false, and the description never explains what is destroyed or made unrecoverable, nor whether the reversal sibling (unapprove_incident_task) exists — a notable gap for a destructive mutation.

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?

Four short declarative sentences, front-loaded with the action and its outcome before the permission and side-effect details. 'Returns the updated task' is useful given there is no output schema, so nearly every sentence earns its place; only slightly terse in places.

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 5-parameter destructive mutation with no output schema, the description covers purpose, authorization, a notification side effect, and the return shape, which is reasonably complete. It falls short on reversibility/undo path and on which report is selected when multiple exist, both relevant to correct invocation.

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?

Schema description coverage is 100%, so reportId's 'default: the latest report', comment, and includeDrills are all already documented in the schema. The description adds no parameter-level meaning, such as which report gets approved or what comment is used for, so the baseline of 3 applies.

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?

Description names a specific verb and resource ('Approve an incident task's report') and states the resulting state change ('mark the task done'), which is far more informative than the bare name. It does not differentiate itself from adjacent siblings such as reject_incident_task, unapprove_incident_task, or complete_incident_task, which an agent could easily confuse with this one.

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?

The 'Tenant admin only' clause gives a precondition for use, which is real guidance, but there is no statement of when to prefer this over reject_incident_task or complete_incident_task, and no note that unapprove_incident_task can reverse it. Usage is implied by the approval workflow rather than stated.

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