Skip to main content
Glama

Search YouTube

search_youtube
Read-onlyIdempotent

Searches YouTube for videos, channels, playlists or Shorts. Returns IDs, titles, channels, durations and view counts. 1 credit per page.

Input Schema

NameRequiredDescriptionDefault
typeNovideo (default), channel, playlist or shorts
limitNoMaximum results, 1-50 (default 10)
queryYesSearch terms
cursorNonext_cursor from a previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds return field expectations (IDs, titles, channels, durations, view counts) and the credit cost per page, which is valuable behavioral context beyond annotations.

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 short sentences, front-loaded with purpose, then return values, then cost. No filler, every sentence earns its place.

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?

Covers purpose, return fields, and cost. Lacks explicit usage guidelines vs. siblings and pagination behavior, but with annotations and full schema coverage, this is largely complete for a search tool.

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 documents all four parameters fully. The description only mentions 'page' implicitly without elaborating on pagination via cursor. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

States a specific verb (Searches) and resource (YouTube) with scope covering videos, channels, playlists, or Shorts. Distinguishes itself from siblings like get_video_info and get_transcript, which retrieve specific known items rather than performing search.

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 implied by the search semantics, but the description does not explicitly state when to use this vs. sibling tools (e.g., use get_video_info for a known ID). No when-not-to-use guidance.

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.