Skip to main content
Glama
BACH-AI-Tools

BACH YouTube API MCP Server

trending

Retrieve trending YouTube videos filtered by region and content category to analyze popular content across different markets and niches.

Instructions

Get trending videos region-wise \u0026 niche-wise. Quota cost is 1 unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geoYesISO 3166-2 country code of the region for which you want the trending data. Like US (default), GB, CA, IN, etc.
typeNoTrending type: now music games movies Default is now
langNoLocale/language for request. Like en, gb, hi, etc
X-CACHEBYPASSNoCache bypass, the value must be 1 Quota Cost +1
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It adds valuable context about quota cost ('Quota cost is 1 unit'), which isn't in the schema, but lacks other critical details like response format, pagination, rate limits, or authentication needs. The description doesn't contradict any 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 appropriately sized with two sentences: one stating the purpose and scope, and another providing quota information. It's front-loaded with the core function, though it could be slightly more structured by explicitly separating purpose from behavioral notes.

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?

Given no annotations and no output schema, the description is incomplete for a tool with 4 parameters and behavioral complexity. It covers quota cost but misses details on return values, error handling, and usage constraints. However, the high schema coverage partially compensates, making it minimally adequate but with clear gaps.

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 schema already documents all parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema, such as explaining interactions between 'geo', 'type', and 'lang', or clarifying the 'X-CACHEBYPASS' impact. Baseline 3 is appropriate when schema does the heavy lifting.

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 action ('Get trending videos') and specifies the scope ('region-wise & niche-wise'), which distinguishes it from siblings focused on channels, search, or specific content types. However, it doesn't explicitly differentiate from tools like 'home_feed' or 'related_videos_or_playlists' that might also surface trending-like content.

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 is provided on when to use this tool versus alternatives. The description mentions 'region-wise & niche-wise' but doesn't specify scenarios where this is preferred over other discovery tools like 'search', 'home_feed', or 'related_videos_or_playlists', nor does it mention prerequisites or exclusions.

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/BACH-AI-Tools/bachai-yt-api'

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