Skip to main content
Glama

batch_extract_youtube_transcripts

Read-only

Extract transcripts from multiple YouTube videos (up to three URLs per call) and optionally save per-video Markdown files plus index.json to a chosen directory for organized review.

Instructions

Extract transcripts from multiple YouTube videos. Max 3 URLs per call. Supply output_path (directory) in the request to persist per-video markdown files + index.json and receive a slim response.

Input Schema

NameRequiredDescriptionDefault
requestYesDict with: urls (max 3), languages, include_timestamps, timezone (IANA name e.g. 'Asia/Tokyo' for converting each video's publish time under metadata.published_at; defaults to 'UTC'). Optional persistence keys: output_path (absolute directory — per-video .md files + index.json; dot-containing dir names are fine), include_content_in_response (bool; default False — when True, per-video transcripts stay in the response as well), overwrite (bool; default False — existing files rejected). Failed items (success=False) are recorded in index.json with file=null but no .md is written.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.2
    • changedInput schema / properties / request / description
      Previous value: -"Dict with: urls (max 3), languages, include_timestamps. Optional persistence keys: output_path (absolute directory — per-video .md files + index.json; dot-containing dir names are fine), include_content_in_response (bool; default False — when True, per-video transcripts stay in the response as well), overwrite (bool; default False — existing files rejected). Failed items (success=False) are recorded in index.json with file=null but no .md is written."New value: +"Dict with: urls (max 3), languages, include_timestamps, timezone (IANA name e.g. 'Asia/Tokyo' for converting each video's publish time under metadata.published_at; defaults to 'UTC'). Optional persistence keys: output_path (absolute directory — per-video .md files + index.json; dot-containing dir names are fine), include_content_in_response (bool; default False — when True, per-video transcripts stay in the response as well), overwrite (bool; default False — existing files rejected). Failed items (success=False) are recorded in index.json with file=null but no .md is written."
  2. Addedv0.3.2
  3. Removedv0.1.6
  4. First observedv0.1.7

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses that passing output_path causes per-video .md files plus index.json to be written and changes the response shape — behavior an agent cannot see from the schema annotations. The schema adds overwrite=false rejection and failed-item recording, and the description summarizes the persistence behavior well. Note the mild tension: filesystem writes are disclosed while readOnlyHint=true, but since persistence is strictly opt-in and the default call is a pure read, this is disclosed rather than contradicted.

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?

Three short sentences, zero filler, with the hard constraint (max 3 URLs) and the highest-leverage optional behavior (output_path) placed early. Every sentence carries information the agent needs to act.

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?

An output schema exists, so return values need not be explained, and the description covers the batching limit and the persistence side effect, which are the two things that most change how the tool is called. What remains missing is guidance on handling more than 3 URLs and how partial failures surface to the caller, a minor gap given the rich schema.

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% and the request object's description already enumerates urls, languages, include_timestamps, timezone, output_path, include_content_in_response, and overwrite. The description only re-states the URL cap and output_path behavior, adding no format or edge-case detail beyond the schema; 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 opens with a specific verb and resource ("Extract transcripts from multiple YouTube videos"), and the word "multiple" plus the batch_ name prefix distinguishes it in practice from the single-video sibling extract_youtube_transcript. It never names that sibling explicitly, so an agent must infer the split, keeping this 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 Guidelines3/5

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

The description gives an operational constraint ("Max 3 URLs per call") and explains the output_path option's effect (persist files, get a slim response), which is real usage guidance. However, it never says when to prefer this over extract_youtube_transcript or how to handle larger batches (chunking? repeat calls?), leaving the key routing and batching decisions to inference.

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