Skip to main content
Glama
tuitamogamer-gpt

youtube-mcp-server

Update Comment

youtube_update_comment

Update the text of an existing YouTube comment to correct errors or revise content. Requires comment ID and new text.

Instructions

Updates the text of an existing comment owned by the authenticated channel.

Args

  • commentId (string, required) — ID of the comment to update.

  • text (string, required) — New text content for the comment.

Returns The updated comment resource:

{
  "id": "string",
  "parentId": "string",
  "authorDisplayName": "string",
  "text": "string",
  "updatedAt": "ISO-8601"
}

Examples

  • Fix a typo in a comment: { "commentId": "UgxABC123_reply", "text": "Corrected text here." }

Errors

  • 400 if text is empty or the commentId is invalid.

  • 403 if the comment does not belong to the authenticated channel, or quota is exceeded.

  • 404 if the comment does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentIdYesID of the comment to update.
textYesNew text content for the comment.
Behavior5/5

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

Annotations indicate a write operation (readOnlyHint=false) and non-destructive (destructiveHint=false). The description adds behavioral details: updates text, requires ownership, and lists error conditions (400, 403, 404). No contradiction with 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?

The description is concise and well-structured with clear sections (Args, Returns, Examples, Errors). Every sentence adds value, and the purpose is front-loaded.

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?

Despite lacking a formal output schema in structured fields, the description provides a JSON example of the return value. It covers parameters, errors, and ownership constraint, making the tool fully understandable for a simple update operation.

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% with descriptions for both parameters. The description repeats them but adds an example ('Fix a typo') that provides semantic usage context beyond the schema, justifying a slight improvement over baseline.

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 clearly states it updates the text of an existing comment owned by the authenticated channel. It distinguishes from sibling tools like youtube_delete_comment or youtube_mark_comment_as_spam by specifying the action and ownership requirement.

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?

The description implies when to use (to update your own comment's text) through ownership language and error codes (403 if not owned). It does not explicitly state when not to use or name alternatives, but the context is clear.

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/tuitamogamer-gpt/youtube-mcp-server'

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