Skip to main content
Glama

wp_blocks_move

Moves a Gutenberg block relative to another on a WordPress post or page. Uses hash references to prevent overwriting a block changed since it was read, and supports dry-run previews.

Instructions

Move one Gutenberg block relative to another. Hash references prevent overwriting a block changed since it was read. Supports dry-run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
refYesPost or page ID/slug
fromYes
dry_runNoPreview changes without writing
positionYes
post_typeNopage
allow_normalizationNoAllow saving when parse/serialize normalizes the original content
if_unmodified_sinceNoFail if modified_gmt changed since this timestamp

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It usefully reveals a concurrency safeguard ('Hash references prevent overwriting a block changed since it was read') and the existence of dry-run, but it does not explain that this is a persisting write to the post/page, what happens on conflict, or what the operation returns. The disclosure is partial rather than comprehensive.

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 no filler; the primary action is front-loaded and each sentence adds either scope, safety rationale, or a capability. The description is appropriately sized for the tool's complexity.

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

Completeness2/5

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

For a mutating tool with 8 parameters, complex block-locator options, no annotations, and no output schema, the description is too thin. It does not explain prerequisites (locating source/target blocks), how 'to' relates to 'from', what return value or confirmation is produced, or failure behavior beyond the implicit hash safeguard. The agent would need to infer a significant amount of task logic from the schema alone.

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 only 50%, so the description should add param-level meaning. It adds a little by explaining the purpose of hash references and mentioning dry-run, but dry-run is already in the schema and the description does not clarify the key from/to locator relationship or the meaning of position values. The schema's enums and constraints carry most of the load.

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?

The description opens with 'Move one Gutenberg block relative to another,' a specific verb and resource that clearly identifies a repositioning operation. This differentiates it from sibling block tools such as wp_blocks_insert, wp_blocks_replace, wp_blocks_update, and wp_blocks_delete without needing to inspect their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

When to use the tool is implied by the move semantics and the mention of dry-run, but the description gives no explicit guidance about when not to use it or which sibling alternative to prefer (e.g., wp_blocks_update for content edits vs this for reordering). The agent can infer the main use case but is not told about prerequisites like reading blocks first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leonardobora/mcp-wordpress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server