Skip to main content
Glama

youtube_get_playlist

Read-only

Fetch a YouTube playlist's metadata and videos by playlist ID, returning title, description, channel, video count, and each video's position.

Instructions

Get a YouTube playlist's metadata and its videos. Returns title, description, channel, video count, and the list of videos with their positions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax videos to return (default: 30, max: 200)
playlistIdYesYouTube playlist ID (e.g. PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the content of the response (title, description, channel, count, videos with positions), which is useful but overlaps with the purpose statement rather than disclosing new behavior like pagination or quota costs.

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?

Two tight sentences with the core action front-loaded and the return contents following. Nothing is wasted, though the second sentence largely restates what a 'get playlist' would return.

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

Completeness4/5

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

No output schema exists, so the description appropriately enumerates the returned fields. For a read-only, two-parameter tool with full schema coverage this is nearly enough; only the absent usage/prerequisite context keeps it short of complete.

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 100%: playlistId has a format example and limit has default and max documented in the schema itself. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb ('Get') and resource ('YouTube playlist') plus the scope of the return (metadata and its videos). It clearly distinguishes itself from single-video lookups like youtube_get_video_info, though it never explicitly names a sibling to route against.

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?

No when-to-use guidance, no prerequisites (e.g. playlist must be public), and no mention of alternatives such as youtube_search or youtube_get_channel_videos. Usage is only implied by the tool name.

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