Skip to main content
Glama

list_slack_channels

Read-onlyIdempotent

List joined channels for one Slack integration in the active workspace. Returns channel ids and names plus nextCursor when more pages exist. Use a returned id as platformData.slack.channelId and bind platformData.slack.integrationId to accountId; include that accountId in accountIds when scheduling text or links. CAPABILITY: read: side-effect-free.

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": {
      "accountId": "<accountId>"
    },
    "name": "list_slack_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor: the nextCursor from the previous page. Omit for the first page.
accountIdYesSlack integration id from list_integrations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / accountId / description
      Added value: +"Slack integration id from list_integrations."
    • addedInput schema / properties / cursor / description
      Added value: +"Pagination cursor: the nextCursor from the previous page. Omit for the first page."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered and the 'CAPABILITY: read: side-effect-free' line largely restates it. Beyond that, the description adds real behavioral context: it returns channel ids and names, emits nextCursor when more pages exist, and is limited to the active workspace and joined channels. Return richness beyond that is undocumented, but no output schema exists to carry it.

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?

Three compact sentences, front-loaded with what the tool does and then the two things an agent needs downstream. Little waste, though the trailing 'CAPABILITY: read: side-effect-free' clause duplicates what the readOnlyHint annotation already states and could be dropped without loss.

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?

With no output schema, the description carries the burden of describing returns and does: ids, names, and nextCursor for pagination, plus the paging cursor contract in the schema. For a two-parameter read tool this is nearly complete. Minor omissions: no page size, no note on whether unjoined/private channels are excluded or what an empty result looks like.

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 earns an extra point by explaining the semantics of accountId beyond the schema's 'Slack integration id from list_integrations': it tells the agent this value maps onto platformData.slack.integrationId and must also be passed in accountIds when scheduling. The cursor param is left entirely to the schema, which is acceptable given its clear description.

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+resource with scope: 'List joined channels for one Slack integration in the active workspace.' The 'joined' qualifier and the single-integration scoping distinguish it from a generic channel enumerator or from list_integrations, which it names as the source of accountId. No direct competing sibling is named, so it falls short of a 5.

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?

Gives concrete downstream usage: use a returned id as platformData.slack.channelId, bind platformData.slack.integrationId to accountId, and include that accountId in accountIds when scheduling text or links. That is clear context for when this tool is the right call. It stops short of explicit exclusions (e.g., what to do for channels the bot hasn't joined).

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.