Skip to main content
Glama

x402vid AI Intelligence & Channel Growth for YouTube Videos

Search And Rank Videos

search_and_rank_videos

Search YouTube and return AI-ranked results with relevance reasoning.

Uses the YouTube Data API to find videos, then Muse Spark AI ranks them by relevance, credibility, and content quality — returning a curated shortlist with reasoning for each recommendation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_paymentNoBase64 x402 payment payload (required — pass the X-PAYMENT value as an argument over MCP)
num_videosNoNumber of videos to retrieve before AI ranking (default 5, max 20)
search_termYesThe topic or query to search for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden, and it does well by disclosing the two-stage behavior: YouTube Data API search followed by Muse Spark AI ranking by relevance, credibility, and content quality. It also sets expectations for output with 'curated shortlist with reasoning.' It does not mention the x_payment prerequisite, though the schema already marks it required.

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

Conciseness5/5

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

The description is two sentences with no fluff. The core action is front-loaded in the first sentence, and the second sentence adds just enough mechanism detail without restating the schema.

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 do not need explanation. The description covers purpose, methodology, ranking criteria, and output style. The only missing piece is explicit mention of the x_payment requirement, but that is clearly documented in the schema, so the tool is adequately specified for selection and invocation.

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?

The input schema has 100% coverage and describes search_term, num_videos, and x_payment. The description adds no parameter-level details beyond the schema, but the mention of relevance ranking indirectly reinforces that search_term is the core query. Baseline 3 is appropriate since the schema handles parameter semantics.

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?

The description opens with a specific verb and resource: 'Search YouTube and return AI-ranked results with relevance reasoning.' It clearly states the tool's function, the ranking mechanism, and the output format, and it is distinct from siblings like video_preview or get_video_intelligence because it emphasizes AI ranking and a curated shortlist.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context: use this tool when you need to search YouTube and get AI-ranked, relevance-reasoned results. It does not explicitly name alternatives or exclusion conditions, but the 'AI-ranked' and 'curated shortlist' wording helps disambiguate from raw search or channel-analysis siblings.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each tool targets a distinct YouTube-related workflow: topic research, single-video intelligence, channel audit, search ranking, raw transcript, preview, and health check. A minor point of possible confusion exists between analyze_youtube_topic and search_and_rank_videos because both return curated video results, and video_preview overlaps lightly with get_video_intelligence, but the descriptions clarify the boundary.

Naming Consistency3/5

All names use lowercase snake_case, but the pattern is mixed: analyze_youtube_topic, get_video_intelligence, and search_and_rank_videos are verb-first, while health_check, transcript_markdown, and video_preview are noun phrases. grow_channel_report is awkward as a verb phrase and would be clearer as get_channel_growth_report.

Tool Count5/5

Seven tools is well-scoped for the server's purpose: research, video intelligence, channel growth, search ranking, transcript access, preview, and health check. Each tool has a clear role without redundancy or bloat.

Completeness4/5

The core workflows are covered: finding and ranking videos, analyzing single or multiple videos, pulling raw transcripts, and auditing a channel's growth opportunity. Minor gaps exist around more granular channel analytics or metadata-only lookups, but agents can work around them with the provided tools.

Resources