Skip to main content
Glama

youtube_add_to_playlist

Add a video to a YouTube playlist. Provide playlist ID, video ID, and optionally a position to determine its order.

Instructions

Add a video to a playlist.

Args: playlist_id: Playlist ID to add the video to video_id: Video ID to add position: Position in the playlist (0-based). Defaults to end.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionNo
video_idYes
playlist_idYes
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It mentions the addition of a video but omits any side effects (e.g., what happens if the video is already in the playlist), authorization requirements, or return value. The 'Args' section adds basic parameter purpose but not deeper behavior.

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?

The description is concise and well-structured: a one-sentence summary followed by a clear parameter list. There is no redundant text, and the essential information is front-loaded. It could be slightly more informative, but it earns a high score for efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is incomplete. It does not provide prerequisites (e.g., authenticated playlist owner), error conditions, or the result of the operation. The sibling context includes many read/analytics tools, so this write action needs more contextual safety notes, which are absent.

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 0%, so the description's 'Args' section is the only source of parameter meaning. It explains each parameter with a brief line, and clarifies that 'position' is 0-based and defaults to end. However, it does not elaborate on valid values for position (e.g., negative, out-of-range) or how null is interpreted beyond the schema default.

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?

The description clearly states the action: 'Add a video to a playlist.' It uses a specific verb ('Add') and resource ('video to playlist'), which immediately distinguishes it from sibling tools like 'remove_from_playlist' or 'create_playlist'. No ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit usage guidance. It does not mention when to use this tool versus alternatives, prerequisites (e.g., authentication, existing playlist), or exclusion scenarios. The statement is purely the action itself with no contextual direction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pauling-ai/youtube-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server