Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

add_incident_role_slot

Add a role slot to an incident from a role definition and return the new slot; use it to assign incident roles. Viewer tokens are not allowed.

Instructions

Add a role slot to an incident from an incident role definition. Returns the new slot. 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>",
      "roleDefinitionId": "<roleDefinitionId>"
    },
    "name": "add_incident_role_slot"
  }
}

Input Schema

NameRequiredDescriptionDefault
incidentIdYesIncident UUID
includeDrillsNoSet true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404.
roleDefinitionIdYesIncident role definition UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive mutation, and the description usefully adds the auth restriction and states it returns the new slot. It does not disclose what happens when a slot already exists or when the role definition is invalid, which matters given idempotentHint=false.

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?

Three short sentences, front-loaded with the action and followed by return value and the permission caveat. No filler, though the phrasing 'Add a role slot to an incident from an incident role definition' is slightly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given annotations and complete schema coverage, the main gaps are failure behavior (duplicate slot, missing role definition) and what fields the returned slot contains. Since there is no output schema, a brief note on the return shape would have closed the loop fully.

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 incidentId, includeDrills and roleDefinitionId are already documented in the schema. The description adds only the conceptual link that roleDefinitionId must reference an existing incident role definition, so baseline 3 is appropriate.

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 ('Add a role slot to an incident') and its source ('from an incident role definition'), which distinguishes it from set_incident_role_slot_members. It stops short of explicitly naming the sibling it is not, so it is clear but not fully differentiated.

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?

Provides one hard usage constraint ('Not allowed for viewer tokens') and implies a prerequisite (an existing incident role definition), but gives no when-to-use guidance versus the sibling tools that populate or list role assignments.

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