Skip to main content
Glama

Get Video Info

get_video_info
Read-only

Extract video metadata from a URL: title, duration, resolution, fps, filesize, thumbnail, and description. Supports YouTube, Vimeo, and other yt-dlp compatible platforms.

Instructions

Get metadata about a video URL: title, duration, resolution, fps, filesize, thumbnail, and description. Uses yt-dlp --dump-json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesVideo URL (YouTube, Vimeo, or any yt-dlp supported URL)
Behavior4/5

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

Annotations already indicate read-only and non-destructive behavior. The description adds useful context by mentioning the use of yt-dlp --dump-json and listing metadata fields returned. It does not detail network behavior or error handling, but the added implementation detail and output field list provide value beyond the annotations.

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 sentence that front-loads the purpose and lists output fields without unnecessary words. Every element serves a clear function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple single-parameter tool, no output schema, and strong annotations, the description sufficiently covers the return values by listing metadata fields. It is complete enough for an agent to understand what information will be provided and how to invoke the tool correctly.

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 coverage is 100% with a detailed description of the url parameter ('YouTube, Vimeo, or any yt-dlp supported URL'). The tool description only says 'video URL' and adds no new meaning beyond what the schema already provides, so the baseline 3 is appropriate.

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 clearly states it gets metadata about a video URL and lists specific fields (title, duration, resolution, fps, filesize, thumbnail, description). This distinguishes it from sibling tools like download_video and download_audio, which focus on downloading rather than metadata retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The purpose of 'get metadata' is clearly distinct from downloading, implying usage when metadata is needed rather than actual content. However, it does not explicitly state when to use this tool instead of alternatives, so it lacks explicit exclusion guidance but provides clear context.

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/pauloFroes/mcp-yt-dlp'

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