Skip to main content
Glama

Move page element

move_page_element
DestructiveIdempotent

Move an element to another position, another slot, or into/out of a section column on a folder's published page. Returns both affected slots. A move that would change nothing converges. Requires modify on the folder and page-layout API writes enabled for the workspace — otherwise 403 page_layout_api_disabled, which only Playbook can turn on; retrying does not help. Concurrency: pass the version_token from get_page_layout as expected_version_token; if the page changed since, the call answers 409 stale_document and applies NOTHING — read again, re-decide, re-send. A successful write that sent a token returns the NEW version_token: send that on your next write, because your own write already made the old one stale. Of the 409s only lock_wait_timeout and page_layout_library_locked are safe to repeat unchanged. converged: true in the response means nothing changed (the goal state already held); materialized: true means the page had no stored document and this call saved the template's defaults. Both keys are ABSENT when false. The public page can keep showing the old version for up to an hour after a successful write, so a reload may not show the change.

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": {
      "token": "<token>",
      "element_id": "<element_id>",
      "from_slot_id": "<from_slot_id>",
      "to_slot_id": "<to_slot_id>",
      "at_index": "<at_index>"
    },
    "name": "move_page_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesFolder token of the published folder
at_indexYes0-based destination position.
column_idNoId to give a column this move CREATES. It does NOT pick an existing column: without column_index the element lands in column 0. Address an existing column with column_index.
element_idYesId of the element to move, from get_page_layout.
to_slot_idYesDestination slot (id or name); may equal from_slot_id.
column_indexNoDestination section column, by 0-based position.
from_slot_idYesSlot currently holding the element (id or name).
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.
subfolder_tokenNoEdit a nested folder's section of this page instead of the page itself: the `collectionToken` of an entry in get_page_layout's `subboards_settings`. Omit for the main page.
create_new_columnNoCreate a new column in the destination section.
to_parent_element_idNoMove INTO this `section` element's columns.
expected_version_tokenNoThe `version_token` from get_page_layout, echoed verbatim to make this write a compare-and-swap. Omit to write unconditionally.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / subboard_token
      Removed value: -{
      -  "description": "Edit a nested board's section of this page instead of the page itself: the `collectionToken` of an entry in get_page_layout's `subboards_settings`. Omit for the main page.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / subfolder_token
      Added value: +{
      +  "description": "Edit a nested folder's section of this page instead of the page itself: the `collectionToken` of an entry in get_page_layout's `subboards_settings`. Omit for the main page.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / token / description
      Previous value: -"Board token of the published board"New value: +"Folder token of the published folder"
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / at_index / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / column_index / maximum
      Added value: +9007199254740991
  3. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "token",
      -  "element_id",
      -  "from_slot_id",
      -  "to_slot_id",
      -  "at_index",
      -  "context"
      -]New value: +[
      +  "token",
      +  "element_id",
      +  "from_slot_id",
      +  "to_slot_id",
      +  "at_index"
      +]
  4. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes far beyond the annotations (destructiveHint=true, idempotentHint=true): it discloses the compare-and-swap concurrency model, that a stale 409 applies NOTHING, that a successful write invalidates the caller's own token and returns a new one, the `converged`/`materialized` response flags and their absent-when-false encoding, and that the public page can lag up to an hour. This is exactly the context an agent needs before a mutating retry.

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?

Purpose and return shape are front-loaded, then permissions, concurrency, retry rules, and response flags follow in a logical order. It is long, but nearly every sentence carries actionable information; the only minor slack is restating the read-decide-resend loop in two places.

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?

With 12 parameters and no output schema, the description carries the full burden and does: it explains return values, error codes, retry safety, token propagation, and eventual-consistency behavior. An agent could call this correctly, including the retry path, from the description 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 coverage is 100%, so the baseline is 3 and the schema already documents `column_id` vs `column_index` and the compare-and-swap meaning of `expected_version_token`. The description adds real value only on the token lifecycle (send back the new `version_token`), which is a modest increment over an already-complete schema.

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 first sentence gives a precise verb and resource plus the three distinct move targets (position, slot, section column) and states what is returned (both affected slots). It does not name any sibling (e.g. reorder_page_slot or move_assets) to sharpen the boundary, so it stops short of full sibling differentiation.

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?

Strong operational guidance: it states the required `modify` permission and that page-layout API writes must be enabled, that retrying a 403 `page_layout_api_disabled` is useless, and exactly which 409s are safe to repeat unchanged. It also gives conditional guidance for optional params (when to supply `organization`, `subfolder_token`, `expected_version_token`). What it lacks is explicit routing against alternative tools for the same edit.

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