Skip to main content
Glama

Update Landing Page Block

block_update
Idempotent

Patch one content block by stable blockId. Provide a props patch (merged into existing props) and/or a new type. Block types and props are validated against the strict per-type schema. 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.

Input Schema

NameRequiredDescriptionDefault

No arguments

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.3/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: edits on a published page create a draft revision only, the live page is unchanged until page_publish, and the edit never takes the page down. Annotations already cover readOnly/idempotent/destructive, so this is genuine added context. It omits any mention of editToken requirements or what happens when per-type validation fails, which keeps it off a 5.

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 sentences, no filler, and the ordering is deliberate: what it does, how the patch works, validation, then the critical publish/draft consequence. Nothing repeats the schema or annotations unnecessarily.

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?

For a mutation tool with thirteen oneOf variants, the description covers the single highest-risk misconception — that editing a live page changes it immediately — and defers field-level detail to a fully documented schema and an output schema. Nothing essential to a correct call is missing.

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 description coverage is 100% and the schema already explains partial props patches, blockId stability, and every per-type field. The description adds the merge semantics ('merged into existing props') and the 'and/or a new type' combination, but that is a modest increment over what the schema states. Baseline 3 is appropriate.

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 ('Patch one content block by stable blockId') and immediately scopes it as a props patch merged into existing props and/or a type change. It is clearly distinguishable from block_add and block_delete, and the draft-vs-live framing removes the main ambiguity an agent would have.

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?

Explicitly routes the agent to page_publish and gives the condition for it: 'should happen only when the user explicitly asks to update the live page.' That is a real when/when-not pair. It does not explicitly contrast with block_add for adding a block, so the guidance is strong but not exhaustive.

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