Skip to main content
Glama
Cursor Slack Chat

Cursor Slack Chat

by CanonSystems

slack_get_channel_history_extended

Retrieves recent messages from a Slack channel, including private channels, by channel ID with a configurable limit. Use it to read channel history and review recent conversations directly from your IDE.

Instructions

Get recent messages from a channel (works with private channels)

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of messages to retrieve (default: 20)
channel_idYesThe ID of the channel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It does disclose a meaningful behavior trait — private-channel support — but says nothing about message ordering (newest first?), pagination, or whether threaded replies are included, all of which affect how results are interpreted.

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 short sentence with the core action front-loaded and no filler. The trailing parenthetical is slightly informal but earns its place by clarifying private-channel support.

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 simple two-parameter read, but with no annotations and no output schema, the description leaves the agent without ordering semantics, pagination behavior, or any hint of what each message contains. It covers the minimum needed to invoke the tool but not much beyond.

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 100%, so both channel_id and the limit default are already documented in the schema. The description adds no extra parameter meaning such as ID format or limit bounds, so the 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 and resource ('Get recent messages from a channel') rather than restating the name. The private-channel parenthetical adds scope. It does not explicitly distinguish itself from the sibling slack_get_thread_replies_extended, so it falls short of 5.

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

Usage Guidelines3/5

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

Usage is only implied: fetch recent channel messages, and private channels are in scope. There is no explicit guidance on when to prefer this over slack_get_thread_replies_extended or slack_find_channel, and no stated prerequisites such as channel membership or bot access.

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