Skip to main content
Glama

YouTube Transcript Scraper — Captions & Full Text

youtube_transcript_scraper
Read-only

Extract full transcripts from YouTube videos

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": {
      "youtube_urls_or_video_ids": "<youtube_urls_or_video_ids>"
    },
    "name": "youtube_transcript_scraper"
  }
}

Input Schema

NameRequiredDescriptionDefault
apify_api_keyNoYour Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up
preferred_languagesNoLanguage codes in priority order, e.g
include_timed_segmentsNoAlso return the timed caption lines (start, duration, text), not just the plain transcript
youtube_urls_or_video_idsYesVideo URLs (watch, youtu.be, shorts, embed) or bare 11-char ids, one per line

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / apify_api_key
      Added value: +{
      +  "description": "Your Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / include_timed_segments
      Added value: +{
      +  "description": "Also return the timed caption lines (start, duration, text), not just the plain transcript",
      +  "type": "string"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "Input for YouTube Transcript Scraper. See https://apify.com/noniner/youtube-transcript-scraper.",
      -  "type": "object"
      -}
    • addedInput schema / properties / preferred_languages
      Added value: +{
      +  "description": "Language codes in priority order, e.g",
      +  "type": "string"
      +}
    • addedInput schema / properties / youtube_urls_or_video_ids
      Added value: +{
      +  "description": "Video URLs (watch, youtu.be, shorts, embed) or bare 11-char ids, one per line",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "youtube_urls_or_video_ids"
      +]
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the description adds little. It does not disclose the significant behavioral quirk that providing apify_api_key switches the actor to live real data, nor anything about failure modes when captions are unavailable — the kind of context annotations cannot convey.

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 front-loaded sentence with no filler, which is appropriate for a simple extraction tool. It is arguably under-specified rather than verbose, but there is no wasted wording to trim.

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?

With 100% schema coverage, no output schema, and read-only annotations, the definition covers the minimum an agent needs to invoke the tool. However, the live-versus-placeholder API key behavior and the relationship to transcript_insights are material gaps for a tool of this kind.

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 including preferred_languages and include_timed_segments are already documented in structured form. The description adds no syntax, ordering, or default-behavior detail beyond the schema, so the baseline of 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?

"Extract full transcripts from YouTube videos" gives a specific verb (extract) and resource (full transcripts), with "full" distinguishing it from timed-segment or summary output. It does not distinguish itself from the sibling transcript_insights, so an agent cannot tell from the description alone which of the two to pick.

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 at all: no prerequisites, no mention of when to prefer this over transcript_insights, and no note about the optional API key gating live versus non-live results. The agent must infer everything from the schema.

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.