Skip to main content
Glama

List playlist videos

youtube_playlist_videos
Read-onlyIdempotent

YouTube API: List playlist videos. The videos of a public playlist in playlist order, page by page: follow pagination.next_cursor; every page costs the same, the last one like the first. meta.total_videos and meta.total_pages give the size of the playlist (null when YouTube does not show it). Private and Mix playlists answer 404. Price: 1 credit per call; failed calls are free. Paginated: pass pagination.next_cursor as cursor for the next page (each page is a new call).

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": {
      "playlist_id": "<playlist_id>"
    },
    "name": "youtube_playlist_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoVideos per page (max 100)
cursorNo`pagination.next_cursor` of the previous page
playlist_idYesPlaylist ID: the `list=` value of a playlist URL (`PL...`, `UU...`, `OLAK5uy_...`)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description adds genuinely new traits: per-call credit pricing, failed calls free, equal cost per page, 404 behavior for private/Mix playlists, and null totals when YouTube hides them. It stops short of describing response item shape, though pagination fields are named.

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-loads the purpose, then pagination, then failure modes and price. Dense but all sentences carry information; minor redundancy between 'follow pagination.next_cursor' and the closing sentence about passing it as cursor.

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 3-parameter paginated read tool with no output schema, it covers pagination mechanics, totals metadata, error conditions, and cost — everything an agent needs to call it correctly and loop through pages.

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 baseline is 3, but the description adds usage meaning by tying cursor to pagination.next_cursor across calls and framing every page as a separate call. The playlist_id format guidance largely duplicates the schema.

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 ('List playlist videos') plus scope: public playlists, in playlist order, page by page. Against siblings like youtube_channel_videos and youtube_search, the resource distinction (playlist_id) is explicit.

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?

Gives clear conditions: use for public playlists, and explicitly states private and Mix playlists return 404, which is a strong when-not signal. It does not name an alternative sibling for channel-based listing, but the constraints are concrete enough to route correctly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.