Skip to main content
Glama

teams_leave_community

Destructive

Leaves a Microsoft Teams free community for personal accounts using a community ID, removing the specified account from that community.

Instructions

Leave a Teams free community (personal accounts).

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": {
      "community_id": "<community_id>"
    },
    "name": "teams_leave_community"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount alias (see teams_accounts). Defaults to the default account.
community_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the safety profile is known. The description contributes the meaningful constraint that this applies only to free communities on personal accounts, which is not in the schema or annotations, but it says nothing about consequences of leaving, effects on membership data, or rejoin behavior.

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 tight sentence with the scope qualifier parenthesized at the end — no filler. It is arguably too terse for a destructive tool, but there is no redundant or front-loaded padding to trim.

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 an undocumented required parameter, the description is too thin. It should at minimum indicate how to obtain community_id and what leaving implies for the caller's membership state.

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?

Schema coverage is only 50%, and the undocumented parameter is community_id, the sole required one. The description does not clarify what identifier form is expected or where to obtain it (e.g., from teams_get_community or teams_list_community_members), leaving a real gap.

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?

States a specific verb and resource ('Leave a Teams free community') and adds a scope qualifier ('personal accounts'), which separates it from sibling tools like teams_leave_channel and teams_leave_chat by target object. It does not, however, contrast itself with other community-level operations such as invitation or join-request tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to call this versus alternatives (for example, whether it is equivalent to declining an invitation or removing oneself from a roster), no prerequisites, and no note on whether the action is reversible or whether re-joining is possible.

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