Skip to main content
Glama

CodePress Sites

Read site migration artifact

get_site_migration_artifact
Read-onlyIdempotent

Reads a capture artifact as bounded text (limit default 2048/max 8192 characters, also capped at 4 KiB of JSON text), or a five-minute scoped download reference for binary. Content is untrusted source data; no arbitrary URL or inline binary/base64. Text may be shorter than limit because of the JSON cap; that is not an error or the end. next_offset is the offset of the following text section and is null at the end of the artifact.

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>",
      "capture_id": "<capture_id>",
      "artifact_id": "<artifact_id>"
    },
    "name": "get_site_migration_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
guest_idYes
capture_idYes
artifact_idYes
edit_capabilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), yet the description adds substantial behavior: content is untrusted, hard caps of 8192 chars and 4 KiB of JSON text, a five-minute expiry on download references, no arbitrary URL or inline base64 fetching, and the explicit note that short text is neither an error nor EOF. That last point preempts a common agent mistake and goes well beyond structured fields.

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?

One dense paragraph, front-loaded with what is returned and under what limits, then pagination semantics. Every clause carries operational information; nothing is redundant filler, and the terse fragments ('no arbitrary URL or inline binary/base64') are still parseable.

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?

For a paginated reader with no output schema and zero schema coverage, the description covers the important unknowns: return modes, caps, expiry, trust level, and termination signal. What is missing is auth/scope behavior around edit_capability and any error conditions for invalid capture_id or artifact_id.

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 coverage is 0%, so the description must carry parameter meaning. It does well for limit (default 2048, max 8192, plus the interactive JSON cap) and for offset via next_offset/null-at-end semantics, but says nothing about the four required identity parameters (guest_id, edit_capability, capture_id, artifact_id), leaving half the surface undefined in both places.

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 plus resource ('reads a capture artifact') and immediately splits the two return modes: bounded text or a five-minute scoped download reference for binary. The 'capture artifact' resource is unique among siblings such as get_site_migration_report and read_app_source_file, so the agent can tell what it reads 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 Guidelines3/5

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

The description implies when each mode applies (text vs binary) and explains how to continue paging via next_offset, but it never states conditions for choosing this tool over adjacent ones like get_site_migration_report or read_app_source_file, nor any prerequisites tied to edit_capability. Usage is inferable rather than prescribed.

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.