Skip to main content
Glama

Move a website in

import_site
Destructive

Replace the site's pages with an existing website's (Squarespace, Wix or anything else: its sitemap, or failing that the links between its pages, says which pages), word for word, at the same paths, with its images copied across. A Wiki.js or MediaWiki wiki becomes the site's wiki, word for word: the whole site, or with at the wiki under that path beside its pages, so a site and its wiki on two hosts come together as one. Runs in the background for a minute or two, and every write to the site is refused until it ends: poll get_site until job.status is no longer running; failed says why, and done lists its notes on pages it skipped or could not read, which are left as they were.

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": {
      "source": "<source>"
    },
    "name": "import_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoFor a Wiki.js or MediaWiki wiki only: the path to put it under on a site of pages, e.g. wiki. Left out, the wiki is the whole site.
tokenNoThe site token from create_site or the site's settings. Omit if your Authorization header carries it.
sourceYesThe current website, e.g. https://example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / at / description
      Previous value: -"For a Wiki.js wiki only: the path to put it under on a site of pages, e.g. wiki. Left out, the wiki is the whole site."New value: +"For a Wiki.js or MediaWiki wiki only: the path to put it under on a site of pages, e.g. wiki. Left out, the wiki is the whole site."
  2. Changed1 schema field changed
    • addedInput schema / properties / at
      Added value: +{
      +  "description": "For a Wiki.js wiki only: the path to put it under on a site of pages, e.g. wiki. Left out, the wiki is the whole site.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / token / description
      Previous value: -"The site token from create_site or the owner page. Omit if your Authorization header carries it."New value: +"The site token from create_site or the site's settings. Omit if your Authorization header carries it."
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the destructiveHint/openWorldHint annotations: it discloses that writes are refused during the run, that it is asynchronous for a minute or two, how to poll, and what `failed` and `done` report including skipped pages left untouched. The only real gap is that images and pages are replaced but rollback/reversibility is never stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information-dense and front-loaded, but the first sentence is a long clause chain with parentheticals that takes effort to parse. Nothing is strictly wasted, yet the structure could be broken into clearer statements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries return-value burden, and it does explain the job status contract and notes. It is nearly complete, missing only reversibility and what happens to prior site content that is not overwritten.

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 the baseline is 3, but the description adds genuine meaning for `at`, explaining that it nests a wiki under a path so a site and its wiki on two hosts merge into one. `token` is left entirely to the schema.

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: replace the site's pages with an existing website's word for word, at the same paths, images copied across, plus the wiki variant. An agent can immediately tell this apart from create_site or write_site because the source is an existing external website.

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 conditions: use it to move an existing website or Wiki.js/MediaWiki wiki in, and use `at` when the wiki should sit under a path beside existing pages. It also gives operational guidance to poll get_site until the job ends. It stops short of naming when to prefer create_site instead, but the scope is unambiguous.

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