Skip to main content
Glama

Reorder Landing Page Block

block_reorder
Idempotent

Move a block to a new zero-based index in the page main slot. 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>",
      "toIndex": "<toIndex>"
    },
    "name": "block_reorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYes
blockIdYes
toIndexYes
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/5.0
Behavior5/5

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

Annotations declare destructiveHint=false and idempotentHint=true, and the description adds concrete behavioral context: on a published page the change saves a draft revision only, the live page stays unchanged until page_publish, and the edit never takes the live page down. That materially helps an agent reason about side effects.

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?

Three short sentences, with the core action first and the draft/publish consequence immediately after. Every sentence adds new information, and there is no boilerplate.

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 and annotations cover safety traits, so the description does not need to explain return values. Combined with the draft-versus-live model, the main remaining gap is the undocumented editToken and the missing authentication or permission context for a mutation, which the description does not mention.

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 all four parameters. The description clarifies toIndex, saying it is zero-based and relative to the main slot, but only partially; pageId, blockId, and especially editToken receive no explanation of their role (for example, whether editToken is a concurrency guard).

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 states a specific verb and resource: move a block to a new zero-based index in the page main slot. That is clearly narrower than block_update (content) or block_add/block_delete, although it never names a sibling, so the operation's boundary with block_update must be inferred.

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 gives an explicit conditional rule for the follow-up action: page_publish 'should happen only when the user explicitly asks to update the live page'. That is strong workflow guidance, but the description does not say when to choose reorder over block_update or block_add.

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