Skip to main content
Glama
BACH-AI-Tools

BACH YouTube API MCP Server

search_channels_videosplaylists

Find videos and playlists from a specific YouTube channel using search queries, with options for pagination, localization, and channel identification by ID or username.

Instructions

Search channel's videos and playlists, also get channel details. Quota cost is 1 unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoChannel Id
forUsernameNoIf id not available then provide username. Quota cost +1.
queryYesSearch query
tokenNoPagination token Alternatively, use X-TOKEN in header
geoNoISO 3166-2 country code of the region. Like US (default), GB, CA, IN, etc.
langNoLanguage code for localized results. Like en, gb, hi, etc
X-CACHEBYPASSNoCache bypass, the value must be 1 Quota Cost +1
X-TOKENNoAlternative way to pass Pagination token via headers. This will solve 414, URI too long issue.
Behavior3/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions quota cost (1 unit) and implies additional costs for certain parameters, which is valuable. However, it doesn't describe response format, pagination behavior, error conditions, or authentication requirements that would be important for a search tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured in a single sentence that communicates the core functionality plus quota information. However, it could be more front-loaded by stating the primary purpose more prominently before mentioning quota details.

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

Completeness3/5

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

For a search tool with 8 parameters, no annotations, and no output schema, the description is moderately complete. It covers the basic functionality and quota implications but lacks information about response format, error handling, and how this tool differs from similar sibling tools in the server.

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 already documents all 8 parameters thoroughly. The description doesn't add any meaningful parameter semantics beyond what's in the schema descriptions, such as explaining relationships between parameters or providing usage examples.

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 clearly states the tool searches a channel's videos and playlists while also retrieving channel details, providing a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like 'channel_videos', 'channel_playlists', or 'search', which all handle similar content types.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'channel_videos', 'channel_playlists', or the general 'search' tool. It mentions quota cost but offers no contextual usage recommendations or exclusions.

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/BACH-AI-Tools/bachai-yt-api'

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