Skip to main content
Glama

teams_remove_team_member

Destructive

Removes a member from a Microsoft Teams work or school team using the team and user email/UPN or object ID; intended for team owners managing membership.

Instructions

Remove someone from a team (work/school, Graph, owners only).

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>",
      "user": "<user>"
    },
    "name": "teams_remove_team_member"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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's real contribution is the 'owners only' permission gate and the work/school scope. It does not say that only the membership is removed (not the user account), nor whether the action is reversible.

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 a compact qualifier parenthetical — no wasted words. The telegraphic style ('Graph, owners only') is efficient but slightly cryptic for an agent unfamiliar with the shorthand.

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

Completeness3/5

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

For a small, three-parameter destructive mutation the description covers the key gate (owner-only) and the account scope. Gaps remain on the expected 'team' identifier format and on what exactly the caller gets back, which matter because there is no output schema to fall back on.

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

Parameters3/5

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

Schema coverage is 67%: 'user' and 'account' are described, but 'team' has no schema description and the tool description does not clarify whether it wants an id, display name, or mail alias. The description adds no parameter-level detail beyond what the schema already carries, consistent with the baseline 3 for moderate coverage.

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?

Concrete verb plus resource ('Remove someone from a team'), and 'team' implicitly separates it from the channel-member and chat-member siblings. It never explicitly says how it differs from teams_remove_channel_member or teams_remove_chat_member, so it falls short of a 5.

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?

The 'owners only' clause and 'work/school' qualifier tell the agent when the call is valid and which tenant types it applies to. No alternative tool or fallback path is named, and required preconditions beyond owner status (e.g. admin consent) are left 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