Skip to main content
Glama

x402vid AI Intelligence & Channel Growth for YouTube Videos

Trending on YouTube

trending_on_youtube
Read-only

Fetch trending YouTube videos by region, optionally scored against a niche.

Today's most-popular videos with views and channels; pass a niche to get AI picks for what matters plus ways to ride trends this week.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nicheNoOptional niche to score trends against
regionNo2-letter region code (default US)US
x_paymentNoBase64 x402 payment payload (required — pass the X-PAYMENT value as an argument over MCP)
num_videosNoVideos to return (default 10, max 15)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that a niche yields AI-scored picks and trend-riding suggestions, which is real behavioral context, but it omits the paid x402 requirement implied by x_payment — a notable gap for an agent that must supply payment to succeed.

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?

Front-loaded with the core action in sentence one, and only two short sentences plus a fragment. The second paragraph partly duplicates the first and drifts toward promotional phrasing ('ways to ride trends this week'), but the total is compact and easy to scan.

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?

An output schema exists, so return values need not be explained, and all four parameters are schema-documented. The main omission is the mandatory payment payload, though the schema itself marks x_payment as required. For a low-complexity read-only fetch, this is nearly complete.

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 baseline is 3: niche, region, x_payment and num_videos are all documented in the schema, including defaults and the max of 15. The description restates the role of niche and region but adds no format or constraint detail beyond the 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 opening sentence gives a specific verb+resource (fetch trending YouTube videos) plus the region and optional niche scoping. It distinguishes the tool from most siblings by being a trend-lookup rather than an analysis or generation tool, though it never explicitly contrasts with niche_research or analyze_youtube_topic.

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?

It implies usage ('pass a niche to get AI picks for what matters'), which tells the agent one conditional behavior, but gives no when-not guidance, no prerequisites, and no routing to the many adjacent analysis siblings. Usage is inferable but not stated.

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