Skip to main content
Glama

Delete Landing Page Block

block_delete
DestructiveIdempotent

Delete one block by stable blockId. Use page_get first if unsure which id to remove. On an already-published page this saves a new draft revision only: the live page does not change until page_publish runs, which should happen only when the user explicitly asks to update the live page. The edit never takes the live page down.

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": {
      "pageId": "<pageId>",
      "blockId": "<blockId>"
    },
    "name": "block_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYes
blockIdYes
editTokenNo

Output Schema

NameRequiredDescriptionDefault
okYes
slugYes
titleYes
pageIdYes
statusYes
actionsYes
contentNo
claimUrlYes
editTokenYes
expiresAtYes
isClaimedYes
nextStepsNoImprovement hints. Only 'required' items block publishing (they mirror the publish guard); 'recommended' and 'optional' are suggestions to offer after the user has seen the preview, never prerequisites.
canPublishYes
previewUrlYes
isPublishedYes
publishedUrlYes
missingFieldsNo
publishPolicyNoFor edit tools on already-published pages, this is wait_for_separate_user_request to prevent same-turn publishing.
liveUpdateMessageNoPlain-language instruction explaining that an edit to an already-published page is draft-only and must not be published until a later explicit user request.
liveUpdateRequiredNoTrue after an edit to an already-published page when the public live page still needs page_publish to reflect the latest revision.
publicUrlAfterPublishNoThe public address this page has once published (its slug is reserved). Same as publishedUrl after publishing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / publicUrlAfterPublish
      Added value: +{
      +  "description": "The public address this page has once published (its slug is reserved). Same as publishedUrl after publishing.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / nextSteps / description
      Previous value: -"Enrichment hints to present to the user. Address 'required' items before publishing."New value: +"Improvement hints. Only 'required' items block publishing (they mirror the publish guard); 'recommended' and 'optional' are suggestions to offer after the user has seen the preview, never prerequisites."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: destructiveHint only says something is removed, but the description explains that on a published page the delete writes a draft revision and the live page is untouched until publish, and that the edit never takes the live page down. That draft-versus-live distinction is exactly the behavioral context an agent needs before calling a destructive tool.

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?

Four short sentences, front-loaded with the action, then the id-discovery tip, then the publish consequence. Nothing is repeated from the title, and every sentence changes how the agent behaves.

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?

An output schema exists, so return values need no prose, and the mutation semantics are unusually well covered. The only gap is the unexplained editToken and any auth/permission requirement for deleting on a page the caller may not own.

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 0%, so the description has to carry all parameter meaning. It adds real value for blockId ('stable') and implicitly for pageId, but editToken is never mentioned, nor is why it is optional. Partial compensation for a three-parameter schema.

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?

States a specific verb and resource ('Delete one block') plus the stable identifier it operates on ('by stable blockId'), which immediately separates it from block_add, block_update, and block_reorder. No ambiguity about what the call does.

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?

Gives explicit routing advice ('Use page_get first if unsure which id to remove') and an explicit conditional for the follow-up step ('page_publish ... should happen only when the user explicitly asks to update the live page'). The when-not condition is stated, not inferred.

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