Skip to main content
Glama

find_similar_videos

Read-only

Finds and ranks YouTube videos similar to a provided URL or video ID, returning matches with reasons based on local category, duration, tag, and content scoring.

Instructions

FR-1: find and rank videos similar to a given video, with reasons. Ranking is local (TF-IDF + cosine + category/duration/tag scoring) because YouTube has no related-videos endpoint.

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>"
    },
    "name": "find_similar_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesYouTube video URL or 11-character video ID
max_resultsNoNumber of results, 1-25
candidate_poolNoCandidates to fetch and rank, 5-50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint) and open-world reach, so the description's added value is the disclosure that ranking is computed locally via TF-IDF/cosine/category/duration/tag scoring because YouTube exposes no related-videos endpoint. That explains why results are heuristic rather than authoritative and that output carries reasons. It stops short of stating pagination, latency, or auth expectations.

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 compact sentences, front-loaded with the verb and resource before the implementation rationale. The 'FR-1:' requirement tag is internal jargon that adds no value to an agent and is the only real waste.

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?

For a read-only ranked-search tool with no output schema, the definition should say more about what comes back: the description mentions 'reasons' but not whether per-candidate scores, video metadata, or ordering guarantees are returned. The ranking-method rationale compensates partly, but return-shape coverage is thin.

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%, so every parameter is already documented, and the description adds no parameter-level detail. In particular it does not clarify the meaningful distinction between max_results (returned) and candidate_pool (fetched then ranked), which is the one semantic gap the schema leaves implicit.

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 pair (find and rank) and a specific resource (videos similar to a given video), plus the notable detail that results come with reasons. It is clearly distinct from the sibling find_similar_channels by resource type, though it does not explicitly name that distinction.

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 purpose strongly implies when to use it (when you have a seed video and want related ones), but there is no explicit when-to-use statement, no exclusions, and no comparison to plausible alternatives such as recommend_videos or find_similar_channels. Usage must be inferred from the purpose sentence.

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