Skip to main content
Glama

conversations_preview_message

Preview a Slack message as a draft in your own DM and get a preview_hash required to send those exact bytes with conversations_add_message.

Instructions

Post a DRAFT of a message to your own DM, exactly as it would render, and return its preview_hash. Sending it is conversations_add_message with the same channel_id, text, thread_ts and content_type plus preview_hash, which refuses anything but those exact bytes. Previews live until the server restarts.

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>",
      "text": "<text>"
    },
    "name": "conversations_preview_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
thread_tsNo
channel_idYes
content_typeNotext/markdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say non-read-only and non-destructive; the description adds real context: the preview is ephemeral ("live until the server restarts") and the send call validates against exact bytes, so stale previews will be refused. What it does not clarify is whether the draft is actually visible to anyone or how it interacts with thread_ts, leaving a small behavioral gap.

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?

Two dense sentences with the action and return value front-loaded; the trailing clause about exact bytes carries non-obvious constraints. Phrasing is slightly tangled ("Post a DRAFT ... to your own DM") but nothing is wasted.

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 four-parameter mutation-adjacent tool, the definition covers purpose, the paired follow-up call, validation coupling, and preview lifetime, and the output schema handles return values. Dangling gaps are parameter-level detail and whether the draft is user-visible.

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 0%, and while the description does name all four parameters, it adds meaning only for their required coupling (they must be replayed identically with preview_hash). It says nothing about what thread_ts does or which content_type values are valid beyond the default.

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?

States a specific verb and resource ("Post a DRAFT of a message to your own DM") plus its distinctive output (preview_hash), and explicitly names the sibling it feeds into (conversations_add_message). An agent can distinguish it from conversations_add_message without opening either schema.

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?

Names the alternative explicitly and the exact condition selecting it: sending is conversations_add_message with the same channel_id, text, thread_ts and content_type plus preview_hash. This is a clear use-this-then-that workflow, not inferred guidance.

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