Skip to main content
Glama

List channels

list_channels
Read-only

Discover all Mattermost channels you belong to, including public, private, DMs, and group DMs. Filter by team or name substring to find the exact channels for use with other tools.

Instructions

List channels the authenticated user is a member of: public (#), private, DMs (@user) and group DMs. Use this to discover channel names to pass to other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamNoTeam name to restrict to; omit to include all my teams
filterNoCase-insensitive substring match on channel name / display name / DM partner
include_dmsNoInclude DM and group DM channels (default true)
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful scoping context (authenticated user's memberships, including DMs and group DMs), but does not describe output shape, pagination, or ordering behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no filler. The core action and scope are front-loaded, and the use case is stated economically.

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?

The tool is simple, read-only, and fully documented via parameter schemas. The description clearly conveys what is listed and why. It would be slightly stronger if it explicitly mentioned what the response includes (e.g., channel IDs), but the stated use case implies that.

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?

All three parameters already have descriptive entries in the schema, so schema coverage is 100%. The description does not add new parameter-level meaning beyond the schema, so the baseline score of 3 applies.

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 ('List') and resource ('channels the authenticated user is a member of'), and enumerates the channel types covered. It clearly differentiates from siblings like list_teams and get_channel_history by focusing on membership and the channel discovery use case.

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?

Provides explicit usage guidance: 'Use this to discover channel names to pass to other tools.' This gives a clear context for when the tool is appropriate, though it does not name alternatives or state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shin6949/mattermost-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server