Skip to main content
Glama

youtube_audio

Destructive

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

Input Schema

NameRequiredDescriptionDefault
urlYesURLs,该参数用于指定待采集的访问 URL 地址。用于 youtube_audio_by-url。调用方必须提供非空值,不使用默认值。
bitrateNo比特率,按比较符和码率值组装。比较符为 <= 或 >=,码率可选 48、64、128、160、256、320,默认值为 <=320。<=320
file_nameNoBuilder file_name 字段。不传默认为 {{TasksID}}。{{TasksID}}
kilohertzNo千赫兹,按比较符和 typeValue 组装。比较符为 <= 或 >=,typeValue 可选 48000、44100、32000、22500、16000、8000,默认值按文档传参示例为 <=48000。<=48000
audio_formatNo音频格式,参数值取 typeValue。可选 opus、m4a,默认值为 opus。opus
is_subtitlesNo是否需要字幕。参数值为 true 或 false,默认值为 false。false
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 destructiveHint=true, openWorldHint=true, and idempotentHint=false, covering the safety profile. The description adds that this submits an asynchronous Builder task, but omits what happens to prior data, whether auth/keys are required, or how results are retrieved. Some added context but several gaps remain.

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, front-loaded with trigger conditions followed by the task/collector detail. The keyword enumeration is somewhat verbose, but nothing is wasted and the structure is easy to parse.

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, task-submitting tool with no output schema, the description covers the trigger and collector but does not explain the task lifecycle — whether it returns a task ID, how long it runs, or how the agent retrieves results via siblings like scraper_task_status/scraper_task_result. Adequate but incomplete.

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 eight parameters (bitrate, kilohertz, audio_format, subtitles fields, etc.) are already documented. The description adds no parameter-level meaning beyond the schema; the 'youtube_audio_by-url' collector identifier is not a parameter. 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 states a concrete action — submitting a YouTube audio collection Builder task with a fixed collector identifier (youtube_audio_by-url) — which is specific and actionable. It distinguishes the resource (audio files) from the many scraper siblings, though it never explicitly contrasts against neighbors like youtube_video or youtube_transcript.

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 provides trigger conditions (user wants YouTube audio combined with verbs like collect/scrape/download), which gives implied usage context. However, it names no alternatives and gives no when-not guidance, leaving the agent to infer why this tool over youtube_video or youtube_transcript.

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