Skip to main content
Glama
mohamdben-yahia

YouTube MCP Server

get_trending_niches

Spot rising YouTube niches and viral content trends by analyzing official trending charts, top tags, and breakout creators per region and category.

Instructions

Discover real-time trending topics, breakout niches, and viral videos right now.

Analyzes YouTube's official real-time trending chart to extract top rising tags, recurring title keywords, and breakout creators dominating the algorithm.

Args: region_code: Country code (default 'US', e.g. 'GB', 'CA', 'DE', 'FR', 'IN'). category: Niche category ('all', 'tech', 'gaming', 'education', 'howto', 'entertainment', 'news', 'music', 'sports') or numeric ID. max_results: Number of trending videos to analyze (up to 50, default 25). raw: If True, returns unaltered raw YouTube Data API response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNo
categoryNotech
max_resultsNo
region_codeNoUS

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It discloses the data source (YouTube's official trending chart), the extracted signals (rising tags, title keywords, breakout creators), and the raw-response option. It does not mention quotas, failure modes, or whether this is purely read-only.

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 a clear summary, followed by a compact Args block. It is slightly redundant ('real-time' and 'right now') but overall each part earns its place and the parameter documentation is well structured.

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?

Given the output schema exists, the description need not describe return values. All four optional parameters are documented with defaults and examples, and the tool's purpose is clear. Minor gap: no guidance on how this relates to sibling research tools, but that is a usage-guideline concern rather than a completeness blocker.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% parameter descriptions, but the description fully compensates: it explains region_code with examples, category with explicit allowed values and numeric-ID support, max_results with a range/default, and raw with its behavioral meaning. This provides strong semantic value beyond the bare schema.

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

Purpose4/5

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

The description clearly states the tool analyzes YouTube's official real-time trending chart to discover trending topics, niches, and viral videos. This is a specific verb-resource pairing, but it does not explicitly differentiate from siblings like search_videos or find_viral_outliers.

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 through phrases like 'real-time trending topics' and 'breakout niches,' suggesting it is for trending-analysis use cases. However, it never explicitly states when to use this tool over its many sibling tools or what conditions would favor an alternative.

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

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

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