Skip to main content
Glama

Move a block

move_block
Idempotent

Move one block on a page, as it is, to after or before another block named by its id (into a column, when that block is in one), or to the end of the page. Nothing else on the page changes.

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": {
      "path": "<path>",
      "id": "<id>"
    },
    "name": "move_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe block's id, as read_page gives it
pathYesThe page: "" for the home page, "_footer" for the footer
afterNoThe id of the block it goes after, in that block's page or column
tokenNoThe site token from create_site or the site's settings. Omit if your Authorization header carries it.
beforeNoThe id of the block it goes before; with neither, it goes at the end of the page
summaryNoWhat this change does, in a few words, for the history

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: the block keeps its content ('as it is'), it lands inside a column when the anchor block is in one, and nothing else on the page is disturbed. It stops short of describing failure modes for invalid ids or what is returned.

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?

Two sentences, front-loaded with the action and destination options, with the scoping guarantee ('Nothing else on the page changes') placed last for emphasis. The first sentence is dense with a nested parenthetical, but every clause carries real information and nothing is redundant.

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?

For a six-parameter mutation with full schema coverage, no output schema, and annotations covering safety and idempotency, the description supplies what the structured fields cannot: container-aware placement and the guarantee that sibling content is untouched. Only error behavior for a bad block id is left unaddressed, which is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all six parameters, making 3 the baseline. The description nonetheless adds meaning beyond the schema by explaining that the after/before anchor resolves within 'that block's page or column' and that omitting both places the block at the end of the page — a resolution rule the schema only states in fragments.

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 names a specific verb (move) and resource (one block on a page) and pins down the destination semantics: before/after another block by id, into that block's column, or the end of the page. The phrase 'as it is' plus 'Nothing else on the page changes' implicitly separates it from update_block (content edits) and insert_block (new blocks), so an agent can distinguish it from siblings without opening 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?

Usage is implied rather than stated: the placement options tell the agent how to express a move, but there is no explicit 'use this instead of insert_block/update_block' routing or precondition guidance. An agent can infer the use case, but nothing directs it among alternatives.

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