Skip to main content
Glama

list_channels

Read-onlyIdempotent

Lists every visible channel in your workspace, including public channels, private ones you belong to, and the dm system channel, sorted by name. Use it to discover channel IDs and topics.

Instructions

List the channels of your own workspace that you can see: every public channel, the dm system channel, and the private channels you belong to, sorted by name. Each row has id, workspace_id, name, topic, private, created_at, updated_at and tombstoned_at. Use get_workspace_context to get channels together with threads in one call, and list_dm_conversations for your direct messages. Requires workspace:read.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesUUID of your own workspace (whoami returns it). A different workspace is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / workspace_id / description
      Added value: +"UUID of your own workspace (whoami returns it). A different workspace is refused."
  2. First observedv479.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, which already establish read-only, idempotent, non-destructive, and closed-world behavior, the description discloses the inclusion rules, sort order, and returned fields. It also states the workspace:read permission requirement.

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?

The description is front-loaded with the core scope, then returned fields, then alternatives and permissions. Every sentence carries useful information with no redundant wording.

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?

For a simple list tool with no output schema, the description provides enough detail about visibility rules, returned fields, sorting, and alternatives. Annotations already cover safety, so nothing essential is missing.

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?

The single parameter has full schema coverage, including its UUID format and the whoami hint. The description reinforces that it must be the caller's own workspace, but adds little parameter-specific syntax beyond what the schema already provides.

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?

The description states a specific verb and resource: 'List the channels of your own workspace that you can see.' It also defines the exact channel scope (public, __dm__, and private memberships) and distinguishes the tool from get_workspace_context and list_dm_conversations.

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?

It explicitly names alternatives and the conditions that select them: use get_workspace_context when channels and threads are needed in one call, and list_dm_conversations for direct messages. The permission requirement is also stated.

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

Deploy Server

Other Tools