Skip to main content
Glama

teams_remove_channel_member

Destructive

Remove a user or yourself from a private or shared Microsoft Teams channel by specifying the team, channel ID, and user email, object ID, or "me".

Instructions

Remove someone (or "me") from a private/shared channel (work/school, Graph).

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": {
      "team": "<team>",
      "channel_id": "<channel_id>",
      "user": "<user>"
    },
    "name": "teams_remove_channel_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamYes
userYesEmail/UPN, object id, or "me"
accountNoAccount alias (see teams_accounts). Defaults to the default account.
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuine context beyond that — Graph-backed, work/school tenants only — but says nothing about required permissions, reversibility, notification of the removed user, or what access is lost. That gap matters for a destructive operation.

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?

A single front-loaded sentence with no filler, and the key scope constraints appear immediately. It is slightly over-compressed, relying on parenthetical shorthand ('work/school, Graph', quoted 'me') that leaves some meaning implicit.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world mutation with no output schema and only half its parameters documented, the definition is thin. An agent still cannot determine required privileges, whether removal is reversible, or what errors arise when the user or channel is not found.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 50% schema description coverage, the description should compensate for the undocumented parameters. It only echoes what the schema already says about `user` (the "me" option) and says nothing about `team` or `channel_id` formats (display name vs. ID), which are the parameters most likely to be mis-supplied.

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 gives a specific verb (Remove) and resource (channel member), plus useful scope qualifiers: 'private/shared channel' and 'work/school, Graph.' This distinguishes it from chat/team member removal by resource, though it never names those siblings explicitly.

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?

Implied usage only: the 'private/shared' qualifier hints that standard channels may not be supported, and "me" signals self-removal is allowed. There is no explicit when-to-use vs. teams_remove_chat_member / teams_remove_team_member guidance and no stated prerequisites (ownership, membership, admin role).

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