Skip to main content
Glama

teams_join_team

Destructive

Join a public Microsoft Teams team or request access to a private one; set cancel to true to withdraw a pending join request for work or school accounts.

Instructions

Join a public team or ask to join a private one; cancel: true withdraws your pending request (work/school 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": {
      "team_group_id": "<team_group_id>"
    },
    "name": "teams_join_team"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=true), the description discloses two behaviors that matter: private teams produce a pending request rather than instant membership, and cancel: true withdraws that request. It also scopes the tool to work/school accounts, implying personal accounts are unsupported. It does not say what a successful join returns or whether re-joining is idempotent.

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 compact sentence with the primary action first and the cancel behavior seconded; every clause adds information and nothing is wasted.

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

Completeness4/5

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

For a three-parameter tool with no output schema, the description covers the essential behavioral distinction and the non-obvious cancel flag. The main remaining gap is where team_group_id comes from and what state the team is left in after a successful join.

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 description coverage is only 33%, so the description must carry weight. It fully explains the cancel parameter's meaning, which the schema leaves bare, but says nothing about team_group_id's format or how to obtain it (e.g., from teams_get_team or teams_list_team_members). Partial compensation for a low-coverage schema.

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 uses a specific verb+resource ("Join a ... team") and distinguishes two behaviors: direct join for public teams versus a join request for private teams. It does not explicitly name a sibling alternative, but the public/private split makes the action unambiguous.

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 implied rather than stated: use it to join a team, and pass cancel: true to withdraw a pending request. There is no explicit when-not-to-use guidance or reference to related tools such as teams_handle_join_requests or teams_request_join_community, which handle adjacent flows.

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