Skip to main content
Glama

youtube_transcript

Destructive

当用户需要 YouTube 字幕文件、YouTube 字幕、YouTube transcript、视频字幕、字幕下载,与采集、抓取、爬取、获取、提取、下载等动词组合时触发。提交 YouTube 字幕文件采集 Builder 任务,采集器标识固定为 youtube_transcript_by-id。

Input Schema

NameRequiredDescriptionDefault
video_idYes视频唯一 ID,该参数用于指定待采集的 YouTube 视频的唯一 ID。用于 youtube_transcript_by-id。调用方必须提供非空值,不使用默认值。
file_nameNoBuilder file_name 字段。不传默认为 {{TasksID}}。{{TasksID}}
selected_onlyNo是否仅下载已选规格。true 表示没有符合要求的规格则不下载;false 表示没有符合要求的规格时按 YouTube 支持的默认规格继续下载。默认值为 false。false
subtitles_typeNo字幕类型,该参数用于指定采集的字幕是自动生成还是用户上传的。可传 auto_generated 或 uploader_provided,也支持中文:自动生成、用户上传。默认值为 auto_generated。auto_generated
subtitles_languageNo字幕语言,该参数定义采集 YouTube 时下载字幕的语言。按文档示例提交语言 typeValue,例如 ab、en、zh-Hans、zh-Hant,默认值为 ab。ab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already disclose the safety profile (readOnlyHint=false, destructiveHint=true, openWorldHint=true, idempotentHint=false), so the burden is partly lifted. The description adds that it submits an async Builder task with a fixed collector id, which is real workflow context, but it does not explain that the call returns a task ID rather than the transcript itself, nor what must be polled afterward.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is a long, repetitive keyword-trigger dump that consumes space without adding information. The actual useful content (the collector id) arrives second and is the only sentence that earns its place.

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?

For a 5-param open-world scraping tool with no output schema and strong annotations, the description should at least convey the async task lifecycle or that results are retrieved elsewhere. It correctly mentions the Builder task and fixed collector, but leaves the caller unsure how output is obtained.

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 every parameter including video_id regex, defaults, and language/type values is already documented in the schema. The description only echoes the collector id and adds no format or semantic detail beyond the schema, warranting the baseline 3.

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 action (提交 YouTube 字幕文件采集 Builder 任务) and pins the collector identifier youtube_transcript_by-id, which distinguishes it from siblings like youtube_video or youtube_audio. It is clear what the tool does, though the opening trigger-phrase list is keyword-stuffed boilerplate rather than purpose specification.

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?

It lists trigger keywords (采集/抓取/爬取/获取/提取/下载) but never says when to choose this over youtube_video, youtube_audio, or scraper_task_result. No exclusions, no prerequisites, no alternative routing is given.

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