Skip to main content
Glama

Move a page

move_page
DestructiveIdempotent

Move a wiki page and its subpages to a new folder while automatically rewriting all internal links so cross-references remain valid and the change is one Git commit.

Instructions

Moves a page, with its subpages, into another folder of the same space. Links to it and from it are rewritten so they keep working, and the move is one Git commit. Requires a write-scoped token and an editor role in the space. Not available in a space set to review mode. Use list_tree to find the destination path. Returns the page at its new path.

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": {
      "id": "<id>",
      "parentPath": "<parentPath>"
    },
    "name": "move_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the page to move
parentPathYesDestination parent directory relative to the space root; "" for the space root

Output Schema

NameRequiredDescriptionDefault
idYesPage id
iconNoEmoji icon, if the page has one
kindYesPage kind: doc, board, table, form, base, canvas, artifact, pdf or office
pathYesPath relative to the space root
coverNoCover image URL, if the page has one
orderYesPosition among its siblings
spaceYesSpace slug the page belongs to
titleYesPage title
statusYesPage status
updatedAtYesLast change, ISO timestamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: subpages move along with the page, inbound and outbound links are rewritten, the operation is a single Git commit, and the moved page is returned. These disclose exactly what the destructiveHint=true mutation entails.

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?

Four dense sentences with the core action front-loaded, then side effects, then prerequisites, then a helper pointer. No filler; each sentence carries a distinct fact.

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?

Covers side effects, permissions, unavailability conditions, and path discovery, and an output schema exists so return-value detail is already handled. Nothing an agent needs to invoke this correctly is missing.

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 both parameters are already documented in the schema. The description adds scope context ('another folder of the same space') but no extra syntax detail beyond 'Returns the page at its new path', so the baseline 3 applies.

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?

States a specific verb and resource ('Moves a page, with its subpages') plus the scope constraint ('into another folder of the same space'), which an agent cannot infer from the name alone. The cross-space limitation is an important disambiguation.

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?

Gives concrete preconditions (write-scoped token, editor role) and an explicit when-not ('Not available in a space set to review mode'), plus a routing hint to list_tree for finding the destination path. It does not compare against a direct moving alternative, but the guidance is clear and actionable.

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