Skip to main content
Glama

CleanTranscript YouTube Transcript MCP

Find Keywords in YouTube Transcript

find_in_transcript
Read-onlyIdempotent

Search for keywords or phrases inside a YouTube video transcript and return matching passages with exact [MM:SS] timestamps and direct https://youtu.be/?t= deep links.

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": {
      "url": "<url>",
      "query": "<query>"
    },
    "name": "find_in_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesYouTube video URL or 11-character video ID.
queryYesKeyword or phrase to search inside the captions (case-insensitive).
max_resultsNoMaximum number of matches to return (1-25, default: 10).
context_linesNoNumber of surrounding caption segments to include before and after each match (0-3, default: 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuine behavioral value beyond them: it commits to the return format (passages plus [MM:SS] timestamps and clickable deep links) and notes case-insensitive matching, which tells the agent what to expect from results.

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?

A single tight sentence that front-loads the action and then the payoff (timestamps, deep links). No filler, no redundant restatement of the title or name.

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

Completeness4/5

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

With no output schema, the description usefully compensates by describing return values in concrete terms. Annotations carry the safety profile and the schema carries parameter detail, so the only real gap is failure/edge behavior (e.g., videos with no captions).

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

Parameters3/5

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

Schema description coverage is 100% — url, query, max_results, and context_lines are all documented with defaults and ranges in the schema itself. The description's only parameter-adjacent detail is the case-insensitive note, which the schema already states, so it adds essentially no meaning beyond the input schema. Baseline 3 is appropriate.

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 names a specific verb-resource pair (search keywords/phrases inside a YouTube transcript) and even specifies the output shape: matching passages with [MM:SS] timestamps and yt.be deep links. That distinguishes it in practice from a full-transcript fetcher, though it never names the sibling tools get_youtube_transcript or get_video_transcript_metadata explicitly.

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?

Usage is only implied — an agent can infer this is the tool for targeted lookups rather than pulling the whole transcript, but the description never states when to prefer it over get_youtube_transcript. No preconditions (e.g., captions must exist) or exclusions are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources