Skip to main content
Glama

List Playlists

list_playlists
Read-onlyIdempotent

List a YouTube channel's playlists or your own, including private playlists, with paging and result limits for browsing and managing collections.

Instructions

A channel's playlists.

Quota: 1 unit per page of up to 50 results.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_playlists"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of playlists.
channelNoUC… channel ID, @handle, or channel URL. Omit for your own channel, including private playlists.
my_channelNoWhich of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel.
page_tokenNoContinue from a previous result's next_page_token.

Output Schema

NameRequiredDescriptionDefault
itemsYes
total_resultsNoTotal reported by YouTube; only an estimate for search.
next_page_tokenNoPass as page_token to continue; null at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • addedOutput schema / properties / items / items / properties / podcast_status
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "enabled, disabled, or unspecified. Missing when playlists are listed or fetched."
      +}
  2. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description's real contribution is the quota disclosure (1 unit per page of up to 50 results), which is valuable cost information not present in annotations. It stops there, adding nothing about ordering, privacy handling, or pagination semantics beyond the page size.

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 short sentences with zero filler and the core scoping statement front-loaded. The tradeoff is that terseness tips into under-specification rather than crispness.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the quota note covers cost. However, for a listing tool with a near-identical sibling (get_playlists), the description omits the distinction and any guidance on channel vs my_channel usage that would make the definition self-sufficient.

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%, so all four parameters (limit, channel, my_channel, page_token) are already documented in the schema, establishing a baseline of 3. The description adds no parameter elaboration, and its "up to 50 results" per-page framing sits slightly awkwardly against the schema's limit maximum of 500, which an agent must reconcile itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase, "A channel's playlists," which adds the channel scoping beyond the name but supplies no verb or explicit statement of what the call returns. It does not distinguish this tool from the sibling get_playlists or from list_playlist_items, leaving the agent to infer the difference from names alone.

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?

There is no when-to-use guidance, no exclusions, and no mention of the closely named alternative get_playlists. The agent gets some routing hints only indirectly from the schema's channel parameter text, not from the description.

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