Skip to main content
Glama

delete_content_block

Destructive

Deletes ONE content block (list, text, actions or links) from a block, with ALL its entries; the block itself and its other content blocks stay. Returns an error if the cell is unknown, but answers success and changes nothing when no content block has this blockId on the cell. No dry run: read the block ids with get_cell_details first. The response carries contentBudget {used, available, budget}, the room the card now has for new entries. To remove a single entry rather than the whole content block, send the remaining entries with update_content_block.

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": {
      "cellId": "<cellId>",
      "blockId": "<blockId>"
    },
    "name": "delete_content_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellIdYesID of the block that carries the content block
blockIdYesID of the content block to delete (read it in get_cell_details)
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. Changed2 schema fields changed
    • addedInput schema / properties / blockId / description
      Added value: +"ID of the content block to delete (read it in get_cell_details)"
    • addedInput schema / properties / cellId / description
      Added value: +"ID of the block that carries the content block"
  4. Changed1 schema field changed
    • 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."
  5. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes further by disclosing cascading entry removal, the fact that a non-matching blockId returns success while changing nothing, the error on an unknown cell, and the lack of a dry run. The remaining gap is permissions/authorization requirements and whether deletion is recoverable, which the description does not address.

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?

It is dense but front-loaded with the verb and the destructive scope, then triaged into id semantics, prerequisite, and response shape. Every sentence carries operational information an agent needs before calling a destructive tool.

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 relevant return information (contentBudget used/available/budget), and it covers the destructive cascade and the no-op success case. For a three-parameter destructive deletion tool, that is sufficient to call it correctly.

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 baseline is 3, but the description adds real meaning about the blockId identifier: it must be read from get_cell_details, and an unmatched value produces a silent success rather than an error. It adds nothing about expectedProjectId or cellId beyond what the schema already documents.

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 states a specific verb and resource ('Deletes ONE content block') and enumerates the affected kinds (list, text, actions, links), while spelling out the blast radius: all entries go, the parent block and its other content blocks stay. That scope language separates it cleanly from update_content_block and 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 gives an explicit prerequisite ('read the block ids with get_cell_details first'), states there is no dry run, and names the alternative for a different goal ('To remove a single entry rather than the whole content block, send the remaining entries with update_content_block'). The when-to-use and when-not-to-use are both covered.

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.