Skip to main content
Glama

CodePress Sites

Capture site for migration

prepare_site_migration
Idempotent

Captures bounded public HTML/CSS/assets from source_url using guest edit authority, with no model invocation. Returns a compact inventory/report and private capture/artifact IDs; artifact bytes are not inline. An identical operation_id returns the original capture without recapturing. No server browser/screenshots.

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": {
      "guest_id": "<guest_id>",
      "edit_capability": "<edit_capability>",
      "operation_id": "<operation_id>",
      "source_url": "<source_url>"
    },
    "name": "prepare_site_migration"
  }
}

Input Schema

NameRequiredDescriptionDefault
guest_idYes
source_urlYes
operation_idYes
edit_capabilityYes

Output Schema

NameRequiredDescriptionDefault
limitsYes
reportYes
statusYes
guest_idYes
artifactsNo
inventoryYes
capture_idYes
source_urlYes
next_actionYes
guide_versionYes
artifacts_availableYes
supported_contractsYes
artifacts_expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare openWorldHint, idempotentHint and destructiveHint=false, but the description goes further by explaining the idempotency mechanism (an identical operation_id returns the original capture without recapturing) and by stating that artifact bytes are not inline and that no server browser/screenshots are involved. That is meaningful behavior an agent could not infer from the annotations alone. The remaining gap is failure/partial-capture behavior, which is undisclosed.

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?

Three dense sentences, front-loaded with the capture action and its scope, then return shape, then idempotency and exclusions. No sentence is filler, though the telegraphic fragments ("No server browser/screenshots.") trade a little readability for density.

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?

An output schema exists, so the description does not need to detail return values, yet it usefully notes that only a compact inventory/report plus private capture/artifact IDs come back and that bytes are not inline. For an open-world, non-destructive capture tool with a secret writeOnly capability parameter, the main omission is the async/partial-failure story and where the resulting artifact IDs are consumed.

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 0%, so the description carries the full burden, and it does give conceptual meaning for each of the four parameters: source_url as the capture root, operation_id as an idempotency key, and guest_id plus edit_capability as the "guest edit authority." It stops short of clarifying how guest_id differs from edit_capability, what "bounded" limits apply to the capture, or any format expectations, leaving real ambiguity for a 0%-coverage 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?

The description states a specific verb and resource ("Captures bounded public HTML/CSS/assets from source_url") and immediately draws boundaries that separate it from lookalike siblings: "with no model invocation" and "No server browser/screenshots." An agent can tell this apart from a rendering/screenshot tool or a model-driven prepare step without opening 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied rather than stated: the tool requires guest edit authority and is framed as a migration capture, which tells the agent it is the pre-step before report/artifact retrieval. However, it never says when to prefer this over adjacent siblings such as prepare_website or prepare_guest_site_creation, and it gives no explicit when-not or prerequisite guidance.

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.