Skip to main content
Glama

Delete team

team_delete
DestructiveIdempotent

Delete a team as its owner. Memberships and team artifact links are removed; artifacts remain. Refused TEAM_HAS_PLAN while the team is on a paid plan (a cancelled plan counts until its period ends); the team's owner or an admin cancels it in Billing, in the dashboard.

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": {
      "id": "<id>"
    },
    "name": "team_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe team: its id or slug.
whyNoOptional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on the goal this change serves. At most 300 characters.

Output Schema

NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed3 schema fields changed
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "The team: its id or slug.",
      +  "maxLength": 300,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / team
      Removed value: -{
      -  "description": "The team: its id or slug.",
      -  "maxLength": 300,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "team"
      -]New value: +[
      +  "id"
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so safety is covered; the description goes beyond them by disclosing exact side effects (memberships and team artifact links removed, artifacts themselves survive) and the plan-based refusal gate with its error code.

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?

Three sentences, front-loaded with the action and actor, then side effects, then the blocking condition and who can clear it. No redundant restatement of the name or of annotation data.

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

Completeness5/5

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

For a destructive, two-parameter tool with an output schema and rich annotations, the description supplies everything an agent needs before calling: who may call it, what is destroyed versus preserved, and how to recover from the one documented failure mode.

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 100%, so both the id (id or slug) and the optional why field are already fully documented in the schema. The description adds no formatting or semantic detail beyond that baseline, which is acceptable at full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 team") plus the permission scope ("as its owner"), which separates it from team_leave and the other team_* siblings without needing their schemas.

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

Usage Guidelines4/5

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

Gives a clear when-not condition with the exact refusal code (TEAM_HAS_PLAN while on a paid plan, cancelled plans counting until period end) and the remediation path (owner or admin cancels in Billing in the dashboard). It stops short of naming a sibling alternative for non-owners, so it is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.