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. The copies are saved at once, 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.8/5.0
Behavior5/5

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

Annotations only declare the generic safety profile, but the description adds substantive behavior: a 30-images-per-call cap with a continuation loop, a 5 MB size ceiling, that fonts and other non-image files are silently skipped, that skipped items are surfaced in the response for manual upload, and that copies persist immediately like every edit (no staging/undo). These are exactly the traits an agent needs before mutating a project.

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-loads the core action and destination, then layers constraints in a logical order (defaults, limits, exclusions, the Lottie exception, persistence). Some sentences are long and run together, notably the opening clause, but essentially every sentence carries distinct operational information.

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 three-parameter mutation with no output schema, the description covers what the response will say (whether more remain, which files the owner must upload manually), which compensates for the missing output schema. Nothing an agent needs in order to call it correctly or interpret the result is absent.

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; the description still adds value by clarifying that paths are interpreted in the imported project and that omitting them means 'copy the rest', and by emphasizing the caller-vs-source polarity of projectId versus importedProjectId. It doesn't add format examples beyond the schema's own, so it stops short of a 5.

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 ('Copies the images') plus the precise scope: images an Import-a-website project saved under public/, copied into the rebuild project at the same paths. It also distinguishes itself from read_file/write_file by naming exactly which artifacts those handle (Lottie .json) versus this tool (binary images), so an agent can route correctly without opening schemas.

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?

Gives explicit when-to-use and when-not-to-use rules: omit paths to copy everything missing, pass paths to copy specific ones, re-call while the response says more are left, and use read_file/write_file instead for Lottie .json. It even names the governing skill (rebuild-imported-site). Exclusions are concrete rather than implied.

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