Skip to main content
Glama

Upload the user's video

upload_video

Use this when the user wants to use a video of their own as the moves for motion_control (a dance, a gesture, a walk they recorded). Pass a video file the user attached as video, or a link to a video file as url, and it returns an upload_id at once. With neither, it returns a link to an upload page on theinfluencer.ai for the user to open; give them the link and wait for them to say it's done. Free. Instagram reels don't need uploading: use read_reel and its reel_id.

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": "upload_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAn https:// link to a video file (MP4, MOV or WebM), not to a page.
videoNoA video file the user attached in the chat.
content_typeNoOnly when you can run shell commands and have the file on disk: its type, to get a put_url to send it to with curl.

Output Schema

NameRequiredDescriptionDefault
okNoPresent only on a refusal: the summary says why, and what the user can do.
urlNo
statusNo
put_urlNo
summaryYes
upload_idNo
error_codeNoPresent only on a refusal.
upload_page_urlNo

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?

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false): it discloses that an upload_id comes back 'at once', that the no-input path is asynchronous and user-driven, that the call is free, and that content_type exists to obtain a put_url for a curl upload. It also flags an open-world URL requirement implicitly via the 'not to a page' constraint. This is exactly the extra context annotations cannot carry.

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 when-to-use clause, then the input modes, then the return contract, then the exclusion in a compact closing clause. Dense but every sentence carries distinct information; the only mild cost is that three modes and two return paths are packed into one paragraph rather than separated.

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 3-parameter tool with a nested object, an output schema, and a non-obvious async fallback, the description covers the trigger, all input modes, the shell/curl path, the return values, cost, and the reel exclusion. Nothing an agent needs in order to call it correctly and handle the response 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 real meaning: video means 'a file the user attached', url must point at a video file rather than a page, and the absence of both is itself a meaningful mode that the schema cannot express. It adds context without restating the enum or nested field list.

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 ('upload_video') and immediately names the downstream consumer: a self-recorded dance, gesture, or walk used as moves for motion_control. It also carves out a distinct path ('Instagram reels don't need uploading: use read_reel'), so an agent can separate this from sibling tools without opening a 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?

Explicitly enumerates all three invocation modes: pass an attached file as video, pass a link as url, or omit both to get an upload page link the user opens. It gives the exact follow-up behavior for the no-input case ('give them the link and wait for them to say it's done') and names the alternative for reels. Nothing is left to inference.

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