YouTube Knowledge MCP
YouTube Knowledge MCP
Ein Model Context Protocol (MCP)-Server, der KI-Assistenten die Möglichkeit gibt, Wissen aus YouTube-Videos zu suchen, zu analysieren und zu extrahieren. Funktioniert mit Claude Desktop, Claude Code, Claude.ai, Cursor und jedem MCP-kompatiblen Client.
Unterstützt sowohl lokale (stdio) als auch entfernte (Streamable HTTP) Transporte.
![]()
Funktionen
Finden und lesen
Suchen Sie Videos und Kanäle per Schlüsselwort
Abrufen von Videos aus einer Wiedergabeliste oder einem Kanal
Metadaten zu Videos, Kanälen und Wiedergabelisten, Kapitel und Top-Kommentare
Transkripte mit Zeitstempeln, geschnitten nach Zeitbereich oder Kapitel und begrenzt, sodass ein dreistündiges Video Ihren Kontext nicht überflutet
Suchen Sie in einem Transkript und erhalten Sie
?t=-Links, die das Video genau an der betreffenden Stelle öffnenStapelwerkzeuge: Transkripte für viele Videos auf einmal oder eine Zusammenfassung einer gesamten Wiedergabeliste
Für die Bearbeitung extrahieren
Einen Zeitbereich ausschneiden, ohne das gesamte Video herunterzuladen – präzise oder an Keyframes schneiden, per Zeitstempel oder Kapitelname
Audioclips in MP3, M4A, WAV, FLAC oder Opus
Einzelbilderfassung zu jedem Zeitpunkt, ohne die Datei herunterzuladen
Untertitel-Export als SRT, WebVTT oder Klartext für Premiere, Resolve oder CapCut
Vollständige Downloads mit Qualitätsvoreinstellungen
Behalten Sie, was Sie lernen (lokaler Modus)
Speichern Sie Zusammenfassungen und Notizen zu Fähigkeiten in einer lokalen Bibliothek
Lesen Sie sie erneut und durchsuchen Sie alle per Volltext-Ranking
Taggen, umtaggen und löschen
Ein Gehirn für einen Kanal aufbauen (lokaler Modus)
Einen gesamten Kanal in ein durchsuchbares Korpus zeitgestempelter Passagen überführen, in jeder Untertitelsprache, fortsetzbar und gefahrlos unterbrechbar – ein zweiter Durchlauf setzt dort fort, wo er gestoppt wurde, und nimmt neue Uploads auf
Fragen, was ein Ersteller zu irgendetwas gesagt hat, in jedem Video, und erhalten Sie die Momente selbst mit Links, die das Video dort öffnen
Den Kanal vermessen: wie viel lesbar war, sein Upload-Rhythmus, seine Sprechgeschwindigkeit und die Phrasen, die er über Videos hinweg wiederholt
Ein schriftliches Profil neben dem Korpus führen, das auf Passagen basiert, die Sie zitieren können
Gebaut, um zuverlässig zu bleiben
WebVTT wird von der W3C-Referenzimplementierung geparst, nicht von einem handgeschriebenen Abgleicher
Typisierte, umsetzbare Fehler – „keine Untertitel auf Englisch, versuchen Sie: Französisch, Spanisch, Deutsch“ statt einer Wand aus yt-dlp-Fehlerausgabe
Timeouts, Wiederholungen mit Backoff und eine Begrenzung der Nebenläufigkeit bei jedem yt-dlp-Aufruf
check_healtherkennt fehlendes oder veraltetes yt-dlp und ffmpegStrukturierte Ausgabe für jedes Werkzeug sowie MCP-Ressourcen, Prompts und Vervollständigungen
Related MCP server: YouTube Translate MCP
Voraussetzungen
Node.js 22+
yt-dlp – für jedes Werkzeug erforderlich.
brew install yt-dlp(macOS) oderpip install -U yt-dlpffmpeg – erforderlich für Downloads, Clip-Extraktion und Einzelbilderfassung. Alles andere funktioniert auch ohne es.
Führen Sie das check_health-Werkzeug aus, um zu bestätigen, dass beide installiert und aktuell sind. Ein veraltetes yt-dlp ist die häufigste Ursache für unerklärliche Fehler, da sich YouTube häufig ändert; yt-dlp -U behebt die meisten davon.
Installation
Über npm (empfohlen)
npm install -g youtube-knowledge-mcpÜber npx (ohne Installation)
Direkt mit npx konfigurieren (siehe Abschnitt „Konfiguration“).
Aus dem Quellcode
git clone https://github.com/teobouancheau/youtube-knowledge-mcp.git
cd youtube-knowledge-mcp
npm install
npm run buildKonfiguration
Lokal (stdio) – Claude Desktop, Claude Code, Cursor
Schnellstart mit npx
{
"mcpServers": {
"youtube-knowledge": {
"command": "npx",
"args": ["-y", "youtube-knowledge-mcp"]
}
}
}Bei globaler Installation
npm install -g youtube-knowledge-mcp{
"mcpServers": {
"youtube-knowledge": {
"command": "youtube-knowledge-mcp"
}
}
}Speicherorte der Konfigurationsdateien
Client | Pfad |
Claude Desktop (macOS) |
|
Claude Desktop (Windows) |
|
Claude Desktop (Linux) |
|
Claude Code |
|
Cursor |
|
Starten Sie Ihren Client nach der Aktualisierung der Konfiguration neu.
Remote (HTTP) – Claude.ai, Claude Mobile, Benutzerdefinierte Connectors
Der Server unterstützt den Streamable-HTTP-Transport für den Fernzugriff über die offiziellen Connectors von Claude.
Jede Remote-Einrichtung ist Ihre eigene Bereitstellung. Es gibt bewusst keine gemeinsame Instanz, auf die ein Connector zeigen könnte: Jeder Aufruf startet einen yt-dlp-Prozess, sodass ein einzelner Host, der den Datenverkehr anderer bedient, ein Host ist, den YouTube für alle einschränkt. Mit der Schaltfläche unten stellen Sie dieses Repository in etwa zwei Minuten in Ihrem eigenen Render-Konto bereit, ohne etwas zu klonen.
Selbst gehostet
npm run build
npm run start:httpDer Server lauscht auf PORT (Standard 3000). Setzen Sie die Umgebungsvariable PORT, um den Wert zu ändern.
Docker
docker build -t youtube-knowledge-mcp .
TOKEN=$(openssl rand -hex 32) && echo "MCP_AUTH_TOKEN=$TOKEN"
docker run -p 3000:10000 -e MCP_AUTH_TOKEN="$TOKEN" youtube-knowledge-mcpDas Token wird ausgegeben, weil nichts anderes es ausgeben wird: Der Server protokolliert, dass ein Token erforderlich ist, niemals dessen Wert. Senden Sie es als Authorization: Bearer $TOKEN.
Das Image setzt PORT=10000 und macht es verfügbar; veröffentlichen Sie es auf einem beliebigen Host-Port. Der Build findet innerhalb des Images statt, daher ist kein lokales npm run build erforderlich.
Auf Render bereitstellen
Die Schaltfläche öffnet den Blueprint-Flow von Render mit render.yaml in diesem Repository, der das Docker-Image erstellt, den Health-Check auf /health ausrichtet und ein MCP_AUTH_TOKEN für Sie generiert. Kein Fork, kein Klon, keine auszufüllenden Einstellungen – der Dienst gehört Ihnen, auf Ihrem Konto.
Klicken Sie auf die Schaltfläche und bestätigen Sie. Render erstellt das Image und stellt es bereit.
Öffnen Sie den Tab Umgebung des Dienstes und kopieren Sie das generierte
MCP_AUTH_TOKEN. Der HTTP-Transport lehnt jede Anfrage ohne dieses Token ab, sodass eine durchgesickerte URL keinen offenen Server darstellt.Fügen Sie
https://<your-service>.onrender.com/mcpals benutzerdefinierten Connector hinzu, mitAuthorization: Bearer <token>.
Sobald der Dienst existiert, ist Folgendes sinnvoll: Setzen Sie MCP_ALLOWED_HOSTS auf den Hostnamen Ihres Dienstes (<your-service>.onrender.com). Er kann nicht aus dem Blueprint ausgefüllt werden, da der Hostname erst existiert, wenn der Dienst es tut, und er Anfragen ablehnt, die unter einem anderen Namen eingehen.
Ihre Instanz folgt nicht diesem Repository. Der Blueprint setzt autoDeployTrigger: off, da ein automatisches Deployment Code, der hierher geschoben wird, in Ihrem Konto unter Ihrem Token ausführen würde, ohne dass Sie ihn zuerst gelesen haben. Um eine neuere Version zu übernehmen, verwenden Sie Manuelle Bereitstellung für den Dienst.
Der kostenlose Plan wechselt nach Inaktivität in den Ruhezustand, sodass der erste Aufruf nach einer Pause auf einen Kaltstart wartet. Jeder kostenpflichtige Plan beseitigt das.
Über Claude.ai verbinden
Gehen Sie zu Einstellungen > Connectors
Klicken Sie auf Benutzerdefinierten Connector hinzufügen
Geben Sie Ihre Server-URL ein (z. B.
https://your-app.onrender.com/mcp)Fügen Sie den Header
Authorization: Bearer <token>hinzu, wenn SieMCP_AUTH_TOKENgesetzt habenKlicken Sie auf Hinzufügen
MCP-Werkzeuge
33 Werkzeuge. Die 14 schreibgeschützten funktionieren über beide Transporte; die 19, die auf Ihr Dateisystem zugreifen, sind nur im lokalen (stdio) Modus registriert, sodass eine Remote-Bereitstellung nicht auf die Festplatte des Hosts zugreifen kann.
Jedes Werkzeug gibt menschenlesbaren Text und typisierte strukturierte Ausgabe zurück und meldet Fehler als umsetzbare Meldung – [NO_CAPTIONS] No "en" captions are available for this video. Call get_transcript again with one of: fr, es, de.
Ermittlung – remote + lokal
Tool | Wichtige Parameter | Rückgabe |
|
| Passende Videos mit Dauer, Kanal und Aufrufzahlen |
|
| Passende Kanäle mit Abonnentenzahlen |
|
| Videos in einer Wiedergabeliste oder einem Kanal |
|
| Titel, Kanal, Dauer, Aufrufe, Likes, Beschreibung, Tags |
|
| Name, Handle, Abonnentenzahl, Beschreibung |
|
| Titel, Kanal, Videoanzahl, zuletzt aktualisiert |
|
| Kapiteltitel mit Start-/Endzeiten und Deep Links |
|
| Top-Kommentare nach Beliebtheit |
|
| Verfügbare Formate, gruppiert nach Video+Audio, Nur-Video, Nur-Audio |
| — | yt-dlp- und ffmpeg-Status, Versionen und Warnungen zu veralteten Versionen |
Transkripte – remote + lokal
Tool | Wichtige Parameter | Rückgabe |
|
| Transkript als Klartext, mit Zeitstempeln versehene Zeilen oder Cues |
|
| Übereinstimmungen mit Zeitstempeln und |
|
| Transkripte für viele Videos; Fehler werden pro Video gemeldet |
|
| Metadaten pro Video, Kapitel und Transkript-Statistiken |
format: "timestamped" stellt jeder Zeile [MM:SS] voran – verwenden Sie es, wenn Sie einen Moment zitieren oder verlinken müssen. maxChars mit offset liest ein langes Transkript in Teilen, statt 100.000+ Tokens auf einmal zurückzugeben.
Extraktion für die Bearbeitung – nur lokal
Tool | Wichtige Parameter | Rückgabe |
|
| Pfad zum ausgeschnittenen Video |
|
| Pfad zur Audiodatei |
|
| Eine Datei pro Bereich |
|
| Pfad zu einem PNG- oder JPG-Standbild |
|
| Pfad zur Untertiteldatei |
|
| Pfad zum heruntergeladenen Video |
Clips werden mit --download-sections geschnitten, sodass nur der Bytebereich abgerufen wird, der das Fenster abdeckt, nicht die gesamte Datei. preciseCuts (Standard true) schneidet exakt an den gewünschten Zeiten; setzen Sie es auf false, um einen schnelleren, an Keyframes ausgerichteten Schnitt zu erhalten. Alle diese Funktionen erfordern ffmpeg.
Wissensbibliothek — nur lokal
Tool | Wichtigste Parameter | Rückgabe |
|
| Pfad zur gespeicherten Notiz |
|
| Gespeicherte Einträge, neueste zuerst |
|
| Das gespeicherte Markdown und seine Metadaten |
|
| Relevante Treffer mit Auszügen |
|
| Die aktualisierten Tags |
|
| Was gelöscht wurde |
| — | Anzahl der neu indizierten Notizen |
Kanal-Gehirne — nur lokal
Tool | Wichtigste Parameter | Rückgabe |
|
| Was gelesen wurde, was ausgeschlossen wurde und die Statistiken |
|
| Passagen mit Zeitstempeln und |
| — | Jedes lokal erstellte Gehirn |
|
| Abdeckung, Statistiken und wiederkehrende Ausdrücke |
|
| Pfad zum gespeicherten Profil |
|
| Was entfernt wurde |
build_brain ist das einzige, das auf das Netzwerk zugreift. Die übrigen lösen einen Kanal aus dem bereits auf der Festplatte Vorhandenen auf, sodass sie offline arbeiten und nichts kosten.
Ein Gehirn enthält eine Untertitelsprache; übergib language, um eine andere zu lesen, und erstelle ein separates Gehirn pro Sprache.
since und minDurationSeconds beschreiben das Gehirn, nicht nur den Aufruf, der sie übergeben hat. Sie werden jedes Mal erneut angewendet. Wenn du eines einschränkst, werden die Passagen der ausgeschlossenen Videos verworfen; wenn du es erweiterst, werden sie erneut gelesen — deshalb ist build_brain als destruktiv markiert. Ob ein Video qualifiziert ist, wird anhand des bereits aufgezeichneten Datums und der Länge entschieden. Wenn du deine Meinung änderst, kostet das also keine Anfragen, bis es etwas Neues zu holen gibt. Diese Werte stammen aus den eigenen Metadaten jedes Videos, niemals aus einer Schätzung: Eine flache Kanalliste enthält überhaupt kein Veröffentlichungsdatum.
build_brain repariert außerdem. Wenn die Passagendatei verloren geht oder abgeschnitten ist, werden die Videos, für die sie nicht mehr aufkommen kann, beim nächsten Aufruf erneut gelesen, anstatt für immer als bereits erledigt übersprungen zu werden.
Prompts
Wiederverwendbare Workflows, die dein Client direkt aufrufen kann: summarize_video, extract_skill, compare_videos, research_topic, channel_deep_dive, clip_from_quote (einen Ausdruck finden und dann den Clip darum herum ausschneiden) und — nur lokal — review_library, create_brain (das Korpus eines Kanals aufbauen und daraus sein Profil schreiben) und ask_creator (eine Frage streng auf Basis eines Gehirns mit Quellenangaben beantworten).
Ressourcen
youtube://transcript/{videoId}— ein Transkript mit Zeitstempeln, das beim ersten Lesen abgerufen und zwischengespeichert wirdyoutube://library/{videoId}/{summary|skill}— eine gespeicherte Notiz (nur lokal und aufzählbar)youtube://brain/{channelId}/{manifest|profile}— was ein Kanal-Gehirn abdeckt oder das daraus geschriebene Profil (nur lokal und aufzählbar)
Fehlercodes
Fehler werden im Ergebnis gemeldet, damit das Modell sie lesen und sich davon erholen kann. Jeder ist mit einem Code versehen und enthält einen nächsten Schritt.
Code | Bedeutung |
| Das Video kann nicht abgerufen werden |
| yt-dlp meldet, dass das Video ein angemeldetes Konto benötigt |
| Keine Untertitel in der angeforderten Sprache; die Meldung listet die vorhandenen auf |
| Ein bevorstehender Stream oder einer, dessen Aufzeichnung noch verarbeitet wird |
| Vorübergehend; werden automatisch mit Backoff erneut versucht, bevor sie angezeigt werden |
| Ein Tooling-Problem; die Meldung erklärt, wie es zu beheben ist |
| Ein ungültiges Argument, das vor jedem Netzwerkaufruf abgefangen wird |
| Der Client hat die Anfrage abgebrochen |
Umgebungsvariablen
Alle optional.
Variable | Standard | Zweck |
| unset | Dieses Bearer-Token auf dem HTTP-Transport verlangen. Setze dies, wenn du den Server über localhost hinaus verfügbar machst. |
| unset | Kommagetrennte Host-Zulassungsliste; aktiviert DNS-Rebinding-Schutz |
| unset | Kommagetrennte Origin-Zulassungsliste |
|
| Zu bindende Schnittstelle |
|
| HTTP-Port. Das Docker-Image setzt |
|
| Anfragen pro Fenster, pro Client |
|
| Fenster für die Ratenbegrenzung |
|
| HTTP-Sitzungen schließen, die so lange inaktiv sind |
|
| Neue Sitzungen über diese Anzahl hinaus ablehnen |
|
| Gleichzeitige yt-dlp-Prozesse |
| 30 Tage | Lebensdauer des Transkript-Caches |
Bibliotheksspeicher
Inhalte werden unter ~/.youtube-knowledge/ gespeichert:
~/.youtube-knowledge/
├── transcripts/ # Cached timestamped transcripts
│ └── {video_id}.{lang}.json
├── library/ # Saved notes
│ └── {video_id}/
│ ├── metadata.json
│ ├── summary.md
│ └── skill.md
├── brains/ # Channel brains
│ └── {channel_id}/
│ ├── manifest.json # What the brain covers, and where a build stopped
│ ├── chunks.json # The timestamped passages
│ └── profile.md # The written account, if one was saved
├── downloads/ # Full downloads
├── clips/ # Extracted clips
├── frames/ # Captured stills
├── subtitles/ # Exported SRT / VTT / TXT
├── index.json # Library index
└── search-index.json # Full-text search indexTranskripte werden standardmäßig 30 Tage lang zwischengespeichert; übergib refresh: true an ein beliebiges Transkript-Tool, um den Cache zu umgehen, oder setze YOUTUBE_MCP_TRANSCRIPT_TTL_MS.
Jedes Tool, das Dateien schreibt, beschränkt seine Ausgabe auf dein Home-Verzeichnis, und outputDir wird abgelehnt, wenn es woandershin zeigt.
Anwendungsbeispiele
Einen Moment finden und zitieren
"Find where this video talks about rate limiting and give me the timestamp:
https://youtube.com/watch?v=..."search_transcript gibt jeden Treffer mit einem Link zurück, der das Video an dieser Sekunde öffnet, sodass die Behauptung überprüft werden kann, statt ihr zu vertrauen.
Einen Moment finden und ausschneiden
"Find where she says 'the real bottleneck was the database' and cut me a
30-second clip around it"search_transcript findet den Moment, extract_clip schneidet ihn aus. Es wird nur der Bytebereich heruntergeladen, der den Clip abdeckt.
Einen Abschnitt eines langen Videos lesen
"Summarize just the 'Benchmarks' chapter of this 3-hour podcast"get_chapters findet den Abschnitt, dann liest get_transcript mit chapter: "Benchmarks" nur diesen Teil, statt des Ganzen.
Eine Playlist kostengünstig überblicken
"What does this 40-video course cover, and which three videos should I watch?"digest_playlist liefert Metadaten und Kapitel für jedes Video in einem einzigen Aufruf.
Filmmaterial für einen Schnitt vorbereiten
"Pull these four moments as separate clips and export the subtitles as SRT"extract_clips schneidet alle vier in einem Aufruf; export_subtitles schreibt eine Datei, die dein Editor importieren kann.
Eine Wissensdatenbank aufbauen und abfragen
"Summarize this video and save it to my library tagged 'databases'"
"What have I saved about connection pooling?"save_to_library speichert es; search_library durchsucht alles Gespeicherte mit Volltextrankings.
Ein Gehirn für einen Creator aufbauen
"Build a brain for @Fireship, then tell me everything they've said about Rust"build_brain liest den Kanal in Passagen mit Zeitstempel — unterbrich es und rufe es erneut auf, um fortzufahren. ask_brain antwortet dann auf der Grundlage dessen, was tatsächlich gesagt wurde, und gibt die Momente selbst zurück, sodass jede Behauptung anhand des Videos überprüft werden kann. Führe build_brain einen Monat später erneut aus, und es liest nur die neuen Uploads.
Tests
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:coverage # Coverage report, with thresholds enforcedDie Testsuite deckt die reine Logik direkt ab, treibt den echten Server über einen MCP-Client über einen In-Memory-Transport an, testet die Bibliothek gegen ein echtes temporäres Dateisystem und erstellt einen Schnappschuss des Tool-Manifests, sodass jede Änderung an der öffentlichen Oberfläche als überprüfbarer Diff erscheint.
Entwicklung
npm run dev # Watch mode
npm run build # Build for production
npm run rebuild # Clean and rebuild
npm start # Run server (stdio)
npm run start:http # Run server (HTTP)
npm run validate # Typecheck + lint + format check + testCI führt bei jedem Push und Pull-Request dieselbe Prüfung unter Node 22 und 24 aus und startet dann den gebauten Server als echten MCP-Client, um das Manifest zu verifizieren.
Mitwirken
Beiträge sind willkommen — siehe CONTRIBUTING.md für die Projektstruktur, Codierungsstandards und wie man ein Tool hinzufügt.
Sicherheit
Der HTTP-Transport ist ohne Authentifizierung, es sei denn, du setzt MCP_AUTH_TOKEN. Siehe SECURITY.md, bevor du ihn über localhost hinaus verfügbar machst, und um eine Schwachstelle zu melden.
Lizenz
MIT-Lizenz – siehe LICENSE für Details.
Danksagungen
Available Tools
13 toolsdownload_videoDownload YouTube VideoA
Download a YouTube video to local disk. Use the quality parameter for automatic format selection with smart fallbacks, or formatId for a specific format from list_formats. Returns the downloaded file path, title, and format details.
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL | |
| quality | No | Quality preset with smart fallback. "best" selects highest available. Specific resolutions fall back to next best if unavailable. "audio" extracts audio only. Default: best | |
| formatId | No | Specific format code from list_formats (e.g., "22", "137+140" for combined). Overrides quality when provided. | |
| outputDir | No | Output directory path. Default: ~/.youtube-knowledge/downloads/ |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnly=false, so the write nature is known. The description adds that the write is to 'local disk' and discloses the return value (file path, title, format details), which annotations do not cover. However, it does not mention other behavioral traits such as overwriting behavior or error handling, so it offers minimal but non-redundant value.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long and front-loads the core purpose, followed by parameter guidance and return value. No words are wasted, and it is well-structured for quick parsing by an agent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description appropriately summarizes the return values. It covers the key parameter choices and gives enough context to use the tool effectively. It does not address edge cases like failures or file conflicts, but the annotations and schema fill in most missing details for a download tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with each parameter fully described. The description adds a small cross-reference between quality and formatId, but largely repeats what the schema already states. Since the schema does the heavy lifting, a baseline score of 3 is appropriate with only marginal added meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Download') and the resource ('a YouTube video to local disk'), distinguishing it from sibling tools like get_video_info or list_formats. It also specifies the function's output (file path, title, format details), leaving no ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit internal guidance on when to use quality vs formatId, and references list_formats to obtain format codes. It does not explicitly state when to use this tool versus alternatives (e.g., when only metadata is needed), but the clear purpose and parameter guidance provide adequate context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fetch_videosFetch YouTube VideosARead-onlyIdempotent
List videos from a YouTube playlist or channel. Returns video IDs, titles, durations, upload dates, and URLs. Sorted by playlist or channel order.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube playlist URL, channel URL, or channel handle (e.g., https://www.youtube.com/@channel) | |
| limit | No | Maximum number of videos to return (1-100, default: 20) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description reveals useful behavioral details such as the returned video fields and the sort order (playlist/channel order). Annotations already cover the read-only, idempotent, and non-destructive nature, so the description adds value without needing to restate those.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, front-loaded with the primary action, and includes only essential details about return values and sorting. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool with two parameters and no output schema, the description adequately covers purpose, return data, and ordering. It could be slightly more complete by referencing alternative tools, but overall it is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides complete descriptions for both parameters (url and limit), so the description does not need to add param-specific meaning. It does echo the url parameter's source types but offers no additional semantic depth.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'List' and a clear resource ('videos from a YouTube playlist or channel'), and specifies the return fields (IDs, titles, durations, upload dates, URLs) and ordering. This distinguishes it from sibling tools like search_videos, which focuses on keyword search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for listing videos from a playlist or channel, but it does not explicitly mention when to use this tool versus search_videos or other alternatives. No exclusions or alternative guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_channel_infoGet YouTube Channel InfoARead-onlyIdempotent
Get metadata for a YouTube channel. Returns channel name, handle, subscriber count, description, and channel URL.
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | YouTube channel URL, handle (e.g., @Fireship), or channel name |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds the specific output fields (channel name, handle, subscriber count, description, URL), which is useful context beyond the annotations, but it does not disclose any error behavior or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that immediately states the function and lists the return fields. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter read tool with strong annotations, the description sufficiently covers the purpose and output shape. The absence of an output schema is compensated by the explicit list of returned fields.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema fully describes the 'channel' parameter as a URL, handle, or name, so schema coverage is 100%. The description does not add any additional parameter semantics beyond what is in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Get' and clearly identifies the resource as 'metadata for a YouTube channel', listing the exact fields returned (name, handle, subscriber count, description, URL). This distinguishes it from sibling tools like get_video_info or search_channels.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for retrieving metadata for a specific known channel, but it does not explicitly state when to use it over alternatives like search_channels. There are no explicit exclusions or alternative recommendations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_chaptersGet YouTube Video ChaptersARead-onlyIdempotent
Extract chapter markers and timestamps from a YouTube video. Returns chapter titles with start and end times. Not all videos have chapters. Returns empty list if none found.
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds value beyond the annotations by disclosing the return contents (titles with start/end times) and the edge case behavior (empty list if no chapters). This informs the agent about expected output and failure mode, which annotations don't cover.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, each conveying essential information without redundancy. The description is tightly written and free of fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter read-only tool, the description is complete: it states what it returns, when it might return nothing, and the input format (covered in schema). No critical information is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already thoroughly describes the 'video' parameter (ID or full URL) at 100% coverage. The description adds no additional parameter semantics, so a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Extract chapter markers and timestamps from a YouTube video,' a specific verb+resource that clearly differentiates this tool from siblings like get_transcript or get_video_info. The additional details about chapter titles and timestamps reinforce the scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: it's for extracting chapters. It implies when to use it (when you need chapter markers) but does not explicitly name alternatives or exclusion criteria. The caveat about videos without chapters adds context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_commentsGet YouTube Video CommentsARead-onlyIdempotent
Get top comments from a YouTube video sorted by popularity. Returns author, text, like count, and pinned status. Only top-level comments, no replies.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of top-level comments to return (1-50, default: 20) | |
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, so the description need not restate safety. It adds valuable behavioral context: sorting by popularity, return fields (author, text, like count, pinned status), and the limitation to top-level comments, going beyond mere annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at two sentences, with the main action front-loaded and every sentence carrying meaningful information. It avoids redundancy and unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only tool with no output schema, the description adequately covers purpose, return values, and scope limitations. Combined with strong annotations and a well-documented schema, it provides a complete picture for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both video and limit fully described in the input schema. The tool description reinforces the 'top-level comments' aspect but does not add significant meaning beyond the schema, so a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (get top comments), the resource (YouTube video), and key details (sorted by popularity, top-level only, no replies). It distinguishes itself from sibling tools like get_video_info and get_transcript by specifying its focus on comments and the exact output fields.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides a clear scope of use (top comments, sorted by popularity) and explicitly excludes replies, guiding when not to use it. However, it does not name an alternative tool for retrieving replies or other comment types, so it falls short of the highest bar for explicit alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_playlist_infoGet YouTube Playlist InfoARead-onlyIdempotent
Get metadata for a YouTube playlist. Returns title, channel, video count, last updated date, and description.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube playlist URL (e.g., https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds the return fields but no additional behavioral context (e.g., whether private playlists are accessible, error behavior, or rate limits). This is adequate for a read-only operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one sentence, front-loaded with the action ('Get metadata for a YouTube playlist') followed by the return fields. Every word earns its place; no filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple tool (one parameter, fully documented in schema) and robust annotations (read-only, idempotent, non-destructive), the description is complete. It clearly states the return fields, which is essential since there is no output schema. No significant gaps are apparent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the url parameter is fully described with an example in the schema. The tool description does not add any additional parameter semantics beyond what the schema already provides, so it meets the baseline for high coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear, specific action: 'Get metadata for a YouTube playlist.' It lists the exact fields returned (title, channel, video count, last updated date, description), which distinguishes it from sibling tools like get_video_info and get_channel_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage is implied by the name and description but never explicitly stated. It does not mention when to use this tool versus alternatives (e.g., for individual videos or channels), nor does it provide any exclusions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_transcriptGet YouTube Video TranscriptARead-onlyIdempotent
Extract the full transcript from a YouTube video. Supports auto-generated and manual captions. Returns plain text with word count and detected language. Results are cached locally.
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL | |
| language | No | Preferred caption language as ISO 639-1 code (e.g., en, fr, es, de). Falls back to available language if unavailable. Default: en | en |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds valuable behavior: it returns plain text with word count and detected language, and states results are cached locally. It also notes support for both auto-generated and manual captions. These details enrich understanding beyond the annotations, though it doesn't discuss error handling or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loaded with the main action ('Extract the full transcript from a YouTube video') and followed by concise details on caption types, output, and caching. Every sentence contributes meaningful information, with no redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with two parameters, robust annotations, and no output schema, the description sufficiently explains the return value (plain text with word count and detected language). It also covers key behavioral aspects like caching and caption support. Combined with the schema and annotations, the tool is fully specified for an agent to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with both parameters clearly documented: video accepts an ID or full URL, and language specifies ISO 639-1 code with fallback behavior and a default. The description adds no extra semantic meaning beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Extract the full transcript from a YouTube video' with a specific verb and resource. It distinguishes itself from sibling tools like get_video_info, get_chapters, or download_video, as no other sibling retrieves transcripts. The mention of supporting both auto-generated and manual captions further clarifies its scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage context is clear: use this tool when you need the transcript of a YouTube video. While it doesn't explicitly name alternatives or exclusions, the tool's unique function among the siblings makes the when-to-use obvious. No misleading guidance is present.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_video_infoGet YouTube Video InfoARead-onlyIdempotent
Get detailed metadata for a single YouTube video. Returns title, channel, duration, upload date, view count, like count, comment count, description, tags, and thumbnail URL.
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds the specific metadata fields returned, but does not disclose error behavior, rate limits, or prerequisites. With annotations present, the extra context is useful but not extensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that leads with the action and resource, followed by a clear list of return fields. Every word adds value, with no redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the burden of explaining return values, which it does by enumerating all metadata fields (title, channel, duration, etc.). For a simple single-parameter, read-only tool with comprehensive annotations, this is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, fully explaining the 'video' parameter as either an ID or full URL. The description adds no additional parameter syntax or constraints beyond the schema, so score matches the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets detailed metadata for a single YouTube video, with a specific verb and resource. It lists the return fields, which distinguishes it from siblings like get_transcript and get_comments that fetch different aspects of a video.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool via 'single YouTube video', indicating it is for individual video metadata rather than search or channel-level info. However, it does not explicitly mention alternatives or exclusions, such as using fetch_videos for multiple videos.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_formatsList YouTube Video FormatsARead-onlyIdempotent
List all available download formats for a YouTube video. Returns format IDs, extensions, resolutions, FPS, codecs, and file sizes. Grouped by video+audio, video-only, and audio-only.
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, open-world, idempotent, and non-destructive behavior. The description adds useful behavioral context beyond that, such as grouping by video+audio, video-only, and audio-only, which helps set expectations about the response structure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the verb and resource, and includes a concise list of return fields. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool with one parameter, good annotations, and no output schema, the description provides sufficient detail about return values and groupings. It lacks explicit error handling details, but that's not critical here.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter 'video' is already fully described in the schema (ID or URL, with examples). The description does not add additional meaning beyond the schema, so the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: listing all available download formats for a YouTube video, with specific details on what is returned. It distinguishes from siblings like download_video or get_video_info by focusing on format listing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context: when you need format IDs, resolutions, etc. for a video. It doesn't explicitly name alternatives or exclusions, but the context is clear enough for an agent to select appropriately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_libraryList YouTube Knowledge LibraryARead-onlyIdempotent
List all saved items in the local YouTube knowledge library. Returns titles, channels, content types, tags, and save dates. Optionally filter by tag. Sorted by most recently saved.
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter results by tag. Case-insensitive partial match (e.g., "ml" matches "machine-learning") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only and idempotent, so the description adds value by disclosing return fields, sorting order, and the optional tag filter. No contradictions found.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the main action, and includes the necessary details without any fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given one optional parameter, no output schema, and good annotations, the description fully covers what is returned, the sorting behavior, and the filter option. It is complete for this simple listing tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema fully documents the tag parameter with a case-insensitive partial match description. The tool description merely repeats 'Optionally filter by tag' without adding new meaning, so baseline 3 applies given 100% schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists all saved items in the local YouTube knowledge library, a specific verb+resource. It also names the returned fields, distinguishing it from siblings like search_videos or get_video_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context: it is for listing saved library items, not for searching external videos. However, it does not explicitly mention alternatives or when not to use it, which would make it a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
save_to_librarySave to YouTube Knowledge LibraryAIdempotent
Save a summary or skill note to the local YouTube knowledge library. Overwrites existing content of the same type for the same video. Returns the saved file path.
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorization and filtering (e.g., ["machine-learning", "tutorial"]) | |
| title | Yes | Video title for library indexing | |
| channel | No | YouTube channel name for library indexing | |
| content | Yes | Content to save: summary, notes, or extracted skill in markdown format | |
| videoId | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) | |
| contentType | No | Type of content: "summary" for video summaries, "skill" for extracted techniques or knowledge | summary |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses important behavioral beyond annotations: it overwrites existing content of the same type for the same video, and it returns the saved file path. This adds context not covered by the idempotentHint or destructiveHint annotations, which is valuable for the agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the primary purpose, and includes key behavioral facts without any fluff. Every sentence earns its place, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the 6-parameter schema and no output schema, the description adequately covers purpose, overwrite behavior, and return value. It does not explain the library concept or parameter relationships beyond that, but the schema fills in those details, leaving the description contextually complete for a straightforward save operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add significant parameter-specific meaning; 'summary or skill note' aligns with the contentType enum but does not elaborate on parameter formats or values beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function with a specific verb and resource: 'Save a summary or skill note to the local YouTube knowledge library.' It also distinguishes itself from sibling tools by focusing on writing to the library, whereas most siblings are read-oriented.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly specify when to use this tool versus alternatives, but the context of sibling tools like list_library implies its role as the write counterpart. The overwrite note hints at usage constraints but lacks explicit exclusions or alternative tool references.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_channelsSearch YouTube ChannelsARead-onlyIdempotent
Search YouTube for channels by keyword or phrase. Returns channel names, handles, subscriber counts, descriptions, and URLs.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of channels to return (1-20, default: 5) | |
| query | Yes | Search query for YouTube channels (e.g., "web development", "machine learning") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds the returned data types (names, handles, subscriber counts) but no additional behavioral traits like pagination, rate limits, or result ordering, leaving room for more transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short sentences, front-loaded with the action, and contains no filler or redundant info. Every word contributes to understanding the tool's purpose and output.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only search tool with a small parameter set and complete schema descriptions, the description is sufficient. It lists the return fields, compensating for the lack of an output schema, and provides enough context for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both 'query' and 'limit' fully described in the schema. The description adds little beyond the schema, only echoing 'keyword or phrase' which is already explicit in the schema. Baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the exact action ('Search YouTube for channels by keyword or phrase') and lists the return fields, making it clear this tool is for channel discovery, distinct from siblings like search_videos. It is specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for channel search but does not explicitly mention alternatives, when-not-to-use, or comparison with sibling tools such as search_videos. It provides context but lacks explicit exclusion or alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_videosSearch YouTube VideosARead-onlyIdempotent
Search YouTube for videos by keyword or phrase. Returns video IDs, titles, durations, channels, view counts, and URLs. Results sorted by relevance.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1-20, default: 5) | |
| query | Yes | Search query (e.g., "machine learning tutorial", "react hooks explained") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate a read-only, idempotent, open-world operation. The description adds behavioral details beyond that: the specific output fields returned and the default relevance sort order. This gives the agent a clearer picture of what to expect, though it doesn't cover pagination or error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three short sentences, each earning its place: the search action, the returned data fields, and the sort order. It is front-loaded with the primary purpose and contains no redundant or vague phrasing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (two params, no output schema, read-only annotations), the description covers the key aspects: what it searches, what it returns, and how results are ordered. It doesn't explicitly discuss edge cases like empty results or API limitations, but the annotations and schema fill in the safety profile and parameter constraints. A small gap is the lack of alternative guidance, but that's more relevant to usage guidelines.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% coverage with descriptions for both 'query' and 'limit', so the baseline is 3. The description mentions 'keyword or phrase' which aligns with the query parameter but doesn't add additional parameter-specific detail beyond the schema. It doesn't explain the effect of the limit parameter beyond the schema's own description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Search YouTube'), the resource ('videos'), and the method ('by keyword or phrase'). It also enumerates the returned fields (IDs, titles, durations, channels, view counts, URLs), making it distinct from sibling tools like search_channels.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use this tool: to find YouTube videos via keywords. It doesn't explicitly mention alternatives or exclusions, but the purpose is unambiguous, and sibling tool names (e.g., search_channels, get_video_info) imply the distinctions. The lack of explicit 'use this instead of...' prevents a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
13 tool updates
v1.1.1- First observed
download_video - First observed
fetch_videos - First observed
get_channel_info - First observed
get_chapters - First observed
get_comments - First observed
get_playlist_info - First observed
get_transcript - First observed
get_video_info - First observed
list_formats - First observed
list_library - First observed
save_to_library - First observed
search_channels - First observed
search_videos
TDQS
Scored across 13 tools
Each tool targets a distinct resource/action combination: searching vs fetching videos, retrieving metadata, transcripts, chapters, comments, channel info, playlist info, formats, downloading, and library operations. No two tools appear to do the same thing.
The vast majority use a consistent verb_noun pattern (get_video_info, search_channels, list_formats). The only deviation is 'save_to_library' which uses a preposition, but it's still clear and readable.
13 tools is well within the ideal 3-15 range and each tool serves a necessary function for the server's purpose of YouTube knowledge management—no redundancy or bloat.
The surface covers search, retrieval, metadata, transcripts, chapters, comments, channels, playlists, download, and library save/list. Minor gap: no explicit delete or update for library items, though save_to_library does overwrite.
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.126 npm4MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.55MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that analyzes YouTube videos, enabling users to extract transcripts, generate summaries, and query video content using Gemini AI.13MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables searching YouTube videos, retrieving and storing transcripts, and performing semantic search over video content without using the official YouTube API.39MIT