Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_video_comments

Retrieves top-level comments for a YouTube video, including author details, likes, and reply counts, so agents can analyze audience feedback.

Instructions

Retrieve top-level comments, author info, likes, and reply counts for a video.

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_id": "<video_id>"
    },
    "name": "youtube_get_video_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNorelevance
video_idYes
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

Because no annotations are supplied, the description carries the full burden of disclosing the tool's behavior. It does not mention quota or rate-limit implications, pagination behavior, whether permissions are needed, what the default sort order means, or how to fetch replies and deeper comment threads; the only behavior it covers is the list of fields returned, and there is already an output schema covering that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence with no filler, and the key resource (video comments) comes first. It is efficiently written, but it is too thin for a tool with three undocumented parameters.

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

Completeness2/5

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

The output schema covers return values, so the description need not re-explain those. However, with zero annotation coverage and 0% schema description coverage across three parameters, the description should compensate by documenting ordering, result limits, and pagination, yet it leaves those unaddressed.

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

Parameters2/5

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

Schema description coverage is 0% for all three parameters, so the description carries the full burden of explaining them. It implies that video_id is important but does not explain it; it does not explain that 'order' accepts relevance or time and defaults to relevance; and it does not explain how 'max_results' caps the result size.

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 starts with a specific verb ('Retrieve') and a precise resource ('top-level comments ... for a video'), and it enumerates the returned fields (author info, likes, reply counts). This sets it apart from write-side siblings such as youtube_post_video_comment, though it does not name any sibling explicitly.

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

Usage Guidelines2/5

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

The description gives no explicit guidance on when to use this tool rather than youtube_get_live_chat_messages or youtube_post_video_comment, and it lists no prerequisites or exclusions. Only the phrase 'top-level comments' implies that replies are excluded, so the agent must infer the rest.

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

Deploy Server

Other Tools