Skip to main content
Glama

Reply or comment as the channel

reply_to_comment

Posts a public reply to a YouTube comment or a new top-level comment on a video, posting as the channel only after the exact text is confirmed.

Instructions

Post a public reply to a comment (comment_id = the top-level comment or thread id) or a new top-level comment on a video (video_id). Posts publicly as the channel, so the user confirms the exact text first.

Input Schema

NameRequiredDescriptionDefault
textYes
channelNoWhich connected channel: channel ID (UC...), @handle or name. Omit to use the default channel.
video_idNo
comment_idNo
confirmation_tokenNoOnly after the user approved: the confirmation_token returned by the previous call with identical arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world write. The description adds genuinely new behavior: the post is public and attributed to the channel, and a confirmation step is required before posting. It does not cover failure modes, quota cost, or whether the reply is immediately visible.

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?

A single dense sentence with the primary action front-loaded and the mode distinction in parentheses. Every clause carries information, though the nested parentheticals make it slightly harder to scan than a two-sentence split would.

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 public write tool with no output schema, the definition covers the essential mechanics: what gets posted, under whose identity, and the confirmation gate. Missing details are secondary — error behavior, quota impact, and what the response contains after posting.

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 only 40%, so the description must compensate. It does explain comment_id (top-level comment or thread id) and video_id (new top-level comment), but leaves channel and confirmation_token to the schema and says nothing about text constraints (1–10000 chars). Partial compensation warrants a middle score.

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?

The description names a specific verb and resource ('Post a public reply to a comment' / 'new top-level comment on a video') and disambiguates the two modes by tying each to its parameter (comment_id vs video_id). This clearly separates it from siblings like list_comments, delete_comment, and moderate_comments.

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?

It states the two usage modes explicitly and adds the precondition that the user must confirm the exact text first, which tells the agent how to sequence the call. It stops short of naming when to prefer a sibling (e.g., moderate_comments) or what to do if the target comment is gone.

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