Skip to main content
Glama
CTDO YTB MCP

CTDO YTB MCP

by thanhdo1110

yt_transcript

Fetches, searches, chapter-splits, sponsor-strips, or translates YouTube transcripts for one or multiple videos without API cost, returning key segments, timestamps, SRT, or VTT.

Instructions

Fetch, search, chapter-split, sponsor-strip, or translate transcripts for 1 or multiple videos (0 API cost).

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": {
      "videos": "<videos>"
    },
    "name": "yt_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPreferred language code e.g. en, vi, ja
modeNoDefault key_segments (first 45s Hook + last 35s Outro saves 85% tokens)
queryNoKeyword when mode="search"
formatNo
videosYesVideo IDs or URLs
saveToFileNoOptional file path to save full transcript directly
translateToNoTranslate captions on-the-fly e.g. vi, en, es
stripSponsorsNoRemove SponsorBlock sponsor/intro segments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 notable quota trait ('0 API cost') and that translation and sponsor-stripping are on-the-fly. It says nothing about failure modes (videos lacking captions), rate limits, or what happens when translateTo and stripSponsors combine with modes.

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 with the resource front-loaded and the cost caveat at the end; no filler. It is efficient, though the capability list is compressed enough that the mapping to the mode enum is left to the schema.

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 tool with one required argument, no annotations, and no output schema, the description covers what the tool does and its cost profile but not the return shape or edge-case behavior. The high schema coverage carries most of the weight, making this adequate rather than complete.

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 88% and the schema already explains lang, mode defaults, query-for-search, saveToFile, translateTo, and stripSponsors. The description adds no parameter-level meaning beyond that, so the baseline of 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 uses a specific verb cluster (fetch, search, chapter-split, sponsor-strip, translate) against a concrete resource (transcripts) and states the multi-video scope. It clearly reads as the caption/transcript tool relative to resource-oriented siblings like yt_videos or yt_search, though it never names a sibling outright.

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?

The listed capabilities imply when to reach for this tool, and '(0 API cost)' signals a cheap path, but there is no explicit when-to-use versus when-not-to-use guidance or mention of prerequisites such as captions existing. An agent must infer the routing from the verb list alone.

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