Skip to main content
Glama
Slack MCP Server

Slack MCP Server

by mynghn

list_channels

Retrieve accessible public channels in a Slack workspace, with pagination and archived-channel filtering, to locate conversation spaces.

Instructions

List all accessible public channels in the Slack workspace

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of channels to return (default: 100)
cursorNoPagination cursor from previous response
exclude_archivedNoExclude archived channels (default: true)

Output Schema

NameRequiredDescriptionDefault
hasMoreYesWhether more results are available
channelsYesList of channels
nextCursorYesCursor for next page, null if no more results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden, and it does disclose meaningful scope: only public, only 'accessible' channels. It says nothing about authentication requirements, result ordering, rate limits, or that 'all' is actually bounded by pagination defaults — gaps that matter for a tool with a cursor parameter.

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 no filler or redundancy. The only nit is that 'all' is imprecise given the paginated, default-limited behavior in the schema.

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

Completeness3/5

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

For a simple zero-required-parameter read tool with a full output schema, the description covers the essentials of what is returned. It falls short on prerequisites (auth to the workspace) and on clarifying the visibility boundary between public and private channels.

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%, so limit, cursor, and exclude_archived are already documented, including defaults. The description adds no meaning beyond that, and its use of 'all' slightly conflicts with the schema's default limit of 100, so baseline 3 is appropriate.

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?

The description gives a specific verb ('List') plus resource ('channels') and constrains scope to 'accessible public channels in the Slack workspace'. It is clearly distinguishable from siblings like list_users or get_channel_history, though it never names an alternative to contrast with.

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?

There is no explicit guidance on when to use this versus search_messages or get_channel_history, and no stated prerequisites. The only steer is the implicit scope word 'public', which hints that private channels are excluded but does not say what to do when that scope is wrong for the task.

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