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. For already-published pages, this saves an unpublished latest revision only. Do not call page_publish in the same assistant turn after this edit. Stop and tell the user the draft/preview was updated, then wait for a separate user message that explicitly asks to update the live link, publish, or make the changes public before calling page_publish. Do NOT call page_unpublish either — the live page should stay public; only unpublish when the user explicitly asks to take it down.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYes
blockIdYes
editTokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
slugYes
titleYes
pageIdYes
statusYes
actionsYes
contentNo
claimUrlYes
editTokenYes
expiresAtYes
isClaimedYes
nextStepsNoEnrichment hints to present to the user. Address 'required' items before publishing.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already mark this as destructive and idempotent, but the description adds critical behavioral detail: for already-published pages, the tool 'saves an unpublished latest revision only' and leaves the live page public. It also clearly warns against publishing or unpublishing in the same turn offers safety context beyond the annotations. There is no contradiction with annotations.

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

Conciseness4/5

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

The description is front-loaded with the core action and the stable-blockId detail. The subsequent sentences are long but each carries important safety and workflow context. It is somewhat verbose, especially the multi-clause instruction about waiting for a separate user message, but that verbosity is justified given the risk of accidentally modifying a live page.

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

Completeness3/5

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

The description covers the primary deletion behavior, the published-page revision behavior, and important sequencing constraints. An output schema exists, so the return value does not need to be explained. However, editToken is left completely unexplained in both the schema and the description, and the behavior for unpublished pages is only implied. These gaps mean an agent may not know when to supply editToken or what exactly happens in the non-published case.

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?

The input schema provides no descriptions for pageId, blockId, or editToken, and schema description coverage is 0%. The description only clarifies that blockId is stable and suggests page_get when unsure. It does not explain the role of editToken, why pageId is needed, or any constraints around them. The description does not adequately compensate for the missing schema-level parameter documentation.

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 exactly what the tool does: 'Delete one block by stable blockId.' The verb is specific, the resource is clear (a single block), and it is easily distinguished from siblings like block_add, block_update, and block_reorder. The mention of 'stable blockId' also clarifies the type of identifier used.

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?

Explicitly tells the agent to call page_get first if unsure which block to remove. It also gives clear rules about not calling page_publish in the same assistant turn, waiting for an explicit user request to publish, and avoiding page_unpublish unless the user explicitly asks to take the page down. This is strong, unambiguous routing and sequencing guidance.

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