Skip to main content
Glama

YouTube Transcript Search

youtube_search_transcript

Find timestamped mentions inside a public YouTube caption transcript using a keyword or regex query, returning matches with surrounding context. No YouTube API key required.

Instructions

Find timestamped mentions inside a public caption transcript. Does not require a YouTube API key.

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": {
      "video": "<video>",
      "query": "<query>"
    },
    "name": "youtube_search_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
regexNo
videoYes
maxMatchesNo
contextSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

C2.9/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 usefully discloses that no YouTube API key is required and that only public captions are searched, but it says nothing about failure behavior when captions are missing, whether it is purely read-only, rate limits, or what a result contains.

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?

Two short sentences, front-loaded with the core action and followed by a useful operational note. Nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A five-parameter tool with no annotations, no output schema, and no schema descriptions needs the description to explain its parameters and return behavior. The current text leaves the regex, context window, and match limit unexplained, which is a substantial gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All five parameters have 0% schema description coverage and the description explains none of them. The regex flag, contextSeconds window, and maxMatches cap are entirely undocumented, so an agent cannot know how to use them from either source.

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 states a concrete verb and scope: 'Find timestamped mentions inside a public caption transcript.' An agent can tell this is an in-transcript search rather than a transcript fetch. It does not explicitly distinguish itself from siblings such as youtube_get_transcript or youtube_find_relevant_segments, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternative. The phrase 'public caption transcript' implicitly restricts scope to videos with available public captions, but the agent must infer that rather than being told.

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