Skip to main content
Glama

List video comments

youtube_video_comments
Read-onlyIdempotent

YouTube API: List video comments. Top-level comments of a video with author, likes, replies count, date and pinned flag. With include_replies=true each comment also carries replies (comment_id, parent_id, text, author, like_count, published_at), up to replies_per_comment each. Replies are billed like comments: 1 credit per 100 comments and replies together. Price: 1 credit per 100 items returned (min 1); with include_replies=true the nested items (up to replies_per_comment per item) count as items too; failed calls are free. Paginated: pass pagination.next_cursor as cursor for the next page (each page is a new call).

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

Input Schema

NameRequiredDescriptionDefault
sortNoTop comments or newest firsttop
limitNoComments per page (max 100)
cursorNo`pagination.next_cursor` of the previous page
video_idYes11-character video ID
include_repliesNoAlso return each comment's replies, in its `replies` list (billed like comments)
replies_per_commentNoWith `include_replies`: most replies per comment (max 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description adds pricing behavior beyond that: 1 credit per 100 items with a min of 1, nested replies billed as items, failed calls free, and each page being a separate billable call. That is exactly the cost/behavior context an agent needs before invoking a paid, paginated endpoint.

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?

Front-loaded with purpose and return shape, then pagination and price. The billing information is stated twice in overlapping form ("Replies are billed like comments" followed by the general per-item price sentence), which is slight redundancy in an otherwise dense, purposeful description.

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 return-shape burden and does so fully, listing both top-level comment fields and the nested reply fields. For a 6-parameter paginated, billed read tool, nothing essential is 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; the description goes further by tying include_replies and replies_per_comment to billing consequences and clarifying that cursor comes from pagination.next_cursor. The remaining parameter meanings (sort, limit) are left to the schema, which is fine given full coverage.

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 concrete verb and resource ("List video comments") and narrows scope to "Top-level comments of a video," plus enumerates the returned fields (author, likes, replies count, date, pinned flag). An agent can tell this apart from youtube_video or youtube_transcript 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 Guidelines4/5

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

Gives clear operational guidance: use include_replies=true to get nested replies, and pass pagination.next_cursor as `cursor` for the next page. It does not explicitly say when to prefer this over a sibling tool, but no sibling in the provided list serves comments, so the practical gap is small.

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.