Skip to main content
Glama

Blitframe

Create upload

create_upload

Get presigned storage URLs for a file or a project ZIP (up to 8 GB; a file other than a ZIP no larger than the plan's project size: get_usage's limits.maxProjectBytes, project_too_large past it; a ZIP fails with project_too_large here only when it could not be imported over any head of the workspace, otherwise its import checks it). This is how a picture, video, sound, font or 3D model gets into a project over MCP. Up to 100 MB: PUT exactly sizeBytes bytes to url within 1 hour; command is the ready curl command, with your file's path in place of . Above 100 MB: multipart.parts lists a URL per partSize bytes (the last part holds the rest); PUT each part and keep its ETag response header. Then always call complete_upload. files creates up to 100 uploads in one call, all or none. A sizeBytes that does not fit in the workspace's storage is refused with storage_limit. At most 2,000 unused uploads per workspace (upload_limit). The response's id is the uploadId: pass it once to edit_project, create_project, import_zip, or a replacement's file in render or create_render_batch. The file joins a project only then; an unused upload expires (1 hour, 24 for multipart) and is deleted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoInstead of fileName and sizeBytes: one upload per file in one call, such as a picture for each row of a batch. Answered as uploads, in the order sent. Not for a project ZIP.
fileNameNoMust end in a supported extension (get_file_capabilities) or .zip; an edit, or a replacement in a render, uses the upload at a path with the same extension.
sizeBytesNoThe file's exact size in bytes; each file type has its own limit, and the plan's project size caps every upload.
idempotencyKeyNoMakes a retry safe: for 24 hours the same call with the same key returns the uploads the first one created, with fresh URLs, until one is used, deleted or expires. The same key with different arguments fails with idempotency_key_reused; while the first is still running, idempotency_key_in_use.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Makes a retry safe: for 24 hours the same call with the same key returns the uploads the first one created, with fresh URLs, until one is used, deleted or expires. The same key with different arguments fails with idempotency_key_reused; while the first is still running, idempotency_key_in_use.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only give readOnly/destructive/idempotent flags; the description carries the real behavioral burden: size thresholds (8 GB, 100 MB, plan's maxProjectBytes), named failure codes (project_too_large, storage_limit, upload_limit, idempotency_key_reused, idempotency_key_in_use), all-or-none semantics for files, and expiry windows (1 hour, 24 hours for multipart). Nothing here contradicts the annotations; the explicit idempotencyKey is consistent with idempotentHint=false since safety requires an opt-in key.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core purpose and every clause is substantive, but it is delivered as one dense, heavily parenthesized paragraph that is hard to scan and buries the always-call-complete_upload rule mid-stream. The content earns its place; the structure does not.

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 four-parameter mutation tool with no output schema, the description covers the full lifecycle: how to PUT, multipart handling, the mandatory complete_upload step, expiry, per-workspace upload caps, and how the returned id is consumed by edit_project/create_project/import_zip/render. There is no output schema to defer to, and the response fields are described inline, which is what an agent needs.

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 operational meaning the schema does not: it explains the 100 MB split that selects url/command vs multipart.parts, that each part is partSize bytes with the last holding the rest, and that the ETag header must be retained. The files-vs-fileName/sizeBytes exclusivity and the uploadId handoff are also clarified beyond the schema text.

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?

Opens with a specific verb and resource: 'Get presigned storage URLs for a file or a project ZIP'. It explicitly separates the two input shapes (single file vs files array) and the ZIP vs non-ZIP paths, and names the downstream consumers (complete_upload, edit_project, create_project, import_zip, render, create_render_batch) so the agent can place it among siblings.

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?

States the use case outright ('This is how a picture, video, sound, font or 3D model gets into a project over MCP'), gives the branching condition (<=100 MB single PUT vs >100 MB multipart), says 'Then always call complete_upload', and notes files is 'Not for a project ZIP'. When-to-use, prerequisites, and the required follow-up are all explicit.

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