Skip to main content
Glama

channels_list

Read-onlyIdempotent

📋 The messaging channels connected to this workspace and whether they are working.

One row per channel account: channel, display_name, status, error, and reconnect_url when the account needs repair. A channel in status 'error' is NOT receiving messages — say so plainly and give the person reconnect_url; it opens the repair directly, so do not tell them to look for it in settings and do not build a link of your own.

An account connected through channels.connect_session carries the external_ref it was started with. An account of this workspace also carries external_id, its id on the platform (two rows with the same display name are the same platform account only when it is equal); with account_id, also username, phone and email where the channel knows them.

An account with chats moved to other workspaces (channels.move_chat) carries moved_chats_total and, for an owner or admin, moved_chats: each workspace, the channel's name there and how many chats. A channel in status 'relay' holds chats another workspace moved here.

Pass only_broken=true to check for outages without listing the healthy channels.

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": "channels_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatsNoWith account_id: that account's chats, synced or NOT (search.threads sees only synced ones). A text finds the chats whose title contains it, e.g. 'showcase' finds 'Server › #showcase' of a big Discord server left out for its size; '*' lists them all. At most 50 per answer, synced first, then by kind and title; `chats_page` says total, has_more and next_offset. Each comes with thread_id, synced, why it is out of sync, member_count, and for a Discord server channel its topic, can_view and can_send (false = this account may not read / post there, null = unknown). Turn one on with threads.update(thread_id=..., synced=true). OMIT otherwise.
account_idNoOne account in detail, with its large_group_threshold (groups this large are left out of sync; change it with channels.sync_settings). For a custom channel this adds whether it is listening or polling, why inbound is down, how many contacts it has, the progress of a history import, a health check and the agents that would answer on it. For Discord: whether the gateway stream is up (connected_at, last event), how many servers, server channels and DMs the account sees, how many chats are synced and the sync scope. OMIT to list the workspace's channels.
only_brokenNotrue = only the accounts that need attention (status 'error'). OMIT to list every channel of the workspace.
chats_offsetNoWith chats: skip this many chats, to read the next page (pass chats_page.next_offset). OMIT for the first page.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / chats / description
      Previous value: -"With account_id: find that account's chats whose title contains this text, synced or NOT (search.threads sees only synced ones), e.g. 'showcase' finds 'Server › #showcase' of a big Discord server left out for its size. Each comes with thread_id, synced, why it is out of sync, member_count, and for a Discord server channel its topic and can_send (false = this account may not post there, null = unknown). Turn one on with threads.update(thread_id=..., synced=true). OMIT otherwise."New value: +"With account_id: that account's chats, synced or NOT (search.threads sees only synced ones). A text finds the chats whose title contains it, e.g. 'showcase' finds 'Server › #showcase' of a big Discord server left out for its size; '*' lists them all. At most 50 per answer, synced first, then by kind and title; `chats_page` says total, has_more and next_offset. Each comes with thread_id, synced, why it is out of sync, member_count, and for a Discord server channel its topic, can_view and can_send (false = this account may not read / post there, null = unknown). Turn one on with threads.update(thread_id=..., synced=true). OMIT otherwise."
    • addedInput schema / properties / chats_offset
      Added value: +{
      +  "description": "With chats: skip this many chats, to read the next page (pass chats_page.next_offset). OMIT for the first page.",
      +  "type": "integer"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / account_id / description
      Previous value: -"One account in detail, with its large_group_threshold (groups this large are left out of sync; change it with channels.sync_settings). For a custom channel this adds whether it is listening or polling, why inbound is down, how many contacts it has, the progress of a history import, a health check and the agents that would answer on it. OMIT to list the workspace's channels."New value: +"One account in detail, with its large_group_threshold (groups this large are left out of sync; change it with channels.sync_settings). For a custom channel this adds whether it is listening or polling, why inbound is down, how many contacts it has, the progress of a history import, a health check and the agents that would answer on it. For Discord: whether the gateway stream is up (connected_at, last event), how many servers, server channels and DMs the account sees, how many chats are synced and the sync scope. OMIT to list the workspace's channels."
    • addedInput schema / properties / chats
      Added value: +{
      +  "description": "With account_id: find that account's chats whose title contains this text, synced or NOT (search.threads sees only synced ones), e.g. 'showcase' finds 'Server › #showcase' of a big Discord server left out for its size. Each comes with thread_id, synced, why it is out of sync, member_count, and for a Discord server channel its topic and can_send (false = this account may not post there, null = unknown). Turn one on with threads.update(thread_id=..., synced=true). OMIT otherwise.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / account_id / description
      Previous value: -"One account in detail. For a custom channel this adds whether it is listening or polling, why inbound is down, how many contacts it has, the progress of a history import, a health check and the agents that would answer on it. OMIT to list the workspace's channels."New value: +"One account in detail, with its large_group_threshold (groups this large are left out of sync; change it with channels.sync_settings). For a custom channel this adds whether it is listening or polling, why inbound is down, how many contacts it has, the progress of a history import, a health check and the agents that would answer on it. OMIT to list the workspace's channels."
  4. Changed1 schema field changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "description": "One account in detail. For a custom channel this adds whether it is listening or polling, why inbound is down, how many contacts it has, the progress of a history import, a health check and the agents that would answer on it. OMIT to list the workspace's channels.",
      +  "type": "integer"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  6. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive, closed-world profile, and the description still adds substantive behavior: what status 'error' means ('NOT receiving messages'), what 'relay' means, that `reconnect_url` opens the repair directly and must not be reconstructed, that `in_workspace` stores nothing and affects no other session, and the 50-per-answer chat cap. That is real context beyond the structured fields.

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?

Purpose is front-loaded and the paragraphs are organized by concern (row fields, error handling, provenance of `external_ref`/`external_id`, moved chats, the `only_broken` shortcut). A few clauses, especially the instruction 'do not tell them to look for it in settings and do not build a link of your own', are agent coaching layered on top of tool semantics and add length.

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?

With no output schema, return-value explanation is the description's job, and it delivers: it enumerates the row fields, the conditional fields per account type, pagination for chats, and status semantics. An agent has everything needed to call it and to interpret the result correctly.

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 the schema already documents all five parameters in depth. The description restates `only_broken` and the listing/detail split without adding syntax or format guidance the schema lacks, so 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?

The opening line names the exact resource and scope: 'The messaging channels connected to this workspace and whether they are working', and 'One row per channel account' pins down the shape. It does not explicitly contrast itself with the sibling tools that return single-account or profile views, so it falls short of the sibling-differentiation bar.

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?

It gives clear when-to-use guidance for the variants: pass `only_broken=true` 'to check for outages without listing the healthy channels', OMIT it to list everything, and `account_id` to get one account in detail. It stops short of naming an alternative tool to use instead for adjacent tasks (e.g. contacts or profile), so no explicit when-not rule exists.

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.