Skip to main content
Glama

Change a channel

colliedesk_channels_update
Idempotent

Rename a channel, make it its type's default (is_default true: what names no channel goes to it), turn it on or off, or change its configuration or its rules (settings). While a channel is off it receives nothing: what arrives is held for a person to open or discard (the web form instead answers as if it did not exist), and replies are saved but not sent until it is on again. processing_paused true pauses a Zalo channel's processing (what arrives waits in its journal as it came, nothing is decided, opened or sent), false resumes it: what arrived is then processed in order by its rules. It is safe to repeat.

Needs: channels:update.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "colliedesk_channels_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
configNoThe type's configuration: email {support_address, sender_name}; web_form {allowed_origins}; help_chat {greeting, suggestions (at most 4), instructions, widget_origins}; zalo {oa_id, app_id (both to add one), staff_user_ids, groups (group id to organization), site_verification (the code Zalo gives the app's URL prefix with the HTML file method; the meta tag or file name may be given; empty clears it)}. Setting up Zalo: Zalo takes the webhook only on a verified address, so give the person the channel's verification_prefix_url to verify in the Zalo app (URL prefix, HTML file method), set the code Zalo shows as site_verification with colliedesk_channels_update, then give them webhook_url for the app's webhook settings.
enabledNo
settingsNoThe channel's rules over its type's defaults: join_policy {kind: always_reopen, within_days with days, never}, default_tags, default_priority, default_assignee_id, rate_limits {window_seconds, per_sender, new_conversations, scope}, commands (name to {action, phrases, tags, priority}), review, scopes, notices {received}. Never a secret.
channel_idYesFrom colliedesk_channels_list.
is_defaultNotrue makes the channel its type's default; the one that was loses it.
help_center_idNoHelp chat and web form only: the help center it serves (from colliedesk_help_centers_list); null or left out serves the primary. A help chat answers from that help center's articles alone, and its conversations show its name.
processing_pausedNotrue pauses the channel's processing, false resumes it (Zalo channels only).

Output Schema

NameRequiredDescriptionDefault
channelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / help_center_id
      Added value: +{
      +  "description": "Help chat and web form only: the help center it serves (from colliedesk_help_centers_list); null or left out serves the primary. A help chat answers from that help center's articles alone, and its conversations show its name.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Well beyond the annotations, it explains the operational consequences of each toggle: an off channel receives nothing, holds arrivals for a person to open or discard, answers the web form as if nonexistent, and queues replies unsent. It also details what processing_paused does for Zalo channels and confirms repeat-safety, which reinforces idempotentHint with concrete meaning.

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?

Front-loaded with the mutation surface, then behavioral consequences, then the permission requirement. Sentences are long and dense but each carries information; the Zalo processing explanation is the closest thing to bloat, though it is genuinely non-obvious.

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 an output schema and annotations already present, the description covers nearly everything an agent needs. The remaining gap is partial-update semantics: it never says that omitted fields are left untouched (minProperties 2, additionalProperties false), which matters for a patch-style tool.

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 75% and already rich, but the description adds real meaning for the ambiguous booleans, especially the consequence of enabled=false and the Zalo-only scope of processing_paused. It adds less for config and settings, whose nested semantics are already spelled out in the schema.

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 opens with a specific verb and enumerates exactly which attributes can change: name, is_default, enabled, config, settings. That enumeration distinguishes it cleanly from siblings like colliedesk_channels_create, colliedesk_channels_get and colliedesk_channels_delete without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the required permission (channels:update) and implies usage through the field enumeration, but never says when to prefer this tool over a sibling such as colliedesk_email_channel_update or colliedesk_channels_credentials_set, nor when not to use it. Guidance is inferable rather than explicit.

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.

Resources