Skip to main content
Glama
YouTubeMCP
by imrees

Set video thumbnail

set_thumbnail
DestructiveIdempotent

Upload a custom JPEG/PNG thumbnail for a YouTube video with a preview and approval step before applying it to the channel.

Instructions

Upload a custom thumbnail (JPEG/PNG, max 2 MB, 1280x720 recommended). Two-step: returns a preview and confirmation_token first; call again with the token after the user approves. Requires a verified channel.

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": {
      "video_id": "<video_id>",
      "image_path": "<image_path>"
    },
    "name": "set_thumbnail"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYesYouTube video ID (11 characters) or any youtube.com / youtu.be URL.
image_pathYesAbsolute path to the JPEG or PNG thumbnail.
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.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, yet the description still adds real behavioral context: the two-step preview/approval handshake, the verified-channel auth prerequisite, and the upload constraints. It stops short of saying the custom thumbnail replaces any existing one, which is the main behavioral detail an agent might still want.

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?

Dense, front-loaded sentences covering format constraints, the two-step protocol, and the prerequisite in minimal space. The mixed ordering (constraints, then flow, then prerequisite) is slightly less scannable than a pure front-load, but nothing is wasted.

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?

With an output schema present, return values need no explanation, and the description covers everything else needed to call it correctly: prerequisites, file constraints, and the two-call approval protocol. Nothing material is missing for a three-parameter mutation tool.

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 all three parameters are already documented, including the confirmation_token approval semantics. The description adds the file constraints (JPEG/PNG, max 2 MB, 1280x720 recommended) that the schema omits for image_path, but nothing further on video_id format beyond what the schema states.

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 a custom thumbnail") tied to a video, and the title plus description make the scope unambiguous. No sibling tool deals with thumbnails, so no differentiation is needed and none is implied incorrectly.

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?

Explains the conditional flow clearly: the first call yields a preview and confirmation_token, and the token is only passed after user approval. It also states the prerequisite (verified channel), but gives no guidance on when this tool should not be used or what happens to an existing thumbnail.

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