Skip to main content
Glama

YouTube Video Details

youtube_video_details
Read-only

Get one YouTube video by URL or 11-character video ID. Returns title, full description, channel name and ID, publish date, duration in seconds, view count, category, keywords, thumbnail and YouTube's AI disclosure (ai_label: "Made with AI" or "Auto-dubbed", with separate is_altered_or_synthetic and is_auto_dubbed flags). Works for regular videos, Shorts and live streams. Use get_youtube_comments for its comments. Billed $0.005 per request.

Input Schema

NameRequiredDescriptionDefault
urlYesYouTube video URL (watch?v=, youtu.be/, /shorts/, /embed/ or /live/ forms) or 11-character video ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false. The description adds useful behavioral context: billing cost, supported URL forms, return fields, and AI disclosure labels, which go beyond the structured annotations.

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?

The description is front-loaded with the core action and input forms, followed by return fields and cost. It is somewhat dense, but every sentence contributes useful information for invoking or understanding the tool.

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?

With no output schema, the description adequately lists the returned data, including AI disclosure flags. It also covers supported video types, comment separation, and billing cost, leaving no critical gaps for an agent to call it 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 description coverage is 100%, so the parameter is fully documented in the input schema. The description repeats that the tool accepts a URL or 11-character video ID but adds no syntax or format details beyond what the schema already provides, making 3 the appropriate baseline.

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 and resource: get one YouTube video by URL or 11-character ID. It clearly distinguishes the tool from get_youtube_comments and lists the returned fields, allowing an agent to identify the tool without opening the schema.

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?

It explicitly directs comment retrieval to get_youtube_comments and states supported video types (regular, Shorts, live streams). It does not discuss when to use this versus search_youtube or youtube_channel_details, but the primary usage context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources