Skip to main content
Glama

Delete project forever

purge_project
DestructiveIdempotent

Permanently removes a deleted project and its files to free storage; run delete_project first. Keeps learned decisions in the log unless forgetDecisions is true.

Instructions

Permanently remove a deleted project and its files so the storage is freed (find it with list_deleted or list_projects deleted: true). Minutes, hourly creates and first-video-free are not refunded. A project that is not deleted is refused: call delete_project first. What you decided about it (accepted and rejected fixes, clip edits) stays in your decision log so Reelsaw keeps learning from it, unless forgetDecisions is true. Returns { storedBytes, forgottenDecisions, message }.

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": {
      "id": "<id>"
    },
    "name": "purge_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects with deleted: true)
forgetDecisionsNoAlso forget what Reelsaw learned from this project (its entries in the decision log); default false keeps them

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv0.28.1
    • addedInput schema / properties / forgetDecisions
      Added value: +{
      +  "default": false,
      +  "description": "Also forget what Reelsaw learned from this project (its entries in the decision log); default false keeps them",
      +  "type": "boolean"
      +}
  3. Addedv0.26.3

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, but the description adds consequences beyond them: minutes/hourly creates/first-video-free are not refunded, decisions persist in the decision log unless forgetDecisions is true, and the refusal condition for live projects. That is materially new behavioral context for an irreversible operation.

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?

Four compact sentences, front-loaded with the destructive action, then discovery, cost, prerequisite, and side effects. Every clause carries information; the inline return shape compensates for the absence of an output schema without wasting space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description supplies the return shape ({ storedBytes, forgottenDecisions, message }), the prerequisite refusal path, billing implications, and data-retention behavior. Nothing an agent needs to invoke this destructive tool safely is missing.

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 100%, so the baseline would be 3, but the description adds consequence-level meaning to forgetDecisions by explaining what is actually retained or forgotten (accepted/rejected fixes, clip edits in the decision log). The id parameter is only restated via the discovery hint, so it does not go far beyond the schema.

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 ('Permanently remove a deleted project and its files') plus the outcome ('so the storage is freed'). It implicitly separates itself from delete_project by requiring that deletion to have already occurred, so an agent can distinguish the two hard- vs soft-delete siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit discovery paths (list_deleted or list_projects deleted: true) and an explicit prerequisite with a named alternative: a non-deleted project is refused and delete_project must be called first. Both the when and the when-not are stated.

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

Deploy Server

Other Tools