Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

set_incident_commanders

DestructiveIdempotent

Replaces an incident's active commanders with the given tenant member IDs, or clears them by passing an empty array. Use it to reassign who leads an incident response.

Instructions

Replace an incident's active commanders (also the commander role slot). An empty array clears them. Returns the saved commander IDs. Not allowed for viewer tokens.

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>",
      "commanderIds": "<commanderIds>"
    },
    "name": "set_incident_commanders"
  }
}

Input Schema

NameRequiredDescriptionDefault
incidentIdYesIncident UUID
commanderIdsYesTenant member UUIDs to set as commanders; [] clears
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.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description earns credit for going further: it explains exactly what the destruction looks like (empty array clears commanders), that the commander role slot is also written, and that viewer tokens are rejected. It stops short of noting other side effects such as notifications to removed commanders.

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 with no filler: purpose and side-effect scope first, then the clearing semantics, then the return value, then the auth constraint. Each sentence carries information an agent needs before calling.

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?

With no output schema, stating 'Returns the saved commander IDs' usefully fills the return-value gap, and the auth and clearing behavior round out a mutation tool whose annotations already flag destructiveness. The only meaningful omission is any hint about the drill/exercise flag, which the schema must carry alone.

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 both incidentId and commanderIds are already documented, and the description's '[] clears' largely repeats the schema's own wording. The includeDrills parameter, which controls drill-incident visibility and 404 behavior, is not mentioned in the description at all, leaving that entirely to the schema.

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?

States a specific verb and resource ('Replace an incident's active commanders') and clarifies the scope with '(also the commander role slot)', which distinguishes it from a plain membership edit. It does not explicitly name a sibling like get_incident_commanders or set_incident_role_slot_members, so the differentiation is implied rather than stated.

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?

Usage is implied by 'Replace' and by 'An empty array clears them', which tells the agent how to unassign everyone. The 'Not allowed for viewer tokens' line gives an auth precondition. However, there is no explicit when-to-use guidance versus reading via get_incident_commanders or editing other role slots.

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