Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_video_details

Fetches complete metadata, view/like/comment stats, duration, and tags for up to 50 YouTube video IDs to help analyze or audit videos in bulk.

Instructions

Fetch complete metadata, stats (views, likes, comments), duration, and tags for up to 50 video IDs.

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_ids": "<video_ids>"
    },
    "name": "youtube_get_video_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 burden of behavioral disclosure. It does reveal the returned data categories and a hard cardinality cap of 50, but says nothing about quota costs, authentication, whether invalid IDs fail the whole request or are skipped, or ordering of results — significant gaps for a batch read tool.

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 front-loaded sentence with the returned fields enumerated and no filler. Every clause carries information the agent needs.

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 one-parameter read tool with an output schema that already documents return values and no annotations to reconcile, the description covers purpose, returned data, and the batch limit. Only the ID format and partial-failure behavior are missing, which are minor for a simple lookup.

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 0% and the single parameter is documented only as a generic array of strings titled 'Video Ids'. The description adds real meaning with the 'up to 50' cardinality limit, but does not specify the ID format (e.g. the 11-character YouTube video ID) or what happens when the limit is exceeded.

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 ('Fetch complete metadata, stats ... duration, and tags') for video IDs, which clearly separates it from sibling readers like youtube_get_video_comments, youtube_get_video_transcript, and youtube_get_channel_details. However, it never names a sibling or states the distinction explicitly, so it stops short of 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 Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use statement, and no alternatives are named. The only usage signal is implicit: the 'up to 50 video IDs' clause tells the agent this is a batch lookup, so batching is implied but not explained.

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

Deploy Server

Other Tools