Skip to main content
Glama
YouTube Upload & Studio MCP Server

YouTube Upload & Studio MCP Server

by harsh-096

youtube_list_comments

Read-onlyIdempotent

Retrieve top-level comments from a YouTube video, sorted by relevance or time, with an optional limit or full fetch for comment review and analysis.

Instructions

List top-level comments on a video.

Args: video_id: YouTube video ID. max_results: Number of comment threads to return (0 or negative fetches all). order: Sort order: "relevance" or "time".

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_list_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNorelevance
video_idYes
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds a genuinely useful behavioral fact beyond them: only top-level comments are returned, not replies. It omits pagination behavior and auth requirements, which keeps it from 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.

Conciseness4/5

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

The purpose sentence is front-loaded and every Args line maps to a real parameter, so nothing is wasted. The docstring-style block is serviceable though slightly mechanical, and the useful default values could have been folded in at no cost.

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

Completeness3/5

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

For a three-parameter read tool with no output schema, the definition covers inputs well but says nothing about what comes back — no comment fields, no pagination/token note, and no indication of how replies relate to the top-level threads. Adequate to call, but an agent cannot predict the response shape.

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 description coverage is 0%, so the description must carry the parameters, and it does: all three are explained, including the non-obvious rule that max_results of 0 or negative fetches all, and the two valid order values (which the schema does not constrain with an enum). It does not restate the schema defaults (relevance, 20) or clarify video_id format beyond "YouTube video ID".

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?

"List top-level comments on a video" gives a specific verb (list), resource (comments), and scope (top-level, per video). It is immediately distinguishable from youtube_post_comment and youtube_delete_comment. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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 context of use (given a video_id, enumerate its comments) is implied clearly enough to act on, but there is no explicit when-to-use/when-not guidance, no mention of alternatives, and no prerequisites such as needing authentication or an existing video ID from youtube_list_videos.

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