Skip to main content
Glama

VideoDataAPI — YouTube Transcript, Subtitles & Comments MCP. Zero-signup x4

List YouTube Video Comments

youtube_comments
Read-onlyIdempotent

Extract top or newest video comments with author channel info, like count, reply count, published time, and continuation cursor.

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

Input Schema

NameRequiredDescriptionDefault
tokenNoContinuation cursor token returned from a previous page.
sort_byNoComment sort order: top or newest (default top).
video_idYes11-character YouTube video ID or full YouTube URL.

Output Schema

NameRequiredDescriptionDefault
codeYesStatus code (0 on success).
dataYesPaginated comments payload.
metaNoGateway execution metadata including request ID, cache tier, and credits charged.
statusYesResponse status string (ok or error).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is fully covered. The description adds that a continuation cursor is returned, which implies pageable results, but says nothing about rate limits, quota cost, or what happens with unavailable/disabled comments. Useful but thin beyond the annotations.

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?

A single front-loaded sentence with no filler; the sort scope appears early and the returned fields are enumerated compactly. Nothing could be cut without losing information.

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?

With three fully documented parameters, a rich annotation set, and an output schema, the description supplies what is needed to invoke the tool correctly. The only shortfall is the absence of any paging instruction tying the returned cursor back to the token parameter.

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 coverage is 100% and each parameter already carries its own description, including the sort_by enum and the 11-character ID/URL format. The description merely echoes 'top or newest' and the cursor concept, adding no format, default, or edge-case detail beyond the 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 names a specific verb and resource ('Extract ... video comments') and scopes it to 'top or newest', so an agent can tell this is the comments-listing tool rather than video info, transcript, or search. It does not explicitly contrast itself with any sibling, which keeps it out of 5 territory.

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?

Usage is only implied: 'top or newest' hints at the sort_by choice and 'continuation cursor' hints at a paging workflow, but the description never states when to pick this over youtube_video_info or youtube_transcript, nor when not to use it. Adequate context, no explicit routing guidance.

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.

Resources