Skip to main content
Glama

Youtube Get Playlist

youtube_get_playlist

Get one playlist's own metadata by ID — title, description, channel, size, visibility.

Instructions

Get one playlist's own metadata by ID — title, description, channel, size, visibility.

Returns title, description, the owning channel (channel_id, channel_title), item_count (the number YouTube reports for the playlist), published_at (when the playlist was created, not when its videos were) and privacy_status (public / unlisted / private). For the videos in it, use youtube_list_playlist_items.

Costs one unit from the shared 10,000-unit pool. Requires the playlist ID — there is no lookup by name. Discovery is deliberately not offered: the only endpoint that could search for playlists is search.list, and its bucket is 100 calls/day (see youtube_search_videos). Get IDs from a channel via youtube_get_channel (uploads_playlist_id), from a video's page, or from the user.

A playlist that does not exist and one that is private fail with different errors, and neither is worth retrying: a private playlist stays private with an API key. An item_count of 0 is a real, empty playlist, not a failure.

Input Schema

NameRequiredDescriptionDefault
playlist_idYes

Output Schema

NameRequiredDescriptionDefault
titleNo
channel_idNo
item_countNo
descriptionNo
playlist_idYes
published_atNo
channel_titleNo
privacy_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the quota cost (one unit from the shared 10,000-unit pool), the error taxonomy (nonexistent vs private fail differently, neither is retryable, private stays private with an API key), and the semantic edge case that item_count 0 is a real empty playlist rather than a failure.

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 purpose and return shape, then prerequisites and failure modes. Dense and mostly earned, though the aside about `search.list`'s 100 calls/day bucket is slightly beyond what's needed to invoke this tool correctly.

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 single-param getter with an output schema, nothing an agent needs is missing: purpose, prerequisite, sibling routing, quota cost, and failure semantics are all present. The return-field discussion is somewhat redundant with the output schema but reinforces the playlist-vs-video timestamp distinction.

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 0% and the single `playlist_id` param is undocumented in the schema, so the description must compensate. It explains what the ID must be and where to obtain it (channel `uploads_playlist_id`, video page, user), but stops short of giving the ID's string form or an example, leaving the agent to infer format.

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 with explicit scope: "Get one playlist's own metadata by ID", then enumerates the fields returned (title, description, channel, size, visibility). It explicitly separates itself from the sibling that handles playlist contents by naming `youtube_list_playlist_items`.

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

Usage Guidelines5/5

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

Gives explicit when-to-use routing ("For the videos in it, use youtube_list_playlist_items"), a hard prerequisite ("Requires the playlist ID — there is no lookup by name"), and explains why discovery is not offered. It even tells the agent where to source the ID (`youtube_get_channel` uploads_playlist_id, video page, user).

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