Skip to main content
Glama

Blitframe

Import ZIP into project

import_zip

Replace every file of a project with a ZIP (data.json plus assets), from a ZIP upload or a ready export from export_version, as a new version on the head of a variation (main unless variation names another). Returns the version within about 50 seconds; a larger ZIP still importing returns the import instead (id, status) for get_zip_import. A ZIP whose files, soundtrack and name match the head makes no version and returns the head. At most 10 imports per workspace wait or run at once (import_limit). A ZIP whose files total more than the plan's project size (get_usage's limits.maxProjectBytes) fails with project_too_large, unless the head it replaces is at least as large.

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>"
    },
    "name": "import_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesProject id, from list_projects.
variationNoThe variation to import onto, from list_variations; default main.
zipUploadIdNoA ready .zip upload, from create_upload. Not with fromExportId.
fromExportIdNoInstead of zipUploadId: a ready export of this workspace, from export_version, imported without downloading it; one not ready yet gets export_not_ready. A project export from export_project is refused: create a project from it instead.
idempotencyKeyNoMakes a retry safe: for 24 hours the same import with the same key returns what the first one returned: the version, or the import as it is now when the first returned the import, unless that import failed. Until then the same key with different arguments fails with idempotency_key_reused. A retry while the first is still running waits for its import as the first call does.
fontLicenseAcceptedNoRequired true when the ZIP contains font files.
expectedHeadVersionIdNoOptional: the headVersionId the import must replace, so it fails with head_moved if the head has moved. Null or left out imports on whatever the head is when the import finishes.

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 write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), yet the description adds the timing contract (~50s), the fallback return shape (import id/status) and the tool that consumes it, the no-op case where identical files return the head with no new version, the 10-concurrent-imports-per-workspace limit, and the project_too_large size rule tied to get_usage. 'Replace every file' sits consistently alongside destructiveHint=false because the result is a new version rather than an in-place deletion.

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 action and source, then returns, then limits. Every clause carries an operational fact (timeout, no-op, concurrency cap, size cap), though the density is near the upper bound of what one paragraph should carry.

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?

No output schema exists, and the description compensates by describing both possible return shapes (the version, or the import for get_zip_import) plus the identical-ZIP no-op return. For a 7-parameter destructive-scope write tool, nothing an agent needs before calling 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%, so the baseline is 3, but the description adds cross-parameter meaning: variation defaults to main, the ZIP-vs-export source choice is mutually exclusive, and the size ceiling is tied to the head version it replaces. It still leaves fontLicenseAccepted's font-detection behavior to the schema, hence not 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 — 'Replace every file of a project with a ZIP' — and immediately distinguishes its two sources (a ZIP upload or a ready export from export_version). An agent can tell this apart from create_project, export_project and get_zip_import without opening any 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?

Explicit routing: a larger ZIP still importing goes to get_zip_import; a project export from export_project is refused and should instead be used with create_project; the export path is named as the no-download alternative to zipUploadId. When-to-use and when-to-use-something-else are both covered.

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