Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YOUTUBE_API_KEYYesYour YouTube Data API v3 key (required)
MDB_MCP_CONNECTION_STRINGNoMongoDB connection string for caching API responses and storing analysis data (optional, but recommended for better performance)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
getVideoDetailsA

Get detailed information about multiple YouTube videos. Returns comprehensive data including video metadata, statistics, and content details. Use this when you need complete information about specific videos.

searchVideosA

Universal search tool for YouTube content. Use this to find videos (default) or channels. To find a specific content creator, you MUST set type to 'channel'. Supports filtering by recency (e.g., 'pastWeek') and videoDuration. Returns videoId or channelId needed for other tools.

getTranscriptsA

Retrieves specific, meaningful segments of a video's transcript. By default, it returns the intro 'hook' and the final 'outro' or call to action. It can also return the full transcript text. Use this to efficiently analyze a video's key messaging.

getVideoCommentsA

Retrieves comments for a video. Warning: Setting maxReplies > 0 significantly increases API cost. Only set maxReplies if you specifically need to analyze conversation threads. Defaults to top-level comments only.

getChannelStatisticsA

Retrieves statistics for multiple channels. Returns detailed metrics including subscriber count, view count, video count, and channel creation date for each channel. Use this when you need to analyze the performance and reach of multiple YouTube channels.

getChannelTopVideosA

Retrieves a channel's most popular videos. CRITICAL: Requires a valid channelId (starting with 'UC...'), NOT a channel handle or name. Use searchVideos (type='channel') first to find the channelId if you only have a name.

getTrendingVideosA

Retrieves trending videos based on region and category. Returns a list of videos that are currently popular in the specified region and category. Use this when you want to discover what's trending in specific areas or categories. To get available category IDs and their names, use the getVideoCategories tool first.

getVideoCategoriesA

Retrieves available video categories for a specific region. Returns a list of YouTube video categories with their IDs and titles that can be used for filtering trending videos or other category-specific operations. Different regions may have different available categories.

findConsistentOutlierChannelsA

A powerful, high-cost discovery tool. It finds emerging channels that show consistent, high-performance relative to their size within a specific topic and timeframe.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/kirbah/mcp-youtube'

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