Skip to main content
Glama
Upload-Post

Upload-Post

Official

Delete a comment

delete_comment
Destructive

Remove a comment from a social media post by specifying its comment ID and platform. LinkedIn requires the post URN; TikTok needs the 'comments' capability.

Instructions

Delete a comment by commentId. LinkedIn also requires postId (the post urn); TikTok needs only the commentId. TikTok: Requires the 'comments' capability on the profile's TikTok account (see the capabilities array in list_users). It is granted at connection time, so an account connected earlier has to reconnect TikTok before this works.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesUpload-Post profile name.
postIdNoLinkedIn only: the post urn the comment belongs to.
platformNoSocial platform. One of instagram, facebook, youtube, linkedin, tiktok, x, bluesky (Threads cannot delete comments).instagram
commentIdYesID of the comment to delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.11.4
    • changedInput schema / properties / platform / description
      Previous value: -"Social platform. One of instagram, facebook, youtube, linkedin, tiktok."New value: +"Social platform. One of instagram, facebook, youtube, linkedin, tiktok, x, bluesky (Threads cannot delete comments)."
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "instagram",
      -  "facebook",
      -  "youtube",
      -  "linkedin",
      -  "tiktok"
      -]New value: +[
      +  "instagram",
      +  "facebook",
      +  "youtube",
      +  "linkedin",
      +  "tiktok",
      +  "x",
      +  "bluesky"
      +]
  2. Changed4 schema fields changedv0.11.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / platform / description
      Previous value: -"Social platform. One of instagram, facebook, youtube, linkedin."New value: +"Social platform. One of instagram, facebook, youtube, linkedin, tiktok."
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "instagram",
      -  "facebook",
      -  "youtube",
      -  "linkedin"
      -]New value: +[
      +  "instagram",
      +  "facebook",
      +  "youtube",
      +  "linkedin",
      +  "tiktok"
      +]
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  3. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-structured context: the TikTok capability prerequisite, that it is granted at connection time, and the reconnect remedy — a real operational constraint. It does not state irreversibility or failure behavior, keeping it below 5.

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?

Three tight sentences, front-loaded with the core action and ID, then platform deltas, then the capability prerequisite. The final sentence is long but each clause carries actionable information; no filler.

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?

An output schema exists, so return values need no explanation. Combined with annotations and full schema coverage, the description supplies the missing prerequisites and per-platform parameter rules. It is slightly incomplete on whether platforms other than LinkedIn/TikTok (e.g. the instagram default) actually support deletion.

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 baseline is 3. The description adds relational value the schema does not: postId is listed as optional in the schema yet the description states LinkedIn *requires* it, and it clarifies that TikTok needs only commentId — resolving a per-platform requirement ambiguity.

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 ('Delete a comment by `commentId`') immediately, and the platform-specific detail makes it distinguishable from siblings such as create_comment, reply_to_comment, and the ambiguous comment_action. An agent can identify this as the destructive comment-removal tool without opening the 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 clear conditional guidance: LinkedIn additionally requires postId, TikTok needs only commentId, and TikTok requires the 'comments' capability granted at connection time (reconnect if connected earlier). What is missing is explicit routing against alternatives like comment_action or public_reply_to_comment, so it stops short of a 5.

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