Skip to main content
Glama

get_related_videos

Fetches related YouTube videos for a given video ID or URL, helping AI agents discover similar content with configurable result limits (1–50).

Instructions

Get videos related to a given YouTube video.

Args: video_id: YouTube video ID or a video URL max_results: Maximum results (1-50, default: 10)

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_id": "<video_id>"
    },
    "name": "get_related_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It says nothing about API quota costs, whether the call hits YouTube's rate-limited related-videos endpoint, how results are ordered, or whether an empty list is possible for videos with recommendations disabled. The output schema covers the return shape, but operational behavior is undisclosed.

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, front-loaded sentences plus an args block that maps one-to-one onto the two parameters. No filler or redundancy.

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?

For a simple two-parameter read tool with an existing output schema, the description covers purpose and both parameters adequately. The remaining gap is behavioral (ordering, failure modes, quota) rather than structural.

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?

Schema coverage is 0%, so the description must compensate and largely does: it clarifies that video_id accepts either an ID or a full URL, and adds the 1-50 range for max_results plus the default, none of which appear in the schema. It stops short of explaining what max_results values cost in quota or latency terms.

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: 'Get videos related to a given YouTube video.' The agent knows exactly what the tool returns conceptually, though it doesn't explicitly distinguish itself from siblings like search_videos or get_video_metadata.

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 guidance on when to use this versus search_videos or get_video_metadata, and no exclusions or prerequisites. The agent must infer that 'related videos' means YouTube recommendation-style results rather than search matches.

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