Skip to main content
Glama

Copy imported images

copy_imported_images

Copies the images a site made with Import a website saved under public/ (a project with IMPORTED.md) into the project you are rebuilding it in, at the same paths, so /assets/... image URLs keep working. Without paths it copies every image the import saved that this project doesn't have yet, up to 30 per call: call it again while the answer says more are left. Images over 5 MB, fonts and other files aren't copied; the answer lists what the owner should upload in the Assets panel. Lottie .json files are text: read_file them on the imported project and write_file them to the same path. Leaves the copies unsaved, like every edit. Skill rebuild-imported-site.

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": {
      "projectId": "<projectId>",
      "importedProjectId": "<importedProjectId>"
    },
    "name": "copy_imported_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoOnly these images, as paths in the imported project such as public/assets/hero.webp. Leave out to copy the rest of them
projectIdYesThe project the images go to (the rebuild), not the imported one
importedProjectIdYesThe project Import a website created (it has IMPORTED.md)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only say this is a non-destructive mutation; the description goes much further by disclosing the 30-per-call cap, the 5 MB/font/non-image exclusions, that paths are preserved, and that the resulting copies are left unsaved. The only thing not spelled out is permission or workspace requirements, so this is strong but not exhaustive.

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?

Front-loaded with the core action and destination, then the defaults, limits, exclusions and escape hatches in a logical order. It is dense but nearly every clause carries operational information; the Lottie sentence is slightly tangential yet saves a failed call, so it earns its place.

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?

With no output schema, the description still tells the agent what the response conveys (whether more images remain, what the owner must upload manually). Combined with the batch limit, exclusions and unsaved-state note, nothing needed to call it correctly or interpret the result is missing.

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% and each of the three parameters is documented, so the baseline is 3; the description still adds real meaning by explaining what omitting paths does (copy everything not already present, in batches of 30) and that the paths mirror the imported project's layout.

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 (copies) and resource (images from an imported site under public/) and disambiguates the two projects involved — the source with IMPORTED.md and the destination rebuild — plus the reason (keeping /assets/... URLs working). An agent can distinguish it from move_file, write_file or create_items 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?

Explicitly routes around itself: Lottie .json files should be handled with read_file on the imported project and write_file to the same path, and continued copying is triggered by re-calling while the answer reports leftovers. It also names the fallback workflow (owner uploads excluded files in the Assets panel), leaving little to inference.

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