Skip to main content
Glama

fetch_source

Creates a run directory from a YouTube link or local audio, subtitle, or transcript file; downloads audio and metadata plus Vietnamese subtitles when available; returns run_dir for later tools.

Instructions

Tạo thư mục run mới từ link YouTube (tải audio + metadata + phụ đề tiếng Việt nếu có) hoặc từ file trên máy (audio .mp3/.m4a/.wav…, phụ đề .vtt/.srt, hay transcript .txt/.md). Trả run_dir để dùng cho các tool sau. with_audio=false: chỉ lấy metadata + phụ đề (nhanh, khi chắc chắn phụ đề đủ tốt).

Input Schema

NameRequiredDescriptionDefault
titleNo
sourceYes
with_audioNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the meaningful side effects: it creates a run directory, downloads audio, and pulls metadata plus Vietnamese subtitles when available, and it returns run_dir. It says nothing about network/auth requirements, what happens on an invalid YouTube link or unsupported file, or whether re-running overwrites an existing run folder.

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?

Three sentences, front-loaded with the core action and the input variants, then the return value, then the optional flag's tradeoff. Dense but every sentence adds information; only the parenthetical extension list is slightly padded.

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?

An output schema exists, so run_dir need not be explained in depth, and the workflow position ('dùng cho các tool sau') is covered. Still, for a network-touching tool that writes a new run folder, the unexplained 'title' parameter and the absence of any failure or overwrite behavior leave real gaps.

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 0%, so the description has to compensate. It explains 'source' well (YouTube URL vs. local .mp3/.m4a/.wav and .vtt/.srt/.txt/.md paths) and gives the semantics of with_audio=false. The third parameter, 'title', is never mentioned, leaving one of three parameters undocumented in both schema and description.

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 artifact: 'Tạo thư mục run mới' (create a new run folder), and enumerates precisely what it ingests – a YouTube link or a local audio/subtitle/transcript file. An agent immediately knows this is the entry point that materializes a run workspace, which is distinct from siblings like list_runs, transcribe, or run_status.

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

Usage Guidelines4/5

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

Gives a clear conditional: with_audio=false when you only need metadata plus subtitles and are confident the subtitles are good enough. It also tells the agent this must happen before 'các tool sau' (subsequent tools). It does not name an explicit alternative tool or state exclusions, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.