Skip to main content
Glama
ChristophLanganke

youtube-mcp

search_videos

Search YouTube videos by keyword, channel, or both. Filter results by upload date and ordering to locate relevant content.

Instructions

Full-text search across YouTube. Costs 100 quota units per call, so use list_channel_uploads instead when you just want a channel's recent videos. Requires sign-in or YOUTUBE_API_KEY. Passing channel_id without query is routed to the cheap uploads path automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNorelevance
queryNoSearch terms. Optional if channel_id is given.
channel_idNoRestrict results to this channel
max_resultsNo1-50
published_afterNoISO 8601 datetime, e.g. 2026-01-01T00:00:00Z

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It goes beyond the basic read-only implication by disclosing the concrete quota cost, the sign-in/API-key requirement, and the surprising auto-routing behavior. These are exactly the kind of behavioral traits an agent needs to compare with alternatives before calling.

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?

Three sentences with no filler: purpose, cost-plus-alternative, auth, and routing. Each sentence earns its place and the most important differentiator (cost/alternative) comes first.

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 lack of annotations and output schema, the description covers the crucial facts: what it does, when not to use it, auth, cost, and a non-obvious parameter interaction. It doesn't spell out the exact return format, but the primary invocation requirements are fully addressed.

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

Parameters4/5

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

With 80% schema description coverage, the baseline is 3. The description adds valuable inter-parameter behavior — query is optional when channel_id is present, and channel_id without query routes to the cheap uploads path. This goes beyond the schema's individual parameter descriptions and explains how parameters interact.

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 says 'Full-text search across YouTube' — a specific verb and resource. It distinguishes the tool from list_channel_uploads by drawing a sharp contrast: use that when you only want recent channel uploads. An agent can identify the tool's role without opening the schema.

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

Usage Guidelines5/5

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

Explicitly instructs when to avoid this tool and use list_channel_uploads instead, states the auth requirements up front, and explains the automatic routing when channel_id is given without query. Nothing is left for the agent to infer.

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