Skip to main content
Glama
Cursor Slack Chat

Cursor Slack Chat

by CanonSystems

slack_delete_message

Deletes a Slack message from a channel or direct message using its channel ID and timestamp.

Instructions

Delete a message from a Slack channel or DM

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": {
      "channel_id": "<channel_id>",
      "ts": "<ts>"
    },
    "name": "slack_delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
tsYesThe timestamp (ts) of the message to delete
channel_idYesThe ID of the channel/DM containing the message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only that the message is removed; it does not state that deletion is permanent, what permissions are required, whether bot-authored messages are treated differently, or what happens to thread replies.

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?

A single front-loaded sentence with zero filler. It is efficient, though the brevity is partly a symptom of under-specification rather than disciplined tightening.

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

Completeness2/5

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

This is a destructive mutation tool with no annotations and no output schema, so the description should carry the safety and permission context. It instead offers only one clause, leaving irreversibility, auth requirements, and thread-reply effects entirely unstated.

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% and both parameters are fully documented, including that 'ts' is the message timestamp and 'channel_id' identifies the containing channel/DM. The description adds no format details (ts precision, ID prefix) beyond the schema, so baseline 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?

States a specific verb ('Delete') and resource ('a message from a Slack channel or DM'), which distinguishes it from the post/update siblings by verb alone. It does not enrich beyond that, but the intent is unambiguous.

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

Usage Guidelines2/5

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

No guidance on when to delete versus edit ('slack_update_message'), no prerequisites such as needing to be the message author or holding admin scope, and no warnings about the operation being irreversible. The agent must infer all of this.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.