Skip to main content
Glama
YouTubeMCP
by imrees

Upload video to YouTube

upload_video

Upload a local video to your YouTube channel with a preview and approval step; defaults to unlisted and tracks background progress.

Instructions

Upload a local video file to the user's YouTube channel (default visibility: unlisted). Two-step: the first call (without confirmation_token) returns a preview and token; show the preview to the user and call again with the token only after explicit approval. Uploads continue in the background; use get_upload_progress to follow them. Refuses to upload the same file twice unless allow_duplicate=true.

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": {
      "file_path": "<file_path>",
      "title": "<title>"
    },
    "name": "upload_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags (keywords). Total max 500 characters.
titleYesVideo title, 1-100 characters.
notifyNoShow a macOS notification when the upload finishes or fails.
copy_linkNoCopy the link to the macOS clipboard when the upload finishes.
file_pathYesAbsolute path to the local video file (e.g. /Users/me/Movies/demo.mp4).
visibilityNo'unlisted' (default), 'private' or 'public'. Public requires explicit user approval.unlisted
category_idNoYouTube category ID, e.g. 22 People & Blogs, 27 Education, 28 Science & Technology. Defaults to YOUTUBE_MCP_DEFAULT_CATEGORY (22 if unset).
descriptionNoVideo description (max 5000 bytes).
wait_secondsNoHow long to wait for the upload before returning progress (0-50).
made_for_kidsNoWhether the video is made for kids (COPPA).
confirm_publicNoMust be true for public uploads, and only when the user explicitly approved publishing publicly.
allow_duplicateNoUpload even if this exact file was uploaded before. Only with the user's explicit request.
confirmation_tokenNoToken from the preview. Only pass it after the user has explicitly approved the preview.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safety envelope (not read-only, open-world, non-idempotent, non-destructive); the description adds genuinely new behavior: uploads run in the background, the two-step token gate, duplicate rejection unless allow_duplicate=true, and public visibility gated on explicit user approval. These are exactly the traits an agent must know before invoking a long-running write operation.

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

Conciseness5/5

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

Four compact sentences, front-loaded with the action and default, then the confirmation protocol, then async behavior, then the duplicate constraint. No filler and nothing buried.

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 13-parameter, non-idempotent, long-running write with an output schema, the description covers the confirmation gate, background execution, follow-up tool, and duplicate policy. Return values are covered by the output schema, so nothing essential is missing.

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 parameter meaning is largely carried by structured fields and the baseline is 3. The description adds sequence semantics for confirmation_token (omit on first call, pass on second) and the duplicate-blocking role of allow_duplicate, but leaves the other eleven parameters entirely to 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?

Names a specific verb and resource ('Upload a local video file to the user's YouTube channel') and pins the scope with a default visibility. It is immediately distinguishable from siblings like set_visibility or get_upload_progress, which operate on already-uploaded videos.

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?

Gives explicit procedural guidance: first call without confirmation_token returns a preview, second call only after explicit approval, and get_upload_progress is named for post-upload tracking. It does not address when an agent should prefer a different upload path (e.g. scheduling) or what to do if the file is invalid, but the core when/when-not conditions are clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.