Skip to main content
Glama

read_channel

Read-only

Read one Slack channel's recent message history (conversations.history) — channel accepts a channel/group id (C…/G…), a DM conversation id (D…), or '#name'. Read-only: it never opens or creates a DM, so a user id (U…) or 'me' is refused; pass a DM's D… id instead. After reconnect grants user-token channels:history/groups:history, channels the person belongs to can be read even when the bot is absent; older connections still use the bot. Person-to-person DMs use user-token im:history, with the bot as fallback. Pass account when more than one workspace is connected. Slack caps this method at 15 messages per request and 1 request per minute per workspace — request small limits and respect the named retry delay after a rate-limit failure. To read a message's thread, pass its external_id (channel:ts) as read_thread's channel. If this fails saying the bot is not in the channel, the user has to reconnect the workspace once (or invite the bot) — retrying will not help.

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": "<channel>"
    },
    "name": "read_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages (default 20).
latestNoOnly messages before this ts (exclusive).
oldestNoOnly messages after this ts (exclusive).
accountNoWorkspace label. Required when several history-capable workspaces are connected.
channelYesChannel/group id (C…/G…), DM conversation id (D…), or '#name' (see search_channels). A search hit's external_id ('C…:ts') or a Slack message link is also accepted — the channel is taken from it. A user id (U…) or 'me' is refused — reading never opens a DM; pass the DM's D… id (e.g. from a search_messages hit's external_id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / channel / description
      Previous value: -"Channel/group id (C…/G…), DM conversation id (D…), or '#name' (see search_channels). A user id (U…) or 'me' is refused — reading never opens a DM; pass the DM's D… id (e.g. from a search_messages hit's external_id)."New value: +"Channel/group id (C…/G…), DM conversation id (D…), or '#name' (see search_channels). A search hit's external_id ('C…:ts') or a Slack message link is also accepted — the channel is taken from it. A user id (U…) or 'me' is refused — reading never opens a DM; pass the DM's D… id (e.g. from a search_messages hit's external_id)."
  2. Changed1 schema field changed
    • changedInput schema / properties / channel / description
      Previous value: -"Channel id, '#name', or 'me' (see search_channels / list_accounts)."New value: +"Channel/group id (C…/G…), DM conversation id (D…), or '#name' (see search_channels). A user id (U…) or 'me' is refused — reading never opens a DM; pass the DM's D… id (e.g. from a search_messages hit's external_id)."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint=true, it discloses substantial behavior: it never opens or creates a DM, user-token channels:history/groups:history are used after reconnect while older connections use the bot, person DMs use im:history with bot fallback, and it states hard rate limits (15 messages per request, 1 request per minute per workspace) with a named retry delay.

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?

Purpose and scope are front-loaded and every sentence carries operational information, but the single dense paragraph packs rate limits, token behavior, cross-tool routing, and failure remediation together in a fairly run-on flow. It could be split for scanability without losing content.

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?

There is no output schema, but the description needn't describe return values for a passthrough history read; what an agent must know — accepted id forms, auth model, rate limits, account selection, and the not-in-channel recovery path — is all present. Nothing material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds real value by warning that Slack caps requests at 15 messages despite the schema's maximum of 200, and by tying `channel` to read_thread's parameter. It largely restates the schema's channel-id rules and says slightly less about `account` than the schema does, keeping it below a 5.

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?

Opens with a specific verb and resource ('Read one Slack channel's recent message history') and even names the underlying Slack method (conversations.history). It explicitly distinguishes itself from read_thread by explaining that threads require passing a message's external_id to that tool instead.

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?

Gives explicit routing rules: use read_thread for a message's thread, pass `account` when multiple workspaces are connected, and pass a DM's D… id rather than a U… id or 'me'. It also names a failure mode (bot not in channel) and states that retrying won't help, which is actionable when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources