Skip to main content
Glama

Copy pages to another region or language

copy_to_region

Copies up to 50 pages to another region or language as new drafts linked to the originals, ready to translate or adapt with update_draft. The originals don't change and nothing goes live. Folders the pages sit in are created in the target as needed. Returns how many folders and pages were copied, the target's environment, region and locale ids, and pages: each copy's new id with the id it was copied from. Copying within the same language is refused; a person uses Duplicate for that. You need write access to the target (see list_scopes).

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": {
      "ids": "<ids>",
      "target": "<target>"
    },
    "name": "copy_to_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesThe ids of the pages to copy, 1 to 50, all from the same region and locale.
targetYesWhere the copies go: environment, region and locale keys from list_scopes. Each defaults like the other tools.
includeMediaNoKeep the images in the copies. false leaves image fields empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / ids / description
      Added value: +"The ids of the pages to copy, 1 to 50, all from the same region and locale."
    • addedInput schema / properties / includeMedia / description
      Added value: +"Keep the images in the copies. false leaves image fields empty."
    • addedInput schema / properties / target / description
      Added value: +"Where the copies go: environment, region and locale keys from list_scopes. Each defaults like the other tools."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive write, but the description adds substantive behavior: originals are unchanged, nothing goes live, copies are new drafts linked to originals, folders in the target are auto-created, and same-language requests are refused. It also discloses the response contents (counts, target environment/region/locale ids, per-copy new id and source id), which matters because no output schema exists.

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, each carrying distinct information: effect, guarantees, side effects, return shape, refusal condition, and auth prerequisite. The most decision-relevant facts (what it does, what it does not do) are front-loaded with no filler.

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 a mutation tool with a nested target object and no output schema, the description covers effect, invariants, side effects, failure mode, permissions, and return values. 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents ids, the nested target object with defaults, and includeMedia. The description repeats the 50-page cap and the same-region/locale constraint rather than adding format or edge-case guidance beyond what the schema states. Baseline 3 is appropriate.

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 with scope: 'Copies up to 50 pages to another region or language as new drafts linked to the originals.' It also names what it is not ('a person uses Duplicate for that'), so an agent can distinguish it from the same-language duplication path 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?

Explicit when-to-use ('ready to translate or adapt with update_draft'), an explicit exclusion ('Copying within the same language is refused'), an alternative (Duplicate), and a prerequisite ('You need write access to the target (see list_scopes)'). Both the positive and negative conditions are covered.

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