Skip to main content
Glama

shutdown_external_agent

Terminate an external agent by closing its tmux pane, stopping its inbox watcher, removing it from team config, and resetting its tasks.

Instructions

Shut down an external agent by killing its tmux pane/window, stopping its inbox watcher, removing it from team config, and resetting its tasks.

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_name": "<team_name>",
      "agent_name": "<agent_name>"
    },
    "name": "shutdown_external_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
team_nameYes
agent_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a good job: it discloses the four concrete side effects, which is exactly what an agent needs to know before a destructive operation. It stops short of stating irreversibility, permission requirements, or behavior when the agent name is unknown.

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?

A single front-loaded sentence with the action stated first and the side effects following as a list of concrete verbs. No filler or redundant restatement of the tool name.

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?

An output schema exists, so return values need no explanation, and the destructive effects are well covered. However, for a two-required-parameter mutation tool with zero annotation coverage, the missing parameter meaning and failure-mode behavior leave real gaps.

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%, so the description should compensate, but it never mentions team_name or agent_name. The parameters are only inferable from the phrase "external agent" and the tool's domain; nothing clarifies name format, scoping, or what happens on an unrecognized name.

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 names a specific verb and resource ("Shut down an external agent") and enumerates the mechanism (tmux pane, inbox watcher, team config, tasks). It is distinguishable from the sibling spawn_external_agent/check_external_agent by name and effect, though it does not explicitly contrast with them.

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?

Usage is implied rather than stated: the agent must infer that this is the terminal cleanup action for a spawned agent. There is no mention of prerequisites (e.g., whether the agent must be idle), no explicit when-not guidance, and no named alternative such as check_external_agent for inspecting state first.

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