Skip to main content
Glama

add_channel_member

DestructiveIdempotent

Add a workspace member to a channel or update an existing member’s role; omitting role sets member, demoting admins. Requires channel:admin and returns membership details.

Instructions

Add a member to a channel, or change the role of one who is already in it: an existing member is overwritten with the role you pass, and omitting role sets member, which demotes a current admin. Use it to seat someone in a private channel; list_channel_members shows the roster and remove_channel_member takes someone out. The channel and the member must both be in your workspace, and a private channel is reachable only by its members. Returns the membership {channel_id, member_id, role, created_at} and writes a channel_member.add audit record. Requires channel:admin.

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>",
      "member_id": "<member_id>"
    },
    "name": "add_channel_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNomember (the default, an ordinary participant) or admin (can manage the channel's membership). Applied to an existing member too, so omitting it on a current admin sets them back to member.member
member_idYesUUID of the member to add. The member must belong to the channel's workspace.
channel_idYesUUID of the channel to add the member to. It must be in your workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv479.0.2
    • addedInput schema / properties / channel_id / description
      Added value: +"UUID of the channel to add the member to. It must be in your workspace."
    • addedInput schema / properties / member_id / description
      Added value: +"UUID of the member to add. The member must belong to the channel's workspace."
    • addedInput schema / properties / role / description
      Added value: +"member (the default, an ordinary participant) or admin (can manage the channel's membership). Applied to an existing member too, so omitting it on a current admin sets them back to member."
  2. First observedv479.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the crucial mechanic behind that: an existing member is overwritten and omitting role silently demotes a current admin. It also discloses the return payload, the channel_member.add audit record, and the required channel:admin scope — context the annotations cannot express.

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?

Three sentences, front-loaded with the primary action, then the overwrite/demotion caveat, then siblings and constraints. No filler, and the most dangerous behavior (silent demotion) appears before the housekeeping details.

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 mutating membership tool with no output schema, the description covers the mutation semantics, preconditions, required permission scope, return shape, and audit side effect. Nothing an agent needs in order to call it safely is missing.

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 100%, so the schema already documents all three parameters including the role enum and default. The description still earns credit for surfacing the non-obvious cross-parameter consequence — that the role default applies to existing members and therefore demotes admins — turning a seemingly optional field into a hazard the agent must consider.

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?

Opens with a specific verb and resource ("Add a member to a channel") and immediately extends it to the dual behavior of role changes on existing members. It explicitly names the differentiating siblings, list_channel_members and remove_channel_member, so an agent can place it against alternatives without opening a schema.

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?

States the positive case (seating someone in a private channel), names the roster and removal tools as the contrasting operations, and gives preconditions: both channel and member must be in your workspace, and a private channel is only reachable by its members. When-to-use, when-to-look-elsewhere, and prerequisites are all present.

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