Skip to main content
Glama

teams_archive_team

Destructive

Archive or unarchive a Microsoft Teams work or school team to control availability and access; intended for team owners.

Instructions

Archive or unarchive 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>"
    },
    "name": "teams_archive_team"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the mutation risk is disclosed structurally. The description adds useful context beyond that — owner-level permission required, Graph-backed, and limited to work/school teams — but omits the default behavior (archived defaults to true, so omitting the flag archives) and what side effects archiving has on members or channels.

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 the constraints compressed into one parenthetical; nothing is wasted. It is arguably too terse given the undocumented parameters, but the structure itself is clean.

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 destructive, three-parameter mutation with no output schema and sparse schema descriptions, this is close to the minimum viable. Safety framing comes from annotations, but the description should say what identifier format `team` expects and confirm that unarchiving fully restores the prior 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 33%: the `team` and `archived` parameters carry no schema description at all. The description implies the binary archive/unarchive semantics but never states whether `team` takes a Graph ID, display name, or email, and it does not mention that `archived` defaults to true — the single most consequential detail for correct invocation.

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 pairs a specific verb pair (archive/unarchive) with the resource (a team), which is unambiguous and differentiable from siblings like teams_delete_channel or teams_update_team. It does not explicitly name an alternative, but the action itself is distinct enough that an agent won't confuse it with update or delete.

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?

"owners only" supplies a real prerequisite for invocation, and "work/school" scopes it away from personal accounts. However, there is no explicit when-to-use versus when-not-to-use guidance — nothing says to use teams_delete_channel or a destructive delete instead of archiving, nor what happens if the caller is not an owner.

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