Skip to main content
Glama

remove_channel_member

DestructiveIdempotent

Deletes a member’s channel membership row to revoke access to a private channel and records an audit entry. Use it when removing a member from a channel; requires channel admin.

Instructions

Delete a member's membership row from a channel, which is what gates access to a private channel, and write a channel_member.remove audit record. It returns {ok: true} even when the member held no row. The member must belong to the channel's workspace, otherwise the call returns not found. To add or re-role a member use add_channel_member, and to see current members use list_channel_members. 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": "remove_channel_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
member_idYesUUID of the member whose membership row to delete. It must be a member of the same workspace as the channel.
channel_idYesUUID of the channel to remove the member from. It must belong to the caller's workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / channel_id / description
      Added value: +"UUID of the channel to remove the member from. It must belong to the caller's workspace."
    • addedInput schema / properties / member_id / description
      Added value: +"UUID of the member whose membership row to delete. It must be a member of the same workspace as the channel."
  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?

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses that a channel_member.remove audit record is written, that {ok: true} is returned even when no row existed, and that cross-workspace members produce a not-found error. These are non-obvious behavioral and error details the agent could not get from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and its access implication are front-loaded, followed by return/idempotency behavior, eligibility error, sibling routing, and the permission requirement. Each sentence adds a distinct operational fact with no filler.

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?

There is no output schema, yet the description supplies the return value shape, the idempotent-return case, the not-found error condition, and the required permission scope. Nothing an agent needs to invoke this destructive tool correctly 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 baseline is 3, but the description adds the error semantics of the membership constraint ('must belong to the channel's workspace, otherwise the call returns not found'), which the schema only states as a condition without the failure behavior. This meaningfully extends the parameters beyond their schema text.

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 names a specific verb and resource ('Delete a member's membership row from a channel') and goes further by explaining the consequence ('which is what gates access to a private channel') and the audit side effect. It explicitly distinguishes itself from add_channel_member and list_channel_members, so an agent can route without opening schemas.

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 states exactly when to use this tool versus alternatives: add_channel_member for adding or re-roling, list_channel_members for viewing. It also gives prerequisites (channel:admin) and an eligibility exclusion (members outside the channel's workspace yield not found), leaving nothing to inference.

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