Skip to main content
Glama

Upload a video file

upload_video

Brings a new long video into Clipzi from a file. Returns an address to PUT the file to (straight to storage) and the exact curl command for it. Run it, and when it finishes with HTTP 200 call finish_upload with the upload_id: that starts the analysis (transcription and clip detection). Needs a place where a command can run (a terminal; without one, get_upload_link gives the person a page to upload it themselves); the file must be a video (mp4, mov, mkv, webm). Counts as one video of the plan when finish_upload starts it.

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": {
      "filename": "<filename>",
      "size_bytes": "<size_bytes>"
    },
    "name": "upload_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesFile name with its extension, e.g. "podcast.mp4".
size_bytesYesExact size of the file in bytes (ls -l, or stat). The address only accepts a file of this size.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Beyond the annotations (write, non-idempotent, non-destructive) the description discloses the return payload (a PUT address plus a ready-made curl command), the required success signal (HTTP 200), the accepted container formats, and the billing effect (one video of the plan). It does not cover whether the upload address expires, how long it stays valid, which file-size ceiling the plan enforces, or what happens to a partial upload.

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?

Every sentence carries operational information: preconditions, return value, next call, format constraint, and cost. The nested parentheticals make the middle sentences dense and slightly harder to scan, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 correctly takes on the burden of explaining what comes back (a PUT address and a curl command) and how to proceed. For a mutating tool it still omits auth/permission expectations and the lifetime of the returned address, which an agent would need in a failure or retry scenario.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters, including that the address only accepts a file of exactly size_bytes. The description contributes an extra constraint not in the schema, the accepted video formats (mp4, mov, mkv, webm), but says nothing about how filename or size interact with validation beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource ("Brings a new long video into Clipzi from a file") and the rest of the text makes clear this is an upload-initiation step, not the upload itself. It implicitly separates itself from get_upload_link (browser fallback) and finish_upload (the next step), though it never explicitly contrasts with the sibling import_video.

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?

It states the precondition (a terminal where a command can run) and the explicit alternative when that precondition fails (get_upload_link). It also gives the ordered follow-up: run the curl, wait for HTTP 200, then call finish_upload with the upload_id, which starts transcription and clip detection.

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