Skip to main content
Glama

delete_own_message

Delete one of your own messages in Slack. Provide the channel and timestamp of the message to remove it.

Instructions

Delete one of your own messages.

Calls chat.delete with (channel, ts). xoxc user tokens can delete their OWN messages without special scopes. Returns ok=True on success. message_not_found is treated as a soft success (already-deleted or wrong ts).

Low-consequence (only your own messages, no destructive cascade) so no draft+confirm. The audit log records every call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsYes
channelYes
workspaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations are provided, so the description fully covers behavioral traits: it calls chat.delete, returns ok=True, treats message_not_found as soft success, is low-consequence (no destructive cascade), and mentions audit logging. This goes well beyond what the input schema reveals.

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 serving a distinct purpose: action, API details, edge cases, and behavioral context. No filler. Front-loaded with the core purpose.

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 simple delete tool, the description covers what the tool does, how it works, edge cases (soft success), and implications. An output schema exists but is not shown; the description already mentions the return value. No gaps given the low complexity.

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 0%, but the description clarifies required parameters ('channel, ts') and their role in the underlying API call. The optional 'workspace' parameter is not explained, leaving some ambiguity. The description adds value but not comprehensive param-level detail.

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 starts with 'Delete one of your own messages,' which is a clear verb+resource statement. It is distinct from siblings like update_own_message, send_message, etc., because it focuses on deletion of own messages only.

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?

The description states the tool is for deleting your own messages and mentions token/scopes. It implies low-consequence and no draft+confirm, which helps the agent decide to use it directly. However, it does not explicitly contrast with other tools like update_own_message or list alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adelaidasofia/slack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server