Skip to main content
Glama
YouTubeMCP
by imrees

Update video metadata

update_metadata
DestructiveIdempotent

Update selected metadata fields on an existing YouTube video, preserving untouched fields. Returns a preview and confirmation token; apply changes only after approval.

Instructions

Change selected metadata of an existing video. Only the fields you pass are changed; all other existing fields (including tags and description) are preserved. Pass tags=[] to clear tags. Two-step: returns a preview of the changes and a confirmation_token; call again with the token only after the user approves.

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

Input Schema

NameRequiredDescriptionDefault
tagsNoNew full list of tags (replaces the old list).
titleNoNew title (1-100 characters).
video_idYesYouTube video ID (11 characters) or any youtube.com / youtu.be URL.
category_idNoNew category ID.
descriptionNoNew description (replaces the old one).
default_languageNoBCP-47 language of title/description, e.g. 'en'.
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.4/5.0
Behavior5/5

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

Annotations declare destructive, idempotent, and open-world behavior, but they cannot convey the partial-update guarantee or the confirmation_token handshake. The description discloses both, telling the agent exactly what is preserved and that a second call is required after user approval -- information essential for a destructive mutation.

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?

Three sentences, front-loaded with the mutation scope before the safety-critical two-step protocol. Every sentence carries distinct, non-redundant information with no 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 7-parameter destructive mutation with a fully documented schema and an output schema, the description covers the risky parts: what is preserved, how to clear fields, and the confirmation loop. Return values are handled by the output schema, so nothing material 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, and the description earns above that by explaining the merge/preserve semantics and the tags=[] clearing convention that go beyond the per-parameter field descriptions. It does not clarify title length or language code formats, but those are already in the schema.

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 description uses a specific verb and resource -- 'Change selected metadata of an existing video' -- and the partial-update scope is stated immediately. It does not explicitly distinguish itself from siblings like update_captions or set_thumbnail, but the resource boundary is clear enough to infer.

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?

Strong operational guidance: it explains that only passed fields change, how to clear tags with tags=[], and the mandatory two-step preview-then-confirm flow with the user approval gate. It stops short of naming when to prefer a sibling tool instead, so no explicit alternative routing.

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