Skip to main content
Glama

move-page

DestructiveIdempotent

Renames a wiki page and moves it to a new title, optionally moving its talk page and subpages and choosing whether to leave a redirect at the old title.

Instructions

Renames a wiki page, moving it — and by default its talk page — to a new title, and returns the old and new titles plus whether a redirect was left behind. By default leaves a redirect at the old title; set leaveRedirect=false to suppress it (requires the suppressredirect right, otherwise the redirect is left regardless). Fails if the source page does not exist, if the target title already exists (unless it is a redirect and ignoreWarnings is set), or if the authenticated user lacks the move permission. Moving a file description page additionally requires the file-move permission.

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": {
      "fromTitle": "<fromTitle>",
      "toTitle": "<toTitle>"
    },
    "name": "move-page"
  }
}

Input Schema

NameRequiredDescriptionDefault
wikiNoWiki to target, as a key from the mcp://wikis/ resources (e.g. en.wikipedia.org), or the full mcp://wikis/ URI. Omit to use the default wiki.
commentNoReason for the move
toTitleYesNew title to move the page to
moveTalkNoAlso move the associated talk page
fromTitleYesCurrent title of the wiki page to move
moveSubpagesNoAlso move subpages, where the namespace allows subpages
leaveRedirectNoLeave a redirect at the old title. Suppressing it requires the suppressredirect right; without that right MediaWiki leaves the redirect regardless.
ignoreWarningsNoProceed past move warnings, e.g. when the target is an existing redirect. Moving over a non-redirect page still fails.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.10.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description goes well beyond them: it discloses that a redirect is left at the old title by default, that suppression needs the suppressredirect right and silently fails without it, that moving a file description page needs the file-move right, and enumerates the exact failure cases. That is precisely the permission and side-effect context a mutation tool needs.

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 sentences, front-loaded with the action and return value, then defaults, then failure modes. There is no filler; the parenthetical on require-suppressredirect carries real information rather than hedging.

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?

For an 8-parameter mutation tool with no output schema, the description covers what it returns (old/new titles, redirect flag), the permission prerequisites, and all failure conditions. Nothing an agent needs before invoking it 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 every parameter is already documented, and the description's parameter content (leaveRedirect semantics, ignoreWarnings over-existing-redirect behavior) largely restates it. Where it does add value — the suppressredirect consequence — it is useful but narrow, keeping this at the baseline rather than above it.

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 opening clause names a specific verb ('renames/moves'), the resource ('wiki page'), and the scope ('by default its talk page'), so the action is unambiguous. It does not explicitly contrast itself with update-page or create-page, but the 'move to a new title' framing is distinctive enough that an agent can separate it from the generic edit siblings.

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?

The description gives clear operating context: defaults (redirect left, talk page moved), how to suppress the redirect, and the conditions under which the call fails. What it lacks is an explicit 'use X instead when...' statement versus update-page or create-page, so it's strong context without formal alternatives.

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