Skip to main content
Glama

YoutubeToText

Inspect playlist

get_playlist
Read-only

Inspect a YouTube playlist link before transcribing it: its public videos (max 25), the minutes the whole playlist needs, and whether they fit the user's plan (fits). Call this first and tell the user what will be queued.

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

Input Schema

NameRequiredDescriptionDefault
urlYesLink to a YouTube playlist (youtube.com/playlist?list=<id>, or a watch link carrying list=) or a channel (youtube.com/@name). At most 25 public videos are taken.
typeNoWhat to produce for every video: `transcript` (plain text), `subtitles` (SRT/WebVTT) or `burned` (video with subtitles in the picture, 3x to 5x the minutes by `quality`).transcript
qualityNoBurned jobs only: `default` = 720p at 3x the length in minutes, `hd` = 1080p at 4x, `uhd` = 4K at 5x. Ignored for transcripts and subtitles.default
target_languagesNoSubtitles and burned only: translate every video into these languages, as names in English, e.g. ["Spanish"]. At most 10; each adds 1x every video's length to the minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely new behavior: the 25-video cap, that only public videos are considered, and that it surfaces a plan-fit verdict the agent should relay to the user. It does not describe error cases (private or over-limit playlists) or output shape, keeping it below the top band.

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?

One front-loaded sentence plus a short imperative; the returned artifacts are listed inline and the action instruction closes it. Nothing is redundant and no sentence would be missed if removed.

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?

With no output schema, it is important that the description names the return values (videos, minutes, `fits`), and it does so, while annotations and a fully covered schema handle the rest. Edge behavior for over-limit or non-public playlists is left implicit, which is the only meaningful gap for a 4-parameter inspection tool.

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 parameter meaning is already fully documented in the schema (url, type, quality multipliers, target_languages). The description restates the 25-video limit and the minutes calculation but adds no parameter-level detail the schema lacks, so the baseline 3 applies.

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 names a specific verb and resource ("Inspect a YouTube playlist link") and enumerates exactly what comes back: public videos (max 25), total minutes, and the `fits` plan check. It separates itself from the transcribe step by framing itself as the pre-flight check ("Call this first"), though it never names transcribe_playlist outright.

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?

"Call this first and tell the user what will be queued" gives a clear sequencing rule and a downstream action, which is strong usage context for a pre-check tool. It stops short of stating exclusions (e.g., when to skip inspection or go straight to transcribing), so it is clear context without full alternative routing.

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.

Resources