Skip to main content
Glama

Search

search
Read-onlyIdempotent

Find YouTube videos, channels, or playlists by query with filters for date, channel, sort order, and pagination.

Instructions

Search YouTube for videos, channels, or playlists.

Quota: 100 units per page of up to 50 results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoWhat to search for.video
limitNoMaximum number of results. Each page of up to 50 costs 100 quota units.
orderNoSort order.relevance
queryYesSearch terms.
sinceNoOnly results published at or after this date or datetime (2026-01-01), or this long ago (90d, 4w).
channelNoOnly results from this channel: UC… ID, @handle, or channel URL.
my_channelNoWhich of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel.
page_tokenNoContinue from a previous result's next_page_token.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
total_resultsNoTotal reported by YouTube; only an estimate for search.
next_page_tokenNoPass as page_token to continue; null at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond the annotations: the quota cost of 100 units per page of up to 50 results, which is a real operational constraint an agent should weigh.

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?

Two short sentences, zero filler, and the purpose is front-loaded ahead of the cost note. Nothing could be removed without losing information.

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?

With a full output schema, 100% parameter coverage, and annotations covering safety, the description needs only to state purpose and any non-structured behavior. It does both, though pagination/auth expectations are left entirely to the schema and output schema.

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 fully documents all 8 parameters including enums, defaults, date formats and the page_token continuation. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb and resource ('Search YouTube') plus the result scope ('videos, channels, or playlists'), so an agent immediately knows what it does. It does not explicitly differentiate itself from the many list_* siblings that also return videos/channels/playlists, leaving that distinction to inference.

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?

Usage is only implied by the verb: use it when you have search terms and want query-based discovery rather than enumeration. There is no explicit when-to-use, when-not, or pointer to alternatives such as list_videos or get_channel for browsing known entities.

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