Skip to main content
Glama

youtube_video

Destructive

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

Input Schema

NameRequiredDescriptionDefault
urlYesURLs,该参数用于指定待采集的访问 URL 地址。用于 youtube_video_by-url。调用方必须提供非空值,不使用默认值。
bitrateNo比特率,按比较符和码率值组装。比较符为 <= 或 >=,码率可选 48、64、128、160、256、320,默认值为 <=320。<=320
file_nameNoBuilder file_name 字段。不传默认为 {{TasksID}}。{{TasksID}}
resolutionNo分辨率,按比较符和分辨率组装。比较符为 <= 或 >=,分辨率可选 360p、480p、720p、1080p、1440p、2160p,默认值为 <=360p。<=360p
video_codecNo视频编码,参数值取 typeValue。可选 avc1、vp9、av01,默认值为 vp9。vp9
audio_formatNo音频格式,参数值取 typeValue。可选 opus、m4a,默认值为 opus。opus
selected_onlyNo是否仅下载已选规格。true 表示没有符合要求的规格则不下载;false 表示没有符合要求的规格时按 YouTube 支持的默认规格继续下载。默认值为 false。false
subtitles_languageNo字幕语言,该参数定义了采集 YouTube 时下载字幕的语言。按文档示例提交语言 typeValue,例如 ab、en、zh-Hans、zh-Hant,默认值为 ab。ab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructive=true, readOnly=false, idempotent=false, openWorld=true, so the agent knows this is a non-idempotent write. The description adds that it submits an asynchronous 'Builder task' with a fixed collector id, but does not disclose the async task-id workflow (implied by siblings scraper_task_status/scraper_task_result) or what resources the download consumes.

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?

Two sentences; the trigger conditions and the core action are front-loaded. The repetitive keyword enumeration ('YouTube 视频文件、YouTube 视频下载、YouTube video file、视频文件') is somewhat padded but serves a routing function.

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 an 8-parameter, non-idempotent, destructive task-submission tool with no output schema, the description should explain that it returns/queues an async task and how results are retrieved. It covers the trigger and the collector id but leaves the task lifecycle and return behavior unexplained.

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 every parameter (bitrate, resolution, codecs, subtitles_language, selected_only) is documented in the schema with defaults and allowed values. The description adds nothing about parameter meaning beyond restating the fixed collector identifier, 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?

States a specific verb+resource: 'submit a YouTube video file collection Builder task' with a fixed collector identifier 'youtube_video_by-url'. This lets an agent distinguish it from siblings like youtube_audio, youtube_transcript, and youtube_video_post, though the leading trigger-keyword list dilutes the core statement.

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?

It enumerates trigger phrases ('video file', 'download', combined with collect/scrape/crawl/fetch/extract/download), which implies when to fire, but never says when NOT to use it or names a specific alternative (e.g. youtube_audio for audio-only or youtube_transcript for captions). Usage is implied rather than contrasted.

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