Skip to main content
Glama

Retire Agent

retire_agent

Soft-deletes an agent by marking it retired so it stops accepting new messages while preserving message history; retired agents are hidden from active lists but visible in all-agent views.

Instructions

Soft-delete an agent: mark it as retired so it stops accepting new messages while preserving message history. Retired agents are hidden from active agent lists but visible in 'all agents' views.

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": {
      "project_key": "<project_key>",
      "agent_name": "<agent_name>"
    },
    "name": "retire_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_nameYes
project_keyYes
registration_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.5
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.3.4

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does address the most important behavioral question: what is preserved (message history) and what changes (no new messages accepted, hidden from active lists, still listed in 'all agents'). It leaves gaps around reversibility, idempotency on an already-retired agent, and authorization requirements.

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?

Two tight sentences, front-loaded with the operation and its effect, with no redundant restatement of the title. Every clause adds usable information.

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?

Output schema exists, so return values need not be described, and the core state-change semantics are covered. However, for a mutation tool with zero annotations and zero schema coverage, the description should also clarify how registration_token participates and whether the operation is reversible or fails when already retired.

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 mentions no parameters at all. project_key and agent_name are inferable from their names, but registration_token is left completely unexplained in both schema and description, which is a meaningful gap for a mutation tool requiring 2 of 3 params.

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 specific verb and resource ('Soft-delete an agent') plus a state name ('retired'), and the word 'soft' implicitly contrasts with the hard_delete_agent sibling while 'preserving message history' makes the distinction explicit. It does not name any sibling, so full differentiation is left to inference.

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 use case (an agent that should stop accepting new messages but whose history must survive) is clearly implied, but there is no explicit when-to-use versus deregister_agent or hard_delete_agent, and no stated preconditions such as whether the agent must be idle or whether the caller needs a registration token.

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