Skip to main content
Glama

move_block

Re-parent and/or reorder a block WITHOUT changing its id. parent is {'type': 'block_id', 'block_id': ''} to nest it under another block, or {'type': 'card_id', 'card_id': ''} to put it back at the card's top level. after names the sibling to land behind; omit it (or pass null) to become the FIRST child. Note that this is the OPPOSITE of after on append_blocks, where omitting it appends at the end. The target parent must be in the same card, and a block cannot move under its own descendant, nor under a parent that sits inside an archived subtree (that would hide the content from every reader). Descendants ride along. Use this instead of delete_block + append_blocks when restructuring a body: the block keeps its id and audit history, and the change reads as one block.updated. Mirrors POST /v1/blocks/{block_id}:move.

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": {
      "block_id": "<block_id>",
      "parent": "<parent>"
    },
    "name": "move_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
parentYes
block_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it discloses side effects (descendants ride along, the change reads as one block.updated), the audit-history benefit, and three hard failure conditions. It stops short of stating permission requirements or what an error response looks like, which keeps it out of the top band.

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?

Front-loaded with the core action and its invariant, then semantics, then constraints, then the sibling alternative. Every sentence is information-bearing; the append_blocks 'OPPOSITE' warning is the kind of non-obvious detail worth the words.

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, so return values need not be explained, and the mutation semantics, constraints, and parameter shapes are all covered. The remaining gap is operational: nothing about authorization requirements or failure/error behavior for an invalid parent.

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

Parameters5/5

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

Schema coverage is 0% and the parent object is untyped (additionalProperties: true), so the description does essential work: it defines both accepted parent shapes with their exact keys, and defines 'after' including the null/omitted case landing as FIRST child. It even flags the inverted default versus append_blocks, which the schema cannot express.

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 first clause names a specific verb and resource with its key invariant: 'Re-parent and/or reorder a block WITHOUT changing its id.' It also distinguishes itself from delete_block + append_blocks in the final paragraph, so an agent can route between them without opening either schema.

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 states the alternative and when to prefer this tool: 'Use this instead of delete_block + append_blocks when restructuring a body,' with the reason (id and audit history preserved). It also spells out preconditions — target parent must be in the same card, no moves under a descendant, no moves under an archived subtree.

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