Skip to main content
Glama
mohamdben-yahia

YouTube MCP Server

analyze_audience_sentiment

Analyze video comments to uncover audience pain points, missed questions, and content requests. Identify highest-upvoted comments for insights.

Instructions

Mine video comments to discover audience pain points, questions, and content requests.

Identifies what viewers struggle with, questions the creator missed, topics requested for future videos, and the highest-upvoted comments.

Args: video_id_or_url: YouTube Video ID or full URL. max_comments: Number of top comments to analyze (up to 100, default 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_commentsNo
video_id_or_urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior3/5

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

There are no annotations, so the description carries the behavioral disclosure burden. It does disclose what the analysis identifies and that it works on up to 100 top comments, but it does not explicitly state read-only behavior, authentication needs, or potential limitations such as reliance on comment availability.

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 front-loaded with the core purpose, adds a concise list of outcomes, and documents parameters in a clean block. No sentence is wasted, and the format is easy for an agent to parse.

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

Completeness4/5

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

For a simple two-parameter analysis tool with an output schema, the description provides enough to invoke it correctly: input format, optional parameter meaning, and what the tool will produce. It is slightly incomplete only in not addressing when raw comments should be fetched instead or confirming read-only behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description's Args section fully compensates: it clarifies video_id_or_url accepts either a YouTube Video ID or full URL, and max_comments specifies top comments, an upper bound of 100, and the default. This adds meaningful meaning beyond the bare schema.

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 a specific action ('Mine video comments') and resource (video comments), and lists concrete outputs: audience pain points, questions, content requests, and highest-upvoted comments. It is semantically distinct from sibling get_video_comments, which implies raw comment retrieval, but it does not explicitly call out that alternative.

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

Usage Guidelines3/5

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

The purpose is clear enough that the intended use is inferable: use this when you need audience pain points, unanswered questions, or content requests from video comments. However, the description does not explicitly state when to prefer it over get_video_comments or other analysis tools, and gives no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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