Skip to main content
Glama

get_video_metadata

Retrieve detailed metadata for any YouTube video using its URL or ID. Get title, description, channel, duration, view counts, likes, comments, tags, category, thumbnails, and more.

Instructions

Get detailed metadata for a YouTube video: title, description, channel, duration, view/like/comment counts, tags, category, thumbnails, and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesYouTube video URL or video ID
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly indicates a read operation ('Get') and lists the return fields, which is useful. However, it does not mention any potential side effects, authentication/rate limits, error conditions, or whether certain fields may be missing (e.g., for age-restricted videos). It does not contradict expectations, but leaves room for additional context.

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?

The description is a single, front-loaded sentence that states the primary purpose first and then lists the specific data fields. There is no extraneous wording, and the 'and more' keeps it open without padding.

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 metadata-retrieval tool with one parameter and no output schema, the description lists the returned fields comprehensively. It does not specify the response format (e.g., JSON structure) or error handling, but these are less critical given the straightforward nature of the operation. It could mention that it works for both URLs and IDs, but the schema already does that.

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?

The schema already fully documents the single 'url' parameter (100% coverage), including the accepted format ('YouTube video URL or video ID'). The description adds no additional parameter-level detail, so it meets the baseline of 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and a clear resource ('detailed metadata for a YouTube video'), then enumerates the exact fields (title, description, channel, duration, counts, tags, etc.). This distinguishes it from sibling tools that serve other purposes like transcripts (get_transcript) or comments (get_video_comments).

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 description implies usage when metadata is needed, but does not explicitly state when to prefer this over alternatives, nor does it mention any exclusions or comparisons. Given the range of sibling tools, more explicit routing would help, but the verb and resource make the primary use case clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HassaanZakria/youtube-mcp-remote'

If you have feedback or need assistance with the MCP directory API, please join our Discord server