Skip to main content
Glama

Get Upload URL

get_upload_url
Read-only

Get an upload URL for a local video file. Returns an uploadUrl and videoId.

IMPORTANT instructions for uploading local files:

  1. First, test connectivity: run curl -s https://mcp.vidocu.ai/ping in the sandbox

  2. If reachable, call this tool to get an uploadUrl, then run: curl -X PUT -H "Content-Type: video/mp4" --data-binary @/path/to/file "<uploadUrl>"

  3. If mcp.vidocu.ai is NOT reachable (e.g. host_not_allowed), tell the user: "The upload domain is blocked in this environment. Here's how to fix it or work around it:

    Option 1 — Whitelist the domain (recommended): Go to claude.ai → Profile → Settings → Network / Allowed Domains, add mcp.vidocu.ai, save, and try again. If you're in a managed workspace, ask your admin to whitelist it.

    Option 2 — Share a public link: Upload your file to Dropbox, Google Drive, etc. and share the link here — I'll handle the rest.

    Option 3 — Upload at vidocu.ai: Upload your video at vidocu.ai and share the video ID with me.

    Option 4 — Use the Vidocu Chrome extension: Record and upload directly from your browser: https://chromewebstore.google.com/detail/vidocu-screen-recorder/hiiacdnflcehcelphagnkalmgdhmbckp"

Do NOT try to base64-encode or read the file content into the conversation — this will exceed context limits.

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

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name for the video
filenameYesOriginal filename (e.g. 'demo.mp4')
projectIdNoProject folder ID to place the video in. If omitted, the video is uncategorized. Use list_projects or create_project to find/create a folder.
contentTypeYesMIME type (e.g. 'video/mp4')

Output Schema

NameRequiredDescriptionDefault
videoIdNo
uploadUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, but the description adds substantial context: this tool only mints a URL and the actual transfer happens out-of-band via curl PUT, plus a network-whitelist prerequisite and an explicit warning not to base64 the file. It omits URL expiration and any size limits, which an agent would need for large files.

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?

The purpose and the curl recipe are front-loaded and earn their place. However, the embedded multi-option user-facing message block is large relative to the tool's core function, and much of it is presentation copy rather than guidance the agent needs in order to invoke the tool correctly.

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?

For a two-step upload flow with an output schema present, the description covers prerequisites, the exact follow-up command with content type, and all failure branches. Missing only secondary operational facts such as URL lifetime and payload limits.

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 description coverage is 100%, so all four parameters including projectId guidance are already documented in the schema. The description adds no parameter-level detail beyond that, which is the expected baseline when the schema does the work.

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 first sentence gives a specific verb and resource — obtain an upload URL for a local video file — and names the two values returned (uploadUrl, videoId). It is clear what the tool does, though it never contrasts itself with the sibling upload_video, which an agent could plausibly confuse with this two-step flow.

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?

Usage is spelled out in numbered steps: ping the host first, call this tool only if reachable, then PUT the binary via curl. It also gives explicit when-not guidance with four named fallbacks for the blocked-domain case. The gap is that it never says when to prefer this over the sibling upload_video alternative.

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