Skip to main content
Glama

List playlist videos

list_playlist_videos
Read-onlyIdempotent

List the videos of a YouTube playlist in playlist order (1 credit per call).

    One page per call, with each video's position, duration and channel. To get the next
    page, call again with the `cursor` this tool returns; every page costs the same, even
    for playlists of thousands of videos. Mixes (RD...) and private playlists cannot be
    listed.

    Args:
        playlist_id: YouTube playlist ID (e.g. PLxxxxxx, or UUxxxxxx for a channel's uploads)
        limit: Number of videos to return (default 30, max 100)
        cursor: The cursor returned by the previous page, to get the next one
    

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": "list_playlist_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
playlist_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered; the description adds genuine context on top: credit cost per call, equal cost across pages, one page per call, and hard failure modes (RD/private unlistable). It partially restates return fields ('position, duration and channel') that the output schema already carries, which keeps it from a 5.

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?

Front-loaded with purpose and cost, then pagination mechanics, then failure conditions, then a compact Args block. No sentence is filler; the pagination paragraph and the cursor arg entry are complementary rather than redundant.

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 read-only paginated list tool with an output schema and full annotations, the description covers the remaining unknowns an agent needs: cost model, page size, continuation mechanism, and unlistable playlist types. Nothing required to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: playlist_id gets format examples including the UU channel-uploads variant, limit gets default 30 and max 100 (the max is not in the schema), and cursor is explained as the value returned by the previous page. Every parameter gains meaning beyond the bare schema.

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?

Opens with a specific verb+resource+ordering: 'List the videos of a YouTube playlist in playlist order.' The playlist-vs-channel resource boundary is implied by the ID examples (PL/UU), but no sibling such as list_channel_videos or search_videos is named, so an agent must infer the split from resource type alone.

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 strong when-to-use context (paginating a playlist sequentially, cost is flat regardless of playlist size) and explicit exclusions ('Mixes (RD...) and private playlists cannot be listed'), which prevents a class of failed calls. It stops short of naming an alternative for those excluded cases or for search-style lookups.

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.