Skip to main content
Glama

AwesomeVideo

Create resumable (multipart) upload

create_multipart_upload

Free. For files over 80 MB (up to 2048 MB / 3 h), or any upload on a flaky connection. Returns fileId, partSizeBytes (default 64 MB, 5-95 MB), and parts[] with partNumber, offset, length, and a PUT url each (no API key needed, valid 24 hours). PUT bytes [offset, offset+length) of the file to each url, e.g. dd if=big.mp4 bs=1M skip=$((offset/1048576)) count=$((length/1048576)) | curl -X PUT --data-binary @- -H "Content-Length: " "" (tail -c +$((offset+1)) big.mp4 | head -c length works for any part size). Parts can go in any order or in parallel; re-sending a part replaces it. If the upload stops, call get_upload_status for missingParts and send only those, then complete_upload. Then pass fileId to caption_video, transcribe, burn_captions, shorts, trim, or preview like any upload. Up to 30 per hour.

Input Schema

NameRequiredDescriptionDefault
filenameYesFile name, e.g. talk.mp4.
sizeBytesYesExact file size in bytes.
contentTypeYesvideo/* or audio/*, e.g. video/mp4.
partSizeBytesNoBytes per part, 5242880-99614720. Default 67108864 (64 MB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses cost (free), size and duration limits, rate limit (30 per hour), return payload, PUT URL validity, and that part URLs need no API key. It also explains parallel/out-of-order uploads and replacement behavior for re-sent parts, which is exactly the operational context an agent needs.

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?

It is front-loaded with purpose, limits, return shape, and workflow, so the agent can extract key facts quickly. It is somewhat long and includes redundant part-size details plus two shell examples, but the density is largely justified by the multipart workflow.

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 complex multipart creation tool with no output schema, the description covers return fields, upload mechanics, resume behavior, completion, downstream fileId usage, and limits. Nothing essential for correct invocation or recovery appears to be 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. The description adds useful semantics for sizeBytes by giving an effective 80 MB to 2048 MB operating range and repeats the partSizeBytes default/range in MB, though it does not add much for filename or contentType beyond the schema.

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?

The description states a specific verb and resource (create multipart upload) and immediately scopes it to files over 80 MB or flaky connections. That size/condition threshold distinguishes it from simpler sibling upload tools without requiring the agent to inspect other schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It clearly says when to use this tool (large files, flaky connections) and names get_upload_status and complete_upload for the resume/complete workflow. It does not explicitly name the small-file alternative such as create_upload, so the routing guidance is clear but not fully exhaustive.

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