Skip to main content
Glama
suckerfish

YouTube Transcript MCP Server

by suckerfish

search_transcript

Find specific text within YouTube video transcripts with timestamps and context. Search by video ID or URL, control case sensitivity, and adjust context window for precise results.

Instructions

    Search for specific text within a YouTube video transcript.
    
    Args:
        video_id: YouTube video ID or URL
        query: Text to search for
        language_code: Optional language code for transcript
        case_sensitive: Whether search should be case sensitive
        context_window: Seconds of context to include before/after matches
        
    Returns:
        Search results with context and timestamps
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
video_idYes
queryYes
language_codeNo
case_sensitiveNo
context_windowNo
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes what the tool does (search transcripts) and mentions the return format (results with context and timestamps), but doesn't disclose important behavioral traits like error conditions, rate limits, authentication requirements, or what happens with invalid inputs. The description provides basic functional context but lacks operational details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly structured and concise with zero wasted words. It begins with a clear purpose statement, then provides organized parameter explanations in an Args section, and concludes with return value information. Every sentence serves a specific purpose, and the information is front-loaded with the most important details first.

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?

Given 5 parameters with no schema descriptions and no output schema, the description provides adequate parameter semantics but lacks completeness about behavioral aspects. For a search tool with multiple configuration options and no annotations, the description should ideally mention more about error handling, result format details, or limitations. It covers the basics but leaves gaps in operational context.

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?

With 0% schema description coverage, the description compensates well by explaining all 5 parameters in the Args section, adding meaningful context beyond just parameter names. It clarifies that video_id accepts 'YouTube video ID or URL', query is 'Text to search for', language_code is 'Optional language code for transcript', case_sensitive controls 'Whether search should be case sensitive', and context_window specifies 'Seconds of context to include before/after matches'. This provides good semantic understanding of each parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verb ('search') and resource ('YouTube video transcript'), distinguishing it from sibling tools like get_transcript (which retrieves full transcripts) and get_transcript_summary (which provides summaries). The description explicitly mentions searching for specific text within transcripts, making the purpose unambiguous.

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 description implies usage context by specifying it searches within YouTube video transcripts, but doesn't explicitly state when to use this tool versus alternatives like get_transcript (for full transcripts) or get_available_languages (for language options). No guidance is provided about prerequisites, limitations, or when-not-to-use scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/suckerfish/yttranscript_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server