Skip to main content
Glama

Get Playlists

get_playlists
Read-onlyIdempotent

Retrieve titles, descriptions, privacy settings, and item counts for one or more YouTube playlists by ID or URL to inspect playlist details in batches.

Instructions

Metadata of one or more playlists: title, description, privacy, and item count.

Quota: 1 unit.

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": {
      "playlists": "<playlists>"
    },
    "name": "get_playlists"
  }
}

Input Schema

NameRequiredDescriptionDefault
playlistsYesPlaylist IDs or URLs with a list= parameter. Fetched in batches of 50, 1 quota unit per batch.
my_channelNoWhich of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • addedOutput schema / properties / result / 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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety behavior is covered. The description adds quota cost (1 unit), which is useful behavioral context not in annotations. However, it omits auth requirements or other operational details, and the batching/quota nuance is already in the schema.

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?

The description is two short sentences plus a quota note, front-loaded with the returned fields. There is no filler or repetition. Its brevity is appropriate for a simple read tool.

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?

Given full schema coverage, an output schema, and safety annotations, the description covers the returned fields and quota cost adequately. The critical gap is disambiguation from list_playlists and guidance on when to use each, which matters because both tools operate on playlists.

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%; both parameters are fully documented in the schema, including batch size and quota per batch. The description adds no additional meaning about parameter format or constraints beyond 'one or more playlists'.

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 states a specific resource and field set: metadata for one or more playlists including title, description, privacy, and item count. It is clear what data is returned. It does not distinguish this from the sibling list_playlists, so the agent cannot tell from the text alone which tool to choose when only a channel is known.

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 explicit when-to-use guidance. The description does not say to use list_playlists to discover playlist IDs or explain when to prefer get_playlists over list_playlists. The requirement for playlist IDs appears only in the schema, not as usage guidance.

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