Skip to main content
Glama

youtube_playlist

List videos in a YouTube playlist in order, returning watch URLs and playlist title. Unpack playlists to get video links for further metadata or transcript retrieval.

Instructions

List the videos in a YouTube playlist, in playlist order.

Returns watch URLs and the playlist title, nothing about the videos themselves. Use it to unpack a playlist, then call youtube_video_facts or youtube_transcript on the URLs you get back. A watch link that happens to be playing inside a playlist works here too.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesA youtube.com or youtu.be link

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesHow many videos were found
titleNoPlaylist title
video_urlsYesWatch URLs, kept in playlist order
playlist_idYesThe playlist that was read
Behavior4/5

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

With no annotations, the description carries full burden. It discloses what the tool returns (watch URLs and playlist title) and what it does not (video details), plus an edge case about watch links. While it doesn't explicitly state read-only semantics or error behavior, the verb 'List' and the outlined scope provide sufficient transparency for a simple operation.

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?

The description is three sentences, each with a distinct purpose: statement of core functionality, clarification of output scope, and usage guidance with an edge case. No redundant information, and the primary purpose is front-loaded.

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-parameter tool with an output schema, the description covers all necessary aspects: what it returns, what it excludes, how to use it in a workflow, and an edge case. The mention of sibling tools completes the integration picture, making it self-sufficient for an AI agent.

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?

The schema description for the single parameter is complete ('A youtube.com or youtu.be link'), but the tool description adds meaningful nuance: it clarifies that a watch link embedded in a playlist is also accepted. This goes beyond the schema and enriches the parameter semantics.

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 tool lists videos in a YouTube playlist in playlist order. It distinguishes itself from siblings by explicitly noting it returns only watch URLs and the playlist title, not video details, and directs users to call youtube_video_facts or youtube_transcript for that.

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?

The description gives explicit usage guidance: use it to unpack a playlist, then call the sibling tools on the returned URLs. It also covers an edge case (watch links inside playlists), providing clear context on when and how to use the tool.

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/chiekh-a/youtube-mcp'

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