Skip to main content
Glama

video_comments

Fetch top YouTube comments sorted by relevance to analyze audience engagement and feedback on video content.

Instructions

Fetch top YouTube comments sorted by relevance.

Returns comment text, like count, and author for each comment. Costs 1+ YouTube API units, 0 Gemini units.

Args: url: YouTube video URL. max_comments: Maximum number of comments to return.

Returns: Dict with video_id, comments list, and count, or error via make_tool_error().

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesYouTube video URL (youtube.com or youtu.be)
max_commentsNoMaximum comments to fetch (sorted by relevance)

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/Galbaz1/video-research-mcp'

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