Skip to main content
Glama

cancel_team

Destructive

Cancel all queued or running workers in a multi-agent team. Provide the team_id to halt pending and active tasks immediately.

Instructions

Cancel all queued or running workers in a multi-agent team.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
team_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is covered. The description adds a useful boundary by specifying only queued or running workers are affected, but it does not explain subsequent team state, partial cancellation behavior, or whether cancellation is irreversible.

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?

One sentence, front-loaded with the action and scope, with no filler or repetition. Every word contributes to the meaning.

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 one-parameter destructive action with annotations present, the core behavior is covered. However, the missing parameter guidance and lack of any output/return information keep it from being fully self-contained for an agent.

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 0%, and the description never mentions team_id, its format, or where to obtain it. The parameter name is fairly self-explanatory, so there is minimal implicit meaning, but the description does not sufficiently compensate for the absent schema documentation.

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?

The description uses a specific verb ('cancel') and precisely names the affected resource ('all queued or running workers in a multi-agent team'). It also distinguishes itself from the sibling tool cancel_run by operating at the team/worker level rather than a single run.

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?

The description gives clear context for when to use the tool: when the entire team's pending or in-flight workers need to be cancelled. It does not explicitly name alternatives like cancel_run or state when not to use it, so it stops short of full routing guidance.

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