Skip to main content
Glama

team_delete

DestructiveIdempotent

Shut down all teammates and remove a finished team's state directory cleanly, so completed work is cleaned up without leaving stale team data behind.

Instructions

Shut down all teammates and delete a finished team's state directory cleanly.

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": "team_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamYesTeam slug to clean up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description nonetheless adds real blast-radius context beyond the annotations: every teammate is shut down, not just one, and the team state directory is removed. It stops short of saying the deletion is irreversible or what happens to in-flight work.

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?

One front-loaded sentence with the destructive scope stated before the object. The adverb 'cleanly' is the only word that does not carry information.

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 one-parameter destructive tool with destructiveHint and idempotentHint already supplied and no output schema, the description covers what is affected and under what precondition. The main residual gap is the consequence of running it on a non-finished team.

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 coverage is 100% and the single 'team' parameter is documented as 'Team slug to clean up.' The description reinforces that the team must be a finished one, but adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 gives a specific verb pair ('shut down all teammates and delete') against a specific resource ('a finished team's state directory'). An agent can tell this is a full teardown rather than a partial operation, though it never names team_shutdown or team_list as the contrasting siblings.

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?

The qualifier 'finished team's' implies the operation is only appropriate for completed teams, which is implicit usage guidance. There is no explicit when-not-to-use statement, no warning about calling it on an active team, and no pointer to team_shutdown for a narrower operation.

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