Skip to main content
Glama

Hard Delete Agent

hard_delete_agent

Permanently erase an agent and all associated messages, recipient records, reservations, links, identities, and archive files; requires exact confirmation 'I UNDERSTAND'.

Instructions

IRREVERSIBLY delete an agent and ALL associated data: messages sent by the agent, message recipient records, file reservations, agent links, window identities, and on-disk archive files (inbox, outbox, attachments). This is NOT soft-delete — data is permanently destroyed and cannot be recovered. Requires the confirmation parameter to be exactly 'I UNDERSTAND'.

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

Input Schema

NameRequiredDescriptionDefault
agent_nameYes
project_keyYes
confirmationYes
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

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does the most important part well: irreversibility, the full blast radius of destroyed data including on-disk files, and an exact confirmation token. It is silent on authorization requirements and on why registration_token exists, which matters for a mutation of this severity. Solid but not complete for a no-annotation destructive tool.

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?

Three sentences, front-loaded with the all-caps irreversibility warning, then the cascade list, then the safety gate. No wasted wording and the highest-risk information appears first.

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?

An output schema exists, so return values need no explanation, and the destructive behavior is well covered. The only real gap is the unexplained registration_token parameter and any note about who may invoke this.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It adds critical semantics for confirmation (must be exactly 'I UNDERSTAND'), which the schema would otherwise leave ambiguous. project_key and agent_name are self-evident, but registration_token is never explained anywhere.

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?

States a specific verb and resource ('IRREVERSIBLY delete an agent') and enumerates the exact cascade: messages, recipient records, file reservations, agent links, window identities, and on-disk archive files. The 'NOT soft-delete' clause distinguishes it from recoverable siblings like deregister_agent or retire_agent without needing their schemas.

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?

Explicitly frames when this tool applies versus a soft-delete path and makes the destructive bar high ('permanently destroyed and cannot be recovered'). It stops short of naming the recommended lighter-weight alternatives (deregister_agent, retire_agent), leaving the agent to infer which sibling handles the reversible case.

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