MCP server for extracting structured intelligence from YouTube channels and videos — transcripts, topics, competitive signals
Single tool 'analyze_channel' has a comprehensive description (380+ chars) and properly typed input schema with Zod validation. However, the description is overly dense and technical, mixing implementation details (API keys, fallback modes) with user-facing intent. Parameter descriptions are adequate but lack format guidance. Output schema is not formally documented, the description mentions fields but no structured schema is visible in the code. Error handling returns generic text responses without recovery guidance. Tool annotations are present (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) which is good, but the annotations contradict the description (marked non-idempotent yet description suggests repeated calls are safe). No pagination support despite potentially large result sets.
Analyze a YouTube channel and return a JSON object with: channel_id, channel_title, channel_url, sample_video_ids[], videos_analyzed (count of videos fetched from playlist), transcripts_available (count with actual caption content), topics[] (top keyword frequencies across all transcripts), topics_structured[] (per-video semantic analysis — each entry has video_id/theme/entities[]/tags[]), note (which analysis mode ran), and optional output_path (local artifact path). Requires YOUTUBE_API_KEY and APIFY_TOKEN; set GEMINI_API_KEY for topics_structured semantic analysis (falls back to keyword-only when absent). Supported channel inputs: @handle (e.g. @fireship), youtube.com/@handle URL, /channel/UC... URL, bare 24-char UCxxxxxx ID, or legacy /c/ and /user/ URLs.
Output schema not formally documented. Description lists fields (channel_id, topics[], topics_structured[]) but no JSON Schema or TypeScript interface is visible. LLMs cannot plan downstream operations without knowing return structure.
Description mixes implementation details (YOUTUBE_API_KEY, APIFY_TOKEN, GEMINI_API_KEY, fallback modes) with user-facing intent. Should state WHAT the tool does and WHEN to use it, not HOW it works internally. Reduces clarity for LLM selection.
Error handling returns plain text error messages without recovery guidance. E.g., 'Error analyzing channel...' gives LLM no actionable next step. Should categorize errors (retryable vs user-fixable) and suggest alternatives.
Tool annotations contradict description. Marked idempotentHint=false and destructiveHint=false, yet description states tool writes local JSON artifacts and hits rate-limited external APIs (non-idempotent). Annotations should reflect actual behavior.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
No pagination or result limiting documented. Tool can analyze up to 50 videos; response could include hundreds of topics and per-video entities. Large unstructured responses waste tokens and risk context window exhaustion.