Skip to main content
Glama

Move Wiki page

wiki_pages_move

Move or rename pages (POST /pages/move — asynchronous; undocumented by Yandex).

Instructions

Move or rename pages (POST /pages/move — asynchronous; undocumented by Yandex).

The only way to give a page a new slug. The call returns a deferred operation reference — poll operations_move_get with the returned operation.id until it reaches a terminal status. A page moves with its subtree and links to the old address may stop working, so try validate_only=true first: it validates the request, applies nothing, and its operation id cannot be polled. Yandex does not document this operation (it is in the live OpenAPI only) and may change it.

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": {
      "body": "<body>"
    },
    "name": "wiki_pages_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesMove spec: ``operations`` (each ``source`` slug and new ``target`` slug, optionally ``next_to_slug`` with ``position`` before/after) and optional ``copy_inherited_access``.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
validate_onlyNoValidate the move without applying it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Changed6 schema fields changedv0.122.1
    • addedInput schema / properties / body / properties / copy_inherited_access / anyOf
      Added value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / body / properties / copy_inherited_access / default
      Previous value: -falseNew value: +null
    • changedInput schema / properties / body / properties / copy_inherited_access / description
      Previous value: -"Copy the accesses a page inherited from its old parent when it moves. The API refuses a move that leaves this unset (400 INHERITANCE_BEHAVIOR_IS_NOT_SPECIFIED), so it is always sent, ``false`` by default."New value: +"Copy the accesses a page inherited from its old parent when it moves. The API can refuse a move that leaves this unset (400 INHERITANCE_BEHAVIOR_IS_NOT_SPECIFIED)."
    • removedInput schema / properties / body / properties / copy_inherited_access / type
      Removed value: -"boolean"
    • removedInput schema / properties / dry_run
      Removed value: -{
      -  "default": false,
      -  "description": "Validate the move without applying it.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / validate_only
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Validate the move without applying it."
      +}
  3. First observedv0.67.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the deferred-operation return contract, that the whole subtree moves, that old links may break, that ``validate_only`` applies nothing and produces an unpollable operation id, and that the endpoint is undocumented and may change. That is exactly the operational context an agent needs before a non-idempotent move. Minor tension only: destructiveHint=false while old links "may stop working" — this is link breakage, not data loss, so it is not a contradiction.

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?

Front-loaded with the verb and endpoint, then ordered by risk (validation first, then polling, then side effects). Slightly redundant: the undocumented-by-Yandex caveat appears both at the top and at the end, costing a sentence it doesn't need.

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 no output schema, the description correctly carries the return-value burden (deferred operation reference and its id) and explains the polling follow-up. Combined with a 100%-covered schema, nothing an agent needs to invoke it correctly is missing.

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 baseline is 3, but the description adds genuinely new meaning: ``validate_only`` applies nothing and its operation id cannot be polled, and the move is asynchronous so the response must be polled. The nested ``operations``/``copy_inherited_access`` semantics remain in the schema rather than the prose.

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 ("Move or rename pages") plus the underlying endpoint and its asynchronous nature. The line "The only way to give a page a new slug" distinguishes it from the sibling wiki_pages_update, so an agent can pick it without inspecting another schema.

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 clear operational guidance: call it to rename/re-address a page, then poll ``operations_move_get`` with the returned ``operation.id``, and try ``validate_only=true`` first as a safe dry check. It does not explicitly contrast with wiki_pages_clone or wiki_pages_update beyond the slug remark, but the when-to-use path is unambiguous.

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

Deploy Server

Other Tools