Skip to main content
Glama

delete_project

Destructive

Permanently deletes a project and ALL its data (cells, people, assignments, dependencies, content blocks, versions, comments) — irreversible. Owner-only, even editors cannot delete. Requires confirm:true as an explicit safety gate. REFUSED (nothing is deleted) when the project holds a signed, sealed version — legal evidence: the attestation PDF is the proof, and the project stays; while a sealed version exists, deletion stays refused.

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": {
      "projectId": "<projectId>",
      "confirm": "<confirm>"
    },
    "name": "delete_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be exactly `true` — an explicit safeguard against an accidental deletion. Irreversible action: deletes the project and all its data (blocks, people, versions, comments...).
projectIdYesUUID of the project to delete, as returned by list_projects.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Doit être exactement `true` — garde-fou explicite contre une suppression accidentelle. Action irréversible : supprime le projet et toutes ses données (cellules, personnes, versions, commentaires...)."New value: +"Must be exactly `true` — an explicit safeguard against an accidental deletion. Irreversible action: deletes the project and all its data (blocks, people, versions, comments...)."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / projectId / description
      Previous value: -"UUID du projet à supprimer, tel que list_projects le rend."New value: +"UUID of the project to delete, as returned by list_projects."
  4. Changed1 schema field changed
    • changedInput schema / properties / projectId / description
      Previous value: -"UUID du projet à supprimer. Utiliser list_projects pour le retrouver."New value: +"UUID du projet à supprimer, tel que list_projects le rend."
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond destructiveHint=true, it discloses irreversibility, the exact data destroyed (cells, people, assignments, dependencies, content blocks, versions, comments), the authorization requirement, and the legal-evidence refusal path that leaves the project intact. That refusal behavior is not derivable from annotations or schema and is the single most important thing an agent needs to know.

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-loaded with the destructive scope, then permissions, then the refusal rule — a sensible priority order. The sealed-version clause is stated twice ('the project stays' and 'deletion stays refused'), which costs a few words but adds emphasis rather than confusion.

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?

For a three-parameter destructive tool with no output schema, the description covers action, scope, authorization, safety gate, and the one non-obvious failure mode. Nothing an agent needs in order to call this correctly or to warn a user is missing.

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 coverage is 100% and the description's only parameter content — confirm:true as an explicit safety gate — restates the schema's own const:true description. expectedProjectId is not discussed, so the schema carries the parameter burden here. A score of 3 reflects the baseline when the schema fully documents the inputs.

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?

The description names a specific verb and resource ('Permanently deletes a project') and immediately scopes the blast radius to ALL project data, listing the contained entity types. It is unmistakably distinct from siblings like delete_project_metadata or delete_cell.

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?

It states explicit preconditions and exclusions: owner-only ('even editors cannot delete'), a mandatory confirm:true gate, and a hard refusal condition when a signed, sealed version exists. An agent can determine whether a call will succeed before attempting it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.