Skip to main content
Glama

teams_delete_channel

Destructive

Deletes a Microsoft Teams work or school channel by team and channel ID, removing it from the team.

Instructions

Delete a channel (work/school, Graph).

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>",
      "channel_id": "<channel_id>"
    },
    "name": "teams_delete_channel"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/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 destructive nature is covered structurally. The description only adds that this applies to work/school accounts via Graph, without saying whether the deletion is permanent, what happens to channel messages and files, or what permissions are required — meaningful gaps for an irreversible mutation.

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 short sentence with the verb and scope front-loaded and no filler. It is efficiently written, though its brevity is achieved partly by omitting necessary detail rather than by tight editing.

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 weak parameter documentation, the definition is too thin. It leaves the agent without permission requirements, irreversibility, or identifier format guidance — all things the description must carry when annotations only flag the safety profile.

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%, with just the optional account parameter documented. The description says nothing about the two required parameters (team and channel_id) — whether team takes a name or ID, or what format channel_id expects — so it fails to compensate for the low 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?

States a specific verb and resource ("Delete a channel") and adds platform scope ("work/school, Graph"), which distinguishes it from chat or team operations. It does not explicitly separate it from adjacent siblings like teams_leave_channel or teams_archive_team, so it stops short of full sibling differentiation.

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?

No when-to-use guidance, no prerequisites, and no named alternative. The definition never says when to delete a channel versus leaving it or archiving the parent team, leaving the agent to infer the choice from the name alone.

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