Skip to main content
Glama

Groundsocial

Replies to a YouTube comment

youtube_comment_replies
Read-onlyIdempotent

Replies to a YouTube comment, paginated.

Replies under one comment, oldest first as YouTube shows them: 10 on the first page, about 50 on the next ones. Start either with video and comment (a top-level comment id, the id of a youtube_video_comments thread) or with after = a thread’s repliesToken; then pass each page’s nextPageToken as after. A comment with no replies (or that does not exist) answers an empty page.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "youtube_comment_replies"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoA thread’s `repliesToken`, or the previous replies page’s `nextPageToken`.
videoNoThe video the comment is on (id or URL), with `comment`.
commentNoA top-level comment id, with `video`.
textFormatNohtml (default) or plainText.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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 material context on top: 1 credit per call with automatic refund on failure, page-size behavior (10 first page, ~50 thereafter), empty-page semantics, and the presence of cost_credits and credits_remaining in results. That is real behavioral disclosure, not restatement.

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?

Front-loaded purpose sentence, then paging rules, then cost/safety notes in a short final paragraph. Every sentence carries operational information; nothing is padding.

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 still covers return contents (cost_credits, credits_remaining), pagination mechanics, empty-result behavior, and billing/refund terms. For a 4-parameter read tool this leaves no material gap for correct invocation.

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, but the description adds the either/or relationship between the `video`+`comment` pair and the `after` token that the schema cannot express (required parameters are 0). It does not explain `textFormat` beyond what the enum already says, which keeps it from a 5.

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 specific verb and resource ('Replies to a YouTube comment') plus scope ('paginated'), and anchors it against the sibling that produces the input ids by calling out the 'id of a youtube_video_comments thread'. An agent can distinguish this from youtube_video_comments without opening either 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 concrete entry conditions: start with `video` + `comment`, or with `after` set to a repliesToken, then feed each page's nextPageToken back in. It also tells the agent what an empty page means (no replies or nonexistent comment). It stops short of an explicit 'for top-level comments use X instead' statement, so the alternative is implied rather than stated.

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.