Skip to main content
Glama
CTDO YTB MCP

CTDO YTB MCP

by thanhdo1110

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CTDO_TOOL_MODENoTool exposure/weight mode. Supported values include lite, compact, and full. Compact is the default.
GEMINI_API_KEYNoOptional Gemini API key to enable neural embeddings for the local vector RAG knowledge base.
OPENAI_API_KEYNoOptional OpenAI API key to enable neural embeddings for the local vector RAG knowledge base.
TUBELAB_API_KEYNoOptional TubeLab API key for TubeLab-backed features and credit balance.
YOUTUBE_API_KEYSNoOptional comma-separated pool of YouTube API keys. The server runs without any API key by default, but uses these for higher rate limits and batch acceleration.
CTDO_DEFAULT_LANGNoDefault language for transcript/translation features, e.g. vi.
CTDO_OUTPUT_FORMATNoOutput format mode, e.g. compact, to reduce context tokens by stripping null/empty JSON values.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
yt_searchC

Search YouTube videos, Shorts, channels, playlists, trending charts, or categories (works with 0 API key or API v3).

yt_videosB

Batch-fetch lean video metadata, views/likes/velocity, chapters, SponsorBlock segments, and ReturnYouTubeDislike stats.

yt_transcriptB

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

yt_channelsB

Get channel stats, emails/links, creator classification, upload cadence, and recent videos/Shorts/top_videos/playlists/RSS by @handle, URL, or ID.

yt_commentsA

List video comments OR run Audience Intelligence Mining (questions, video requests, pain points, viewer timestamps, sentiment).

yt_playlistsC

Fetch YouTube playlist metadata and video items.

yt_outliersC

TubeLab & Kirbah Outlier Engine: find viral outlier videos (views/subs), related competitor outliers, consistent outlier channels, or trending title templates.

yt_discoverB

Niche & Competitor Suite: find similar channels, discover creators mentioning a topic, validate niche saturation/RPM, or compare channels side-by-side.

yt_packagingC

Audit video packaging: Title CTR score, First-40s Hook speaking WPM & open-loop triggers, SEO tag density, and high-res thumbnails.

yt_kbC

Local Hybrid RAG Knowledge Base (SQLite FTS5 BM25 + Vector RRF): index video transcripts and semantically search exact timestamped moments.

yt_exportA

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

yt_studioC

Connect & manage YOUR OWN YouTube channel: instant @handle binding OR full Google OAuth2 YouTube Studio Analytics (retention, watch time, traffic, revenue), edit video title/tags/privacy, upload thumbnails/videos, manage playlists, and reply to comments.

yt_systemC

Inspect L1/L2 cache hit rate, latency, YouTube API key pool & quota saved, Knowledge Base stats, TubeLab balance, or clear cache.

Prompts

Interactive templates invoked by user choice

NameDescription
viral-outlier-blueprintDiscover outlier videos in a niche, extract viral title formulas, mine viewer comments, and generate 5 data-backed video ideas.
channel-growth-auditDeep CreatorLens-style audit of a YouTube channel: packaging CTR, 40s hook WPM, Shorts vs Long split, and competitor outliers.
video-deep-digestSponsor-stripped chapter breakdown, key takeaways, and audience Q&A / pain points mined from comments.
niche-viability-reportValidate a YouTube niche: breakout rate for small channels, saturation, estimated CPM/RPM, and top title templates.

Resources

Contextual data attached and managed by the client

NameDescription
CTDO YTB MCP Telemetry & Cache StatusLive L1/L2 SQLite cache hit rate, API key pool status, and RAG KB metrics.

TDQS

B3.2/5.0

Scored across 13 tools

Disambiguation4/5

Each tool is anchored to a distinct resource or job (search, videos, transcript, channels, comments, playlists, outliers, discover, packaging, KB, export, studio, system), so selection is usually clear. A few boundaries blur: yt_search vs yt_discover (both can surface channels/topics), yt_outliers vs yt_search trending, and yt_export vs yt_transcript (subtitle export) could be confused, though the descriptions mostly disambiguate.

Naming Consistency4/5

All names follow a uniform `yt_` prefix in snake_case, which makes the set instantly recognizable and sortable. Minor deviation: most suffixes are resource nouns (videos, channels, comments) while a few are verbs or vague nouns (search, discover, system, kb, studio), so the semantic pattern isn't perfectly predictable.

Tool Count5/5

13 tools sits squarely in the well-scoped range, and each one maps to a recognizable YouTube workflow (search, metadata, transcripts, own-channel ops, competitive research, QA, export, diagnostics). Nothing feels redundant or missing at the count level.

Completeness4/5

Coverage is broad: read paths (search, video/channel/playlist metadata, comments, transcripts), write paths (upload, edit metadata, playlists, comment replies via yt_studio), analytics, competitive research, and local RAG indexing/export. Gaps are minor—no dedicated live-stream/trending or scheduling tool, and write/full-lifecycle operations are bundled inside the yt_studio mega-tool rather than being individually addressable.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues