Skip to main content
Glama
PPiai

youtube-mcp

by PPiai

search_videos

Find YouTube videos by keyword with filters for date, region, duration, definition, type, and more.

Instructions

Search for YouTube videos with various filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query
max_resultsNoMaximum number of results (1-50)
orderNorelevance
published_afterNoISO 8601 datetime (e.g., 2024-01-01T00:00:00Z)
published_beforeNoISO 8601 datetime
region_codeNoISO 3166-1 alpha-2 country code (e.g., US, BR)
video_durationNo
video_definitionNo
video_dimensionNo
video_licenseNo
video_typeNo
channel_idNoFilter by specific channel ID
topic_idNoFilter by Freebase topic ID
Behavior2/5

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

No annotations provided, so description carries full burden. It does not disclose behavior like pagination, rate limits, authentication needs, or result limits beyond max_results. The description is silent about query behavior (e.g., partial matches, language).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no wasted words, but it is overly terse and fails to convey essential context. It earns its place but does not suffice.

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

Completeness2/5

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

Given the tool has 13 parameters, no output schema, and no annotations, the description is incomplete. It does not explain return structure, error handling, pagination, or typical use cases.

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 ~62% (8/13 params have descriptions). The description adds no additional meaning beyond what the schema provides, so baseline of 3 is appropriate.

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

Purpose3/5

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

The description states the verb 'search' and resource 'YouTube videos', but is generic and fails to distinguish from sibling tools like search_channels or get_channel_videos. Adding filters is implied but not elaborated.

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 tool versus alternatives such as search_channels, get_channel_videos, or get_trending_videos. The sibling list shows multiple overlapping tools, but description offers no differentiation.

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/PPiai/youtube-mcp'

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