Skip to main content
Glama

upload_youtube_video

Destructive

Upload a video to a connected YouTube channel (resumable upload in 8 MiB pieces, any size; a call works ~45 s and returns status 'uploading' + upload_id — call again with upload_id until status 'done'; also resumes after an abort). Source: a video library entry (library_slug + language de|en), a document (document_id) or an https URL. Privacy is ALWAYS private or unlisted; going public needs update_youtube_video {privacy:'public'} and a human approval. With a library source the YouTube link is stored on the library entry. Note: Google keeps uploads of an unverified API project private until it passed the YouTube API audit — the answer says which privacy YouTube actually set.

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_youtube_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNohttps URL of an MP4
tagsNoTags (keywords)
titleNomax 100 characters; default: library title
privacyNodefault private. Public only via update_youtube_video with human approval.
captionsNolibrary source: also upload its subtitles (default true)
languageNoLanguage code (e.g. de, en)
thumbnailNolibrary source: set its poster as thumbnail (default true; needs a verified channel)
upload_idNocontinue an unfinished upload (large files are sent in 8 MiB pieces; each call works ~45 s)
channel_idNoYouTube channel id (UC…) from list_youtube_channels; optional when only one channel is connected
category_idNoYouTube category, default 28 (Science & Technology)
descriptionNomax 5000 characters
document_idNoID of the document
library_slugNoSlug of the video library entry to upload (with language)
thumbnail_urlNohttps URL of a JPEG/PNG thumbnail (max 2 MB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / document_id / description
      Added value: +"ID of the document"
    • addedInput schema / properties / language / description
      Added value: +"Language code (e.g. de, en)"
    • addedInput schema / properties / library_slug / description
      Added value: +"Slug of the video library entry to upload (with language)"
    • addedInput schema / properties / tags / description
      Added value: +"Tags (keywords)"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say non-readonly, open-world, non-idempotent, destructive; the description goes far beyond with chunk size (8 MiB), per-call duration, the polling protocol, abort recovery, a hard privacy restriction (never public without human approval), and the caveat that an unverified Google API project may silently force private. It also states a side effect — the YouTube link is stored on the library entry — and that the response reports the privacy YouTube actually applied.

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 action, then the mechanics, then the source options, then the privacy constraint — a sensible ordering for a complex tool. It is dense with stacked parentheticals and a single paragraph where a short bulleted source list would read faster, but no sentence is filler.

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 14-parameter, no-output-schema, high-complexity upload tool, the definition covers what an agent needs: input alternatives, the multi-call polling contract, failure/resume behavior, side effects, and the privacy escalation rule. Return values are described in prose even though no output schema exists.

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 every one of the 14 parameters is already documented, making 3 the baseline. The description adds real value on the source triage (library_slug + language vs document_id vs url are mutually exclusive inputs) and on how upload_id is used across calls, but it adds no meaning beyond the schema for the remaining fields.

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?

"Upload a video to a connected YouTube channel" is a specific verb+resource, and the description immediately narrows the scope with three named source types (library entry, document, https URL) and the resumable-upload mechanics. It is clearly distinguishable from update_youtube_video, which it names as the path for changing privacy.

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?

Explicit operational guidance: a call runs ~45 s, returns status 'uploading' + upload_id, and you must call again with that upload_id until status 'done' — plus the resume-after-abort case and the privacy ceiling with the approval route via update_youtube_video. It does not contrast against other YouTube ingestion paths (queue_youtube_uploads, schedule_youtube_publishing), so the alternatives picture is incomplete, but the when/how guidance itself is strong.

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.