Skip to main content
Glama

delete_cell

Destructive

Deletes a block and all its children, assignments and linked dependencies. The deletion is PERMANENT: no trash and no undo by the tool (only a version saved before the call, via restore_version — which replaces the WHOLE schema —, gets back what was deleted). It takes away what is listed here and what depends on the block (its content, its sharing grants, its block links); the attached comments, tasks and documents are not destroyed (they survive, detached). This is NOT an erasure of personal data: that goes through deleting the account or the project. Returns the complete list of what was deleted. dryRun:true PREVIEWS exactly what would be taken away (same report, nothing is deleted): a way to warn the user of a cascading deletion. If comment threads were anchored on the deleted blocks, they SURVIVE (they are not destroyed) but become invisible on the canvas: the response flags it via orphanedComments + note when that is the case. Same for the linked TASKS (create_tasks): they survive (they are not deleted), become "no subject" and re-attach automatically if a block with the same id is recreated — flagged via detachedTasks + note when that is the case.

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": "delete_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the block to delete
dryRunNoIf true, computes and returns the EXACT cascade (blocks, assignments, dependencies) WITHOUT DELETING ANYTHING. Useful to warn a user of what a delete_cell would take away ahead of actually running it — omitted or false, the deletion is real (behavior unchanged).
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 / dryRun / description
      Previous value: -"Si true, calcule et retourne la cascade EXACTE (cellules, assignments, dépendances) SANS RIEN SUPPRIMER. Utile pour prévenir un utilisateur de ce qu'un delete_cell emporterait AVANT de l'exécuter réellement — omis ou false, la suppression est réelle (comportement inchangé)."New value: +"If true, computes and returns the EXACT cascade (blocks, assignments, dependencies) WITHOUT DELETING ANYTHING. Useful to warn a user of what a delete_cell would take away ahead of actually running it — omitted or false, the deletion is real (behavior unchanged)."
    • 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 / id / description
      Previous value: -"ID de la cellule à supprimer"New value: +"ID of the block to delete"
  4. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With destructiveHint=true already declared, the description goes well beyond the annotation: it discloses that the deletion is permanent with no trash or undo, that restore_version is the only recovery path and replaces the WHOLE schema, precisely what is destroyed versus what survives detached (comments, tasks, documents), and the orphanedComments/detachedTasks flags in the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and permanence warning are front-loaded, which is good, but the text runs long with repeated parentheticals ('they survive (they are not destroyed)' appears twice), all-caps emphasis, and a sentence restating the cascade already covered in the opening line.

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 destructive cascade tool with no output schema, the description covers everything an agent needs: permanence, recovery, what is destroyed, what survives, and how surviving-but-orphaned items are reported in the response.

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 100%, so the schema already documents id, dryRun and expectedProjectId in detail. The description only reinforces the dryRun preview semantics and never mentions expectedProjectId's project-override behavior, so it adds little beyond the schema.

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?

The opening sentence gives a specific verb and resource ('Deletes a block and all its children, assignments and linked dependencies') and states the scope of the cascade. It does not, however, distinguish this from the nearest sibling delete_content_block, which an agent seeing both names would need to know.

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?

It gives explicit exclusions and routes them elsewhere ('This is NOT an erasure of personal data: that goes through deleting the account or the project') and explains the dryRun preview as a way to warn the user before a cascading delete. The only gap is that it never states when to pick this over delete_content_block or delete_dependency.

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.