Skip to main content
Glama

Find Relevant Video Segments

youtube_find_relevant_segments

Locate timestamped YouTube transcript segments matching a research objective, with topic filters and duration limits—no API key required.

Instructions

Find timestamped transcript sections relevant to a research objective. 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>",
      "objective": "<objective>"
    },
    "name": "youtube_find_relevant_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYes
topicsNo
objectiveYes
maxSegmentsNo
maxDurationSecondsNo
minDurationSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

C2.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It adds one genuinely useful behavioral fact — no YouTube API key required — but says nothing about how relevance is scored, whether segments can overlap, or what the result looks like beyond "timestamped sections."

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

Conciseness4/5

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

Two short sentences, front-loaded with the core purpose, and nothing redundant. Brevity is appropriate in form but tips into under-specification given the parameter count.

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?

For a six-parameter tool with no annotations and no output schema, the definition is far too thin. Nothing explains the selection algorithm, the return shape (fields per segment), or the tradeoff between maxSegments and duration limits.

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?

Schema description coverage is 0% across six parameters, and the description explains none of them. Critical fields like objective, topics, maxSegments, and the two duration bounds are left entirely to bare names and defaults, with no hint of how objective steers selection or how the duration filters interact with maxSegments.

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?

States a specific verb and resource: "Find timestamped transcript sections relevant to a research objective." That is clearly distinct from transcription-retrieval siblings, though it never names or contrasts them explicitly.

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?

No when-to-use guidance, no exclusions, and no mention of alternatives such as youtube_search_transcript or youtube_get_transcript. An agent must infer from the objective-based framing alone that this is the relevance-ranked option.

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