Skip to main content
Glama
CTDO YTB MCP

CTDO YTB MCP

by thanhdo1110

yt_export

Export YouTube subtitles as SRT, VTT, or TXT, save high-resolution thumbnails and JSON metadata to disk, or extract a direct audio stream URL via yt-dlp.

Instructions

Export subtitles (SRT/VTT/TXT), high-res thumbnails, full JSON metadata to disk, or extract direct audio stream URL via yt-dlp.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>",
      "video": "<video>"
    },
    "name": "yt_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
videoYesVideo ID or URL
targetYes
subFormatNo
outputPathNoDestination file path on disk

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does usefully disclose that the tool writes files to disk and depends on yt-dlp, but it says nothing about overwrite behavior, defaults when outputPath is omitted, or what the audio-URL mode returns versus saves.

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?

One dense sentence that front-loads the verb and lists the output kinds efficiently. The parenthetical format list is compact and earns its place; only the trailing yt-dlp clause is slightly buried.

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?

With five parameters, no annotations, no output schema, and 40% schema coverage, the definition covers the main mode selection adequately. It still leaves real gaps: language selection semantics, whether outputPath is mandatory for disk targets, and where files land by default.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, but the description compensates by expanding the target modes into human terms (subtitles SRT/VTT/TXT, high-res thumbnails, full JSON metadata, direct audio stream URL), which maps directly onto the target and subFormat enums. The lang parameter and the target/outputPath interaction remain undocumented in both places.

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 (export) plus the concrete resource set (subtitles, thumbnails, metadata, audio stream URL) and names the underlying mechanism (yt-dlp). An agent can tell it is a file-export tool rather than a lookup tool, though it never distinguishes itself from the sibling yt_transcript, which plausibly overlaps on the transcript case.

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?

Usage is only implied through the enumerated output kinds: 'to disk' versus 'extract direct audio stream URL' hints at the two modes. There is no explicit when-to-use, no when-not-to-use, and no pointer to yt_transcript for agents that just want text without a file write.

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