Skip to main content
Glama
BACH-AI-Tools

BACH YouTube API MCP Server

channel_videos

Retrieve video listings and details for YouTube channels using channel ID or username, with options to sort, paginate, and localize content.

Instructions

Get channel video listing and channel details. Quota cost is 1 unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoChannel Id
forUsernameNoIf id not available then provide username. Quota cost +1.
sort_byNoSorts the channel videos. Available options: newest [default] popular oldest
tokenNoPagination token Alternatively, use X-TOKEN in header
geoNoISO 3166-2 country code of the region. Like US (default), GB, CA, IN, etc.
langNoLocale/language for request. Like en, gb, hi, etc
localNoGet localized data, the value must be 1. Works with provided value of geo, if not provided then default is US. Quota Cost +1
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 the full burden of behavioral disclosure. It adds useful context about quota costs ('Quota cost is 1 unit'), which isn't in the schema. However, it lacks details on rate limits, authentication needs, error handling, or what the return format looks like (especially since there's no output schema).

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 extremely concise—just two sentences that directly state the purpose and quota cost. It's front-loaded with the core functionality and wastes no words. Every sentence earns its place by providing essential information.

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?

Given the complexity (9 parameters, no annotations, no output schema), the description is incomplete. It covers the basic purpose and quota cost but lacks details on return values, error conditions, or usage context. However, the high schema coverage mitigates some gaps, making it minimally adequate but with clear room for improvement.

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 9 parameters thoroughly. The description doesn't add any parameter-specific semantics beyond what's in the schema (e.g., it doesn't explain interactions between parameters like 'id' and 'forUsername'). Baseline 3 is appropriate when the schema does the heavy lifting.

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's purpose: 'Get channel video listing and channel details.' It specifies both the resource (channel videos and details) and the action (get/retrieve). However, it doesn't explicitly differentiate from sibling tools like 'channel_videos_via_post' or 'channel_home,' which might have overlapping functionality.

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. It mentions a quota cost but doesn't specify scenarios where this tool is preferred over siblings like 'channel_videos_via_post' or 'search_channels_videosplaylists.' No prerequisites or exclusions are stated.

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