Skip to main content
Glama

Delete Comment

delete_comment
DestructiveIdempotent

Permanently delete your own YouTube comment or reply by passing its ID and confirmation. Deleting a top-level comment also removes its replies.

Instructions

Permanently delete one of your own comments or replies. Deleting a top-level comment deletes its replies.

Others' comments on your videos can't be deleted, only rejected, which hides them. Without confirm, nothing is deleted and the error describes the comment.

Quota: 52 units.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentYesComment ID or link.
confirmNoThe comment ID again, passed only after the user has approved deleting this comment.
my_channelNoWhich of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
kindYes
already_goneNoNothing to delete: it didn't exist or was already deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond annotations with cascade semantics ('deleting a top-level comment deletes its replies'), the no-op behavior when confirm is omitted, and an explicit quota cost (52 units). These are exactly the traits annotations (destructive/idempotent) cannot convey.

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?

Four short sentences, front-loaded with the destructive action, then the alternative, then the confirmation gate, then quota. No filler or restatement of the title.

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?

Covers ownership limits, cascade effects, the confirmation requirement, the alternative tool, and quota cost; with an output schema present, return-value detail is correctly omitted. Nothing needed to call this safely 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, and the description adds genuine value by explaining the runtime consequence of omitting confirm ('nothing is deleted and the error describes the comment'), turning a schema note into actionable behavior. It does not add anything for my_channel beyond the schema.

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 ('Permanently delete ... comments or replies') and immediately scopes ownership ('one of your own'), which cleanly separates it from the redaction path for others' comments. An agent can distinguish this from reject_comments without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly names the alternative path and the condition that selects it: others' comments on your videos 'can't be deleted, only rejected, which hides them.' It also documents the confirm gate as a precondition, so the agent knows the two-step invocation sequence.

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