Skip to main content
Glama

Search videos

search_videos
Read-only

Search YouTube videos via yt-dlp with filters for upload date, live status, duration, and more. Paginate and format results as JSON or Markdown.

Instructions

Search videos on YouTube via yt-dlp (ytsearch). Returns list of matching videos with metadata. Optional: limit, offset (pagination), uploadDateFilter (hour|today|week|month|year), dateBefore, date, matchFilter (e.g. "!is_live"), response_format (json|markdown).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch query
limitNoMax results (default 10)
offsetNoSkip first N results (pagination)
uploadDateFilterNoFilter by upload date (relative to now)
dateBeforeNoyt-dlp --datebefore, e.g. "now-1year" or "20241201"
dateNoyt-dlp --date, exact date e.g. "20231215" or "today-2weeks"
matchFilterNoyt-dlp --match-filter, e.g. "!is_live" or "duration < 3600 & like_count > 100"
response_formatNoFormat of the human-readable content: json (default) or markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes
Behavior3/5

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

Annotations already indicate readOnlyHint=true. Description adds parameter details but lacks behavioral context like rate limits or error handling.

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?

Single sentence front-loads purpose and lists key parameters with no wasted words.

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 output schema present, return values are covered. Description explains parameters adequately, though pagination and edge cases could be clearer.

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?

Schema coverage is 100%. Description adds value with examples (e.g., '!is_live' for matchFilter) and clarifies pagination, though not all parameters gain meaning beyond schema.

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 clearly states the tool searches videos on YouTube via yt-dlp and returns a list with metadata, distinguishing it from siblings like get_video_info.

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?

No explicit guidance on when to use this tool versus alternatives like get_video_info or get_transcript. Usage is implied but not detailed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samson-art/transcriptor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server