Skip to main content
Glama

Hard Delete Project

hard_delete_project

Permanently delete a project and all associated agents, messages, files, and archive data when full removal is required; this irreversible action requires the exact confirmation string 'I UNDERSTAND'.

Instructions

IRREVERSIBLY delete a project and ALL associated data: every agent, message, message recipient, file reservation, agent link, window identity, message summary, sibling suggestion, product link, and the entire on-disk project archive directory. 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>",
      "confirmation": "<confirmation>"
    },
    "name": "hard_delete_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.1/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 well: it discloses irreversibility, enumerates the exact entity types and on-disk directory that are destroyed, and warns recovery is impossible. Gaps remain on permission/authorization requirements and on what happens if confirmation is wrong or the project doesn't exist, which matters for a destructive call.

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?

Front-loads the destructive verb and the irreversibility warning, then the confirmation requirement. The long enumeration of destroyed entity types is verbose but earns its space by conveying blast radius; two sentences total with no filler.

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?

Return values are covered by the existing output schema and destruction scope is thoroughly described, so the definition is largely callable as written. The unexplained registration_token and the absence of any authorization note are the remaining shortfalls for a high-risk destructive tool.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must supply meaning; it does the most important part by specifying the exact literal required for the 'confirmation' parameter. However, 'project_key' and especially 'registration_token' (an anyOf string|null defaulting to null) are never explained, leaving an agent to guess whether a token is needed for this operation.

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?

Names a specific verb and resource ('IRREVERSIBLY delete a project') and immediately scopes it as total destruction of all associated data plus the on-disk archive. The explicit 'This is NOT soft-delete' line separates it from archive_project-class siblings without ambiguity.

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?

States the condition for use (permanent destruction, unrecoverable) and a hard precondition (confirmation must equal 'I UNDERSTAND'), which is strong context. It stops short of naming a safe alternative such as archive_project for agents that only want to retire a project, so routing is implied rather than spelled out.

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