Skip to main content
Glama

YouTube Transcript + YouTube Search MCP

Get Video Comments

get_video_comments
Read-only

Use this when the user wants to read what viewers say under a YouTube video: audience questions, complaints, praise or ideas for a follow-up video. Returns one page of top comments (text, author, likes, reply count, age). For more, call again with the same video_url and continuation from the previous response; has_more is false on the last page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "video_url": "<video_url>"
    },
    "name": "get_video_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_urlYesYouTube URL (full or short) or an 11-character video ID
continuationNocontinuation_token from the previous page, passed back verbatim

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, openWorld, non-destructive), and the description adds substantial behavior beyond that: results are one page at a time, what fields each comment carries, how to fetch subsequent pages, and that has_more is false on the last page. That is exactly the pagination and payload context an agent needs to drive the tool correctly.

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?

Three short sentences ordered as trigger, return shape, then continuation mechanics. Every clause carries information, and the most decision-relevant content (when to use it) is front-loaded.

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 no output schema, the description carries the burden of describing return values, and it does so (comment fields plus the has_more flag) while also covering pagination. For a two-parameter read tool this leaves nothing an agent needs missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes further by explaining the relationship between the two parameters across calls: video_url must stay the same while continuation comes from the previous response. It does not detail the origin of continuation_token or edge cases such as invalid/expired tokens, keeping it below a 5.

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?

The description gives a concrete verb and resource ('read what viewers say under a YouTube video') and frames the payload as comments with text, author, likes, reply count and age, so an agent can immediately distinguish it from get_video_details or get_youtube_transcript. The use-case framing (questions, complaints, praise, follow-up ideas) further pins down what the tool returns.

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

Usage Guidelines4/5

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

It states an explicit trigger ('Use this when the user wants to read what viewers say') and gives a clear follow-up rule for pagination: call again with the same video_url plus the continuation token. It does not name an alternative tool or say when not to use it, so it falls short of a 5.

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.