Skip to main content
Glama

remove

Destructive

Stops a running caged agent by agent ID, then deletes its record and artifacts to clean up session resources.

Instructions

Stop a caged agent if it is still running, then delete its record and artifacts.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The destructiveHint annotation already flags risk, and the description adds real value beyond it by disclosing the ordering (stop first, then delete) and the exact scope of destruction: both the record and the artifacts. It omits irreversibility and any permission requirements, which keeps it from a 5.

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 sentence that front-loads the conditional stop behavior before the deletion, with no filler. Every clause carries information an agent needs.

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 an output schema, the description covers the important behavioral facts: sequencing and the extent of removal. The remaining gap is what happens on failure (for example, a non-running or nonexistent agent) and the missing parameter explanation.

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?

There is one parameter (agent_id) with 0% schema description coverage, so the description carries the full burden and does not name or explain the identifier at all. 'A caged agent' only vaguely implies which agent is targeted, leaving the parameter's format and source undocumented.

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 concrete verb sequence (stop, then delete record and artifacts) on a specific resource (a caged agent), which is far more informative than the generic name 'remove'. It does not explicitly contrast with siblings like 'rip' or 'resurrect', so it stops short of 5.

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 only implied – the conditional 'if it is still running' hints at the lifecycle state where this applies, but there is no statement of when to prefer this over stopping or discarding an agent another way. The agent must infer the when-to-use case from the destructive wording.

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