Skip to main content
Glama

Delete a comment

delete_comment
Destructive

Permanently delete a comment. TikTok deletes only comments the account itself wrote; hide other people's comments instead. YouTube deletes the channel's own comments and rejects anyone else's, which cannot be undone; banAuthor "true" also bans that commenter from the channel. Confirm with the user first.

Input Schema

NameRequiredDescriptionDefault
platformYes
accountIdYesAn accountId from list_accounts.
banAuthorNo
commentIdYesA comment id from list_comments.
profileIdNoA profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / profileId / description
      Previous value: -"Defaults to the profile your API key is bound to."New value: +"A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive, non-readonly, open-world, but the description adds the context an agent actually needs: per-platform eligibility rules, that deletions are permanent, that YouTube cannot undo them, that banAuthor=true has the side effect of banning the commenter, and that user confirmation is required first.

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-loads the core action, then platform caveats, then the confirmation requirement — each sentence is decision-relevant with no filler or repetition of the title.

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?

No output schema, so return values need no explanation, and annotations plus the description cover safety and platform behavior well. The remaining gap is that instagram and facebook are valid platform enum values but their deletion semantics are never described.

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 60% and banAuthor has no schema description at all, so the description carries meaningful load by explaining that banAuthor 'true' bans the commenter from the channel — a side effect not inferable from an enum of true/false. accountId, commentId and profileId are left to their schema descriptions, and platform values are unexplained, so it does not fully compensate.

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?

Opens with a specific verb and resource ('Permanently delete a comment'), immediately establishing scope and irreversibility. It then distinguishes the tool's behavior per platform, which no sibling (update_comment, reply_to_comment, delete_x_post) does for 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?

Gives strong conditional routing: on TikTok only the account's own comments are eligible and others should be 'hidden' instead; YouTube rejects other people's comments. It also mandates user confirmation. Slight deduction because it never names a concrete alternative tool for the general non-owned-comment case, and no 'hide' sibling exists in the tool list.

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.

Resources