Skip to main content
Glama

Remove a block

remove_block
Destructive

Take one block off a page, by its id from read_page; in a column, it leaves the column. Every other block stays as it is, and history and undo put it back.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe block's id, as read_page gives it
pathYesThe page: "" for the home page, "_footer" for the footer
tokenNoThe site token from create_site or the site's settings. Omit if your Authorization header carries it.
summaryNoWhat this change does, in a few words, for the history

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds real context on top: only the targeted block goes, siblings are untouched, a block inside a column leaves the column, and undo/history can restore it. The notable omission is what happens to a removed block's children — a material question for a destructive structural 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?

A single tightly-packed sentence with the action front-loaded, followed by the structural rule and the recovery rule. Every clause carries information an agent needs; nothing is redundant.

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

Completeness4/5

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

For a destructive single-object mutation with a fully documented schema and no output schema, the description covers effect, scope, structural handling, and reversibility. The only meaningful gap is child-block cascade behavior, which matters for a block-removal tool.

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%, so id, path, token, and summary are already documented. The description adds only the provenance hint that the id comes from read_page; it says nothing extra about path semantics (home page, footer) or the history summary field, so the schema carries the load.

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?

"Take one block off a page, by its id" names a specific verb (remove) and resource (a single block) and scopes it to one item, which separates it from update_block or move_block. It does not explicitly contrast itself with move_block (which could also take a block out of a page), but the intended effect is unambiguous.

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 tells the agent the prerequisite for the call — the id must come from read_page — and signals that the action is recoverable via history/undo, which is the main decision input for whether to call it. It stops short of stating when to prefer this over move_block or update_block.

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