Skip to main content
Glama
YouTubeMCP
by imrees

List playlist items

list_playlist_items
Read-onlyIdempotent

Fetch videos and their playlist_item_id from a YouTube playlist using a playlist ID or URL, with pagination controls to page through items.

Instructions

List the videos in a playlist, with their playlist_item_id.

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_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_tokenNonext_page_token from a previous call.
max_resultsNoItems per page (1-50).
playlist_idYesPlaylist ID (or a URL containing list=...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the schema documents pagination, so the description adds almost nothing behavioral. It omits pagination behavior and scope (all items vs. a page), leaving the agent to infer that results are paged and that page_token must be followed.

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?

A single short sentence with no wasted words, and the resource scope is front-loaded. It is arguably too terse rather than bloated, so it stops short of 5.

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 simple read-only list tool with full schema coverage, an output schema and complete annotations, the description is nearly sufficient. The main residual gap is that paging behavior is never mentioned in prose.

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%, with playlist_id, page_token and max_results each documented in the schema, so the schema carries parameter semantics. The description contributes no additional parameter meaning, which is the expected baseline of 3.

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 and resource ('List the videos in a playlist') and adds what the result carries ('playlist_item_id'), which distinguishes it from list_playlists. It does not explicitly name a sibling it is not, so it falls short of a 5.

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 or when-not-to-use guidance, and no mention of the alternative list_playlists or of add_to_playlist/remove_from_playlist as the consumers of the returned playlist_item_id. 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.