Skip to main content
Glama

Get comments on a YouTube video

youtube_comments
Read-onlyIdempotent

Fetch top-level comments from one public YouTube video, given its URL. Returns up to 20 top comments with author, text, like count, reply count, date and the author's channel link. Use it for audience sentiment, feedback mining and finding engaged commenters. Needs a specific video URL; to find videos first use youtube_search.

Input Schema

NameRequiredDescriptionDefault
urlYesFull YouTube video URL, e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ (youtu.be and /shorts/ links also work).
maxRowsNoHow many rows to return (1-20, default 20). The free ChatGPT app is capped at 20.

Output Schema

NameRequiredDescriptionDefault
rowsYesResult rows
toolYes
countYesNumber of rows returned
errorNo
fullToolUrlNoLection page for running this at full scale with exports and schedules

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/open-world safety, and an output schema covers return fields. The description still adds a meaningful constraint beyond structured data: only 'top-level' comments (not replies) and only for 'public' videos. Return-field enumeration is somewhat redundant given the output schema, keeping this off a 5.

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?

Four tight sentences, front-loaded with the core action, then return shape, use cases, and the key precondition. No filler; each sentence earns its place.

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

Completeness5/5

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

With annotations covering the safety profile and a full output schema covering returns, plus the top-level/public constraints and sibling routing in the description, nothing an agent needs to call this correctly is missing.

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 both url and maxRows are fully documented in the schema (including youtu.be and /shorts/ support and the 1-20 range). The description adds no syntax or format detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Fetch top-level comments from one public YouTube video') with clear scope, and distinguishes itself from youtube_search by requiring a URL rather than a query. An agent can tell exactly what this returns without opening the schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative ('to find videos first use youtube_search') and states the precondition (needs a specific video URL), plus names concrete use cases (sentiment, feedback mining, finding engaged commenters). Routing is fully specified.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.