Skip to main content
Glama
sacahan

YouTube Search MCP Server

by sacahan

youtube_search

Search YouTube videos by keyword, with options to limit results and sort by relevance or date. Returns video details including title, channel, views, and upload date.

Instructions

搜尋 YouTube 影片。支援按關鍵字搜尋,可指定結果數量限制(1-100,預設 1)和排序方式(relevance 或 date,預設 relevance)。返回包含視頻 ID、標題、頻道、URL、觀看次數和上傳日期的完整結果。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo最大返回結果數(可選,1-100,預設 1)
keywordYes搜尋關鍵詞(必填,1-200 字元)
sort_byNo排序方式(可選,'relevance' 或 'date',預設 'relevance')relevance
Behavior3/5

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

With no annotations, the description carries the full burden. It mentions return fields and parameter defaults but does not disclose rate limits, authentication, error behavior, or any side effects, leaving some behavioral gaps.

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, front-loaded with the purpose, and contains no unnecessary words. Every sentence adds value, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple search tool with three parameters and no output schema, the description covers purpose, all parameter options (with defaults), and lists return fields, providing sufficient context for an agent to invoke it correctly.

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 coverage is 100%, so the schema already documents all parameters. The description adds little new meaning beyond summarizing defaults and values; it does not compensate with additional context.

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 it searches YouTube videos with a specific verb ('搜尋') and resource ('YouTube 影片'), and lists supported operations and return fields, making the purpose unambiguous.

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 provides clear context for when to use the tool (to search YouTube by keyword) and explains adjustable parameters, but lacks explicit exclusions or alternatives since no sibling tools exist.

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/sacahan/YTSearch'

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