Skip to main content
Glama

teams_respond_community_invitation

Destructive

Accept or decline invitations to Microsoft Teams free communities for personal accounts, enabling users to join or reject community access.

Instructions

Accept or decline an invitation to 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>",
      "accept": "<accept>"
    },
    "name": "teams_respond_community_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
acceptYes
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

B3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety burden is partly carried structurally, and the description does add the genuinely useful constraint that this only applies to free-community personal accounts. However, for a destructive mutation it says nothing about consequences: whether declining is reversible, whether accepting grants ongoing membership, what happens to the inviter, or what permissions are needed.

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?

A single sentence with zero filler, front-loading the verb and the resource, followed immediately by the account-type constraint. Nothing could be removed without losing meaning.

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 3-parameter destructive mutation with one-third schema coverage and no output schema, the description is too thin. An agent still cannot tell from the definition alone how to express 'decline' via the boolean, what the invitation source is, or what state changes result from each branch.

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 description coverage is only 33%, so the description needs to compensate and does not. It never explains that accept=true accepts and accept=false declines, and it says nothing about community_id. Only the account parameter is documented, and that documentation lives in the schema, not the description.

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 states a specific verb pair (accept or decline) and a specific resource (an invitation to a Teams free community), which is enough to separate this from listing tools like teams_list_community_invitations or from teams_leave_community. The parenthetical '(personal accounts)' further narrows the scope. It stops short of naming an alternative sibling outright, so it does not reach 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?

Usage is only implied: an agent can infer it should call this on an existing invitation rather than to request or leave membership. There is no explicit 'use this when…' statement, no prerequisite that the invitation must already exist or be listed via teams_list_community_invitations, and no pointer to teams_request_join_community or teams_leave_community as alternatives.

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