Skip to main content
Glama

team_shutdown

Idempotent

Shut down a spawned teammate or all teammates gracefully, with an optional reason, so coordinated agent-team work can end cleanly.

Instructions

Gracefully shut down a spawned teammate (or pass name='all' to shut down all teammates).

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

Input Schema

NameRequiredDescriptionDefault
nameYesMember short name, or 'all' to shut down all teammates.
teamYes
reasonNoTask complete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare non-read-only, non-destructive, idempotent behavior, so the description's only addition is the word 'gracefully', which hints at a soft/ordered shutdown without explaining what that means. It does not say what happens to in-flight tasks or to the teammate's state, nor whether the required 'team' parameter scopes the operation, which is significant for a mutation tool.

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 no wasted clauses; the parenthetical for the bulk case is efficient. It is lean to the point of under-specification, but nothing in the text is redundant.

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?

Short and readable, but for a required-parameter mutation tool with no output schema and a completely undocumented 'team' argument, an agent still cannot tell what the call scopes or returns. The description leaves more of the contract to the schema than the schema actually covers.

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 33%: only 'name' is documented, and the description merely restates the 'all' sentinel already present in the schema. The required 'team' parameter has no description anywhere, and 'reason' (default 'Task complete') is never explained in the description.

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 concrete verb and object ('shut down a spawned teammate') and specifies the bulk scope via name='all'. It implicitly pairs with team_spawn/team_create by saying 'spawned teammate', but it never explicitly contrasts itself with team_delete, the most likely confusable sibling.

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 phrase 'spawned teammate' implies the precondition (the member must already exist) and the 'all' form gives a bulk context. There is no explicit when-to-use versus when-not guidance, and the boundary with team_delete is left entirely to inference.

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