Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

delete_slack_thread

Destructive

Unlink a Slack thread from an incident using its thread ID to fix incorrect manual links; threads linked by the Slack bot cannot be removed.

Instructions

Unlink a Slack thread from an incident. Use the thread id from slackThreadUrls on get_incident (or from add_slack_thread). Threads linked automatically by the Slack bot cannot be removed with this tool.

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>",
      "threadId": "<threadId>"
    },
    "name": "delete_slack_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
threadIdYesThe linked thread UUID (id from slackThreadUrls on get_incident)
incidentIdYesThe UUID of the incident
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?

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is known; the description adds the valuable constraint that bot-created links are not removable here. It stops short of saying whether removal is reversible (re-linkable via add_slack_thread) or whether the underlying Slack messages are untouched, which are the remaining behavioral questions for an agent.

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 required input source, then the caveat. No filler and nothing repeated.

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 three-parameter mutation with full schema coverage and destructive annotations, the description covers purpose, input sourcing, and the main failure mode. The only gap is the absence of any note on the response (there is no output schema) or on whether the unlink can be undone.

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%, and every parameter (threadId, incidentId, includeDrills) already carries its own description including the UUID format. The description restates the threadId source but adds nothing about format or about the includeDrills drill-handling flag beyond what the schema says, so this is the baseline case where structured data does the work.

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?

The description opens with a specific verb and resource: 'Unlink a Slack thread from an incident.' This is immediately distinguishable from the sibling add_slack_thread, and the 'unlink' framing clarifies what the otherwise alarming delete_* name actually does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It tells the agent where the threadId comes from (slackThreadUrls on get_incident, or add_slack_thread) and explicitly states an exclusion: threads linked automatically by the Slack bot cannot be removed with this tool. That is both a usage trigger and a when-not condition, leaving little to inference.

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