Skip to main content
Glama

Clone Wiki page

wiki_pages_clone

Copy a page to a new address (POST /pages/{id}/clone — asynchronous).

Instructions

Copy a page to a new address (POST /pages/{id}/clone — asynchronous).

Cloning leaves the original where it is; to give the page itself a new slug use pages_move. The call returns a deferred operation reference — poll operations_clone_get with the returned operation.id until it reaches a terminal status.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesClone spec: required ``target`` (destination slug) plus optional ``title`` and ``subscribe_me``.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
page_idYesNumeric id of the page to copy.

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. Changed3 schema fields changedv0.122.1
    • addedInput schema / properties / body / properties / subscribe_me / anyOf
      Added value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / body / properties / subscribe_me / default
      Previous value: -falseNew value: +null
    • removedInput schema / properties / body / properties / subscribe_me / type
      Removed value: -"boolean"
  3. First observedv0.67.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare that this is a non-read-only, non-destructive, non-idempotent, open-world write. Beyond that, the description discloses the key behavior an agent cannot infer: the call is asynchronous and returns a deferred operation reference rather than the cloned page, requiring polling of operations_clone_get. It does not mention permission requirements or what happens if the target slug already exists, which keeps it from a 5.

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 short sentences, front-loaded with the core action, then the disambiguation from pages_move, then the async polling contract. Every sentence carries distinct information with no repetition of structured fields.

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?

There is no output schema, and the description compensates by stating what is returned (a deferred operation reference containing operation.id) and how to resolve it. Combined with the sibling disambiguation, an agent has everything needed to invoke this correctly on the first attempt.

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 description coverage is 100%, and the nested body object documents target, title, subscribe_me, and dry_run thoroughly, so the structured data carries the parameter semantics. The description adds no format or constraint detail about those fields (e.g., slug rules), so it earns the baseline rather than more.

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?

"Copy a page to a new address" gives a specific verb and resource, and the definition immediately distinguishes itself from wiki_pages_move ("to give the page itself a new slug use pages_move"). It also names the underlying endpoint and marks it asynchronous, so an agent can identify the operation without opening the 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?

It states both when to use this tool (copy leaving the original in place) and when to use the named alternative (pages_move for a new slug on the page itself). It also prescribes the follow-up workflow: poll operations_clone_get with the returned operation.id until a terminal status, which is exactly the guidance an agent needs for an async call.

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