Skip to main content
Glama
wynandw87

YouTube MCP Server

by wynandw87

get_trending_videos

Retrieve trending YouTube videos filtered by region code and category ID for content analysis.

Instructions

Get currently trending/popular YouTube videos by region and category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_codeNoISO 3166-1 alpha-2 country code (default: "US")
category_idNoYouTube video category ID (e.g., "10" for Music, "20" for Gaming, "28" for Science & Tech)
max_resultsNoNumber of results (1-50, default: 10)
Behavior2/5

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

No annotations are provided, so the description bears the full burden of behavioral disclosure. It does not reveal important traits such as authentication requirements, data freshness (e.g., how often trending list updates), rate limits, or whether results are paginated. This leaves the agent uninformed about key operational characteristics.

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 a single, clear sentence with no extraneous words. It efficiently communicates the core functionality. However, it could be slightly expanded to include a usage tip or behavioral note without becoming verbose.

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

Completeness3/5

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

The tool has 3 parameters, no output schema, and no annotations. The description explains the filtering dimensions but lacks details about return fields, pagination, or limitations (e.g., number of trending videos available). It is minimally adequate but leaves the agent needing more context for effective use.

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% (all three parameters have descriptions in the input schema). The description's mention of 'region' and 'category' adds no new meaning beyond the schema's parameter descriptions. The max_results parameter is not highlighted in the description, but schema already covers it. Baseline of 3 applies.

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?

Description clearly states verb (Get), resource (trending/popular YouTube videos), and filtering dimensions (region and category). It distinguishes from sibling tools like search_videos (which queries by query string) and get_channel_videos (which targets a specific channel).

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 for obtaining trending content filtered by region/category, but does not explicitly state when to use this tool versus alternatives like search_videos or get_trending_videos. No exclusions or prerequisites are mentioned.

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/wynandw87/claude-code-youtube-mcp'

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