Skip to main content
Glama

Add a channel

colliedesk_channels_create

Add a channel of a type with its configuration. A workspace may have several of a type (two support mailboxes, two web forms): give each a name that tells them apart; a name or a support address another channel has is refused, and the error names that channel. The first channel of a type is its default; is_default true makes a later one the default. Adding the first email channel connects the support address, like colliedesk_email_channel_update.

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": {
      "type": "<type>"
    },
    "name": "colliedesk_channels_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
typeYes
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.
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.

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/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), it discloses real side effects: name or support-address collisions are refused and the error names the offending channel, adding a channel can silently move the type's default, and the first email channel links the support address just like colliedesk_email_channel_update. It also states the required permission. It does not describe what happens to an existing default's other settings or what the response contains, but the output schema covers returns.

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?

Creation behaviour and constraints are front-loaded in the first sentences, with the Zalo verification walkthrough at the end as secondary detail. The Zalo setup paragraph is lengthy and mostly concerns a follow-up step performed with colliedesk_channels_update, which makes it slightly over-weighted for a create call, though it is not redundant.

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?

For a 7-parameter tool with nested config/settings objects and an output schema, the description covers what an agent needs: permission, uniqueness constraints, default semantics, and the type-specific connection effect. The only gap is the absence of an explicit create-vs-update routing statement, which the sibling reference only hints at.

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?

With schema coverage around 57%, the description usefully adds rules the schema cannot express: the name must be distinguishable when a workspace has multiple channels of one type, and is_default=true transfers the default away from the prior channel. The remaining parameter meaning (enabled, settings, help_center_id) is documented in the schema itself, so the description does not need to repeat it.

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 description opens with a specific verb and resource: 'Add a channel of a type with its configuration', and enumerates the supported types via the schema. It partially differentiates from siblings by pointing at colliedesk_email_channel_update for the first-email-channel connection case, but never states plainly that an existing channel is modified with colliedesk_channels_update rather than this tool.

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 concrete preconditions and context (channels:update permission, uniqueness rules for names and support addresses, the first channel of a type becoming the default, is_default establishing a later default) and cross-references the update tool for the email connection step. It stops short of explicit when-not guidance, e.g. that existing channels should be edited via the update sibling rather than re-created.

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