Skip to main content
Glama

Delete block

delete_block
DestructiveIdempotent

Remove one block from a huffl page, addressed by block id.

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": {
      "document_id": "<document_id>",
      "block_id": "<block_id>"
    },
    "name": "delete_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
block_idYes
document_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is fully covered without the description. The description adds nothing beyond that — it does not say whether the removal is permanent or recoverable, whether nested/child content is affected, or what happens if the block id is already gone.

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?

A single tight sentence with the action and scope front-loaded and no filler. Nothing in the sentence could be removed without losing information.

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

Completeness2/5

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

For a destructive mutation with zero schema documentation, no output schema, and a sibling set full of block-mutating tools, the description is too thin: it omits permanence/reversibility, cascade effects, error behavior, and the meaning of document_id. Annotations cover safety hints but not the operational details an agent needs to call this confidently.

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

Parameters2/5

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

Schema description coverage is 0% for both required parameters, so the description carries the full burden. 'Addressed by block id' clarifies block_id, but document_id is only obliquely implied by 'from a huffl page' — the agent gets no statement that document_id is the containing page or how the two must relate.

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 description names a specific verb and resource ('Remove one block') and narrows scope to blocks on a huffl page, which implicitly separates it from update_block and append_blocks. It stops short of explicitly naming a sibling or stating what makes deletion distinct from other mutation tools.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for single-block removal, but the description gives no prerequisites, no conditions for choosing it over update_block/save_state, and no note about whether the page must exist or be owned.

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.

Resources