Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

add_slack_thread

Link a Slack thread URL to an incident's Communication tab and ingest its messages for context. Creates the link even when the bot cannot read the channel.

Instructions

Link a Slack thread to an incident's Communication tab by URL and ingest its messages. If the Slack bot cannot read the channel, the link is still created and accessWarning explains why (e.g. not_in_channel). Linking a thread that is already linked returns a 409 error. When linking many threads, call this sequentially rather than in parallel. Linked threads appear in slackThreadUrls on get_incident.

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>",
      "url": "<url>"
    },
    "name": "add_slack_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesSlack thread URL, e.g. https://{workspace}.slack.com/archives/{channelId}/p{ts}
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.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses partial-failure semantics (link is created even when the bot cannot read the channel, with accessWarning explaining why), duplicate handling (409), and a concurrency constraint. It does not say what permissions or scopes the caller needs, nor how far back messages are ingested, which keeps it below a 5.

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 sentences, each carrying distinct information — core action, failure mode, duplicate error, concurrency rule, and result location — with the primary action front-loaded and no restatement of the tool name or schema.

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

Completeness5/5

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

For a 3-parameter mutation with no output schema, the description covers the essential agent-facing facts: what gets created, what the warning field means, what error indicates a duplicate, and where the linked threads surface. Nothing needed to invoke it correctly is missing.

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 coverage is 100%, so url, incidentId and includeDrills are all documented in the schema, including the URL pattern and drill 404 behavior. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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+resource: link a Slack thread to an incident's Communication tab by URL and ingest its messages. That is precise enough to separate it from delete_slack_thread and from the various add_*_related_resource siblings, which attach other resource types.

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?

It gives an explicit operational guideline for the batch case ('when linking many threads, call this sequentially rather than in parallel') and points at get_incident/slackThreadUrls for verification. It stops short of stating when not to use it, e.g. preferring an alternative for unlinked or private channels, but the guidance present is concrete.

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