Skip to main content
Glama

BulkTranscripts YouTube

Get many transcripts at once

get_transcripts
Idempotent

Fetch transcripts for up to 20 videos in one call — pass an array of YouTube URLs or ids. Videos are fetched in parallel and the call returns within about 40 seconds; any video still being fetched at that point is listed in failed with code still_fetching, is not charged, and keeps fetching in the background — call this tool again with those ids in 15-30 seconds and they return instantly. Each new library addition costs 1 credit; repeats from this account's library are free. Videos without captions are reported per-item and do not fail the batch. For whole channels or playlists, first list the videos with get_channel_videos / get_playlist_videos, then batch the ids through this tool; one call counts as one request against the rate limit however many videos it holds. If the balance runs out, completed items are returned with partial=true and an out_of_credits stopped block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
videosYesUp to 20 YouTube video URLs or ids.
languageNoPreferred caption language code. Default 'en'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
failedYes
billingYes
partialNoPresent and true when credits ran out mid-batch.
stoppedNo
requestedYes
succeededYes
transcriptsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "billing": {
      +      "properties": {
      +        "creditsCharged": {
      +          "description": "Credits this call cost (0 on cache hits).",
      +          "type": "integer"
      +        },
      +        "enabled": {
      +          "type": "boolean"
      +        },
      +        "freeLimit": {
      +          "type": "integer"
      +        },
      +        "granted": {
      +          "type": "integer"
      +        },
      +        "kind": {
      +          "description": "anon (free tier), license (paid) or admin.",
      +          "type": "string"
      +        },
      +        "remaining": {
      +          "description": "Credits left on this account.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "unlimited": {
      +          "type": "boolean"
      +        },
      +        "used": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "enabled"
      +      ],
      +      "type": "object"
      +    },
      +    "failed": {
      +      "items": {
      +        "properties": {
      +          "error": {
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "message": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message"
      +            ],
      +            "type": "object"
      +          },
      +          "video": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "video",
      +          "error"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "partial": {
      +      "description": "Present and true when credits ran out mid-batch.",
      +      "type": "boolean"
      +    },
      +    "requested": {
      +      "type": "integer"
      +    },
      +    "stopped": {
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "not_attempted": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "code"
      +      ],
      +      "type": "object"
      +    },
      +    "succeeded": {
      +      "type": "integer"
      +    },
      +    "transcripts": {
      +      "items": {
      +        "properties": {
      +          "billing": {
      +            "properties": {
      +              "creditsCharged": {
      +                "description": "Credits this call cost (0 on cache hits).",
      +                "type": "integer"
      +              },
      +              "enabled": {
      +                "type": "boolean"
      +              },
      +              "freeLimit": {
      +                "type": "integer"
      +              },
      +              "granted": {
      +                "type": "integer"
      +              },
      +              "kind": {
      +                "description": "anon (free tier), license (paid) or admin.",
      +                "type": "string"
      +              },
      +              "remaining": {
      +                "description": "Credits left on this account.",
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "unlimited": {
      +                "type": "boolean"
      +              },
      +              "used": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "enabled"
      +            ],
      +            "type": "object"
      +          },
      +          "cached": {
      +            "description": "True when served from this account's library (free).",
      +            "type": "boolean"
      +          },
      +          "channel": {
      +            "type": "string"
      +          },
      +          "duration": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "duration_text": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "language": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "paragraphs": {
      +            "description": "Silence-grouped paragraphs; best for reading and chunking.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "segments": {
      +            "description": "Only when include_segments is true.",
      +            "items": {
      +              "properties": {
      +                "duration": {
      +                  "type": "number"
      +                },
      +                "start": {
      +                  "type": "number"
      +                },
      +                "text": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "text",
      +                "start"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "source": {
      +            "description": "manual_caption or auto_caption.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "upload_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": "string"
      +          },
      +          "video_id": {
      +            "type": "string"
      +          },
      +          "word_count": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "video_id",
      +          "url",
      +          "title",
      +          "channel",
      +          "text",
      +          "paragraphs"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "requested",
      +    "succeeded",
      +    "failed",
      +    "transcripts",
      +    "billing"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Discloses latency behavior (~40s cutoff), per-item failure semantics, background continuation, credit cost model, rate-limit accounting, and out_of_credits partial results — far beyond what the annotations 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?

Dense but front-loaded with the core promise and limits first, then failure/cost/retry semantics. Nearly every sentence carries operational weight, though it runs longer than strictly necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch tool with an output schema, the description covers everything an agent needs: scope limits, timeout behavior, retry path, cost, and partial-failure handling.

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 coverage is 100%, so both parameters are already documented; the description mostly restates the array-of-ids concept and does not add format or syntax 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Fetch transcripts'), quantifies scope ('up to 20 videos in one call'), and implicitly separates itself from the singular get_transcript and the bulk siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit routing: use get_channel_videos / get_playlist_videos first, then batch ids through this tool. Also gives retry guidance (call again in 15-30 seconds for still_fetching ids).

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