Skip to main content
Glama
mrsknetwork

YouTube MCP

by mrsknetwork

list_video_comments

Read-only

Retrieve top-level comments and replies for a YouTube video or channel. Filter comments by keywords and paginate through results.

Instructions

Fetch top-level comment threads for a video or all comments on a channel. Returns snippet.topLevelComment (authorDisplayName, textDisplay, likeCount, publishedAt) and replies.comments[] for threaded replies. Use search_terms to filter comments containing a specific phrase. Use page_token to paginate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
video_idNoThe video ID
channel_idNoThe channel ID
search_termsNoSearch query in comments
max_resultsNoDefault 5
page_tokenNoToken from a previous response to fetch the next page of results.
Behavior4/5

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

Annotations already indicate readOnlyHint and openWorldHint. Description adds value by detailing the returned structure (snippet.topLevelComment with fields and replies.comments[]), enhancing transparency beyond 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?

Two sentences, front-loaded with main action and resources, no unnecessary text. Each sentence adds distinct value: purpose and output details, then usage guidance.

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?

For a tool with no output schema and only annotations, the description covers main operation, filtering, pagination, and return fields. It could note that at least one of video_id or channel_id is typically needed, but schema allows both optional. Still fairly complete.

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?

With 100% schema coverage, the schema already describes all parameters. Description adds meaning by explaining usage of search_terms and page_token, going beyond the schema descriptions.

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?

Description clearly states 'Fetch top-level comment threads for a video or all comments on a channel' with specific verb and resource, and distinguishes between video and channel contexts. It also lists returned fields, providing clear purpose.

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?

Description explains using search_terms for filtering and page_token for pagination, offering practical usage guidance. However, it does not explicitly mention when not to use this tool or alternatives like list_comment_replies.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrsknetwork/ytmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server