Skip to main content
Glama

list_playlist

Read-only

Retrieves videos from a YouTube playlist or channel, newest first, so you can process each video individually with a configurable limit.

Instructions

List the videos in a YouTube playlist or channel, so you can max them one by one.

Args: url: Playlist link, or a channel link like https://www.youtube.com/@handle (newest first). limit: Maximum number of videos to list.

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": {
      "url": "<url>"
    },
    "name": "list_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavior beyond that: channel links are enumerated newest-first and limit caps how many are returned. It does not disclose pagination/truncation behavior, quota costs, or what happens on an invalid or private URL.

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?

The purpose sentence is front-loaded and the Args block is compact with no wasted wording. The phrase 'so you can max them one by one' is slightly informal but conveys workflow intent efficiently.

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?

For a two-parameter read-only listing tool with an output schema covering return values and annotations covering safety, this is nearly complete. The remaining gaps are edge-case behavior such as pagination limits, private/unavailable playlists, and channel content scope.

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 description coverage is 0%, so the description must carry the load, and it does for both parameters. It distinguishes a playlist link from a channel link, gives a concrete @handle URL example, and explains that limit is the maximum number of videos (the default of 25 remains only in the 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?

The description uses a specific verb and resource: 'List the videos in a YouTube playlist or channel.' It also hints at the downstream workflow ('max them one by one'), which implicitly separates it from siblings like search_library or get_video. It stops short of naming an alternative tool explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines3/5

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

Usage is implied: enumerate videos so they can then be maxed one at a time, and channel links return newest first. There is no explicit statement of when NOT to use this tool, no mention of list_library or search_library as alternatives, and no prerequisites (auth, API key) are given.

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