Skip to main content
Glama

Delete a comment

delete_comment
DestructiveIdempotent

Deletes a synchronized comment from the platform. Comments your accounts wrote (fromAccount true) can be deleted on every platform, as the account that wrote them. Comments other people wrote can be deleted only on Instagram and Facebook; hide_comment hides them on other platforms. Instagram, Facebook, and LinkedIn also delete the replies to the comment. Deletion can't be undone. The target workspace is determined automatically from accountId.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "commentId": "<commentId>",
      "platform": "<platform>",
      "accountId": "<accountId>"
    },
    "name": "delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdNopostId from list_comments. Needed for LinkedIn, where the same comment ID can appear on different posts.
platformYesplatform from list_comments.
accountIdYesaccountId from list_comments: the account that received the comment.
commentIdYescommentId from list_comments.
workspaceIdNoOptional. The workspace is determined automatically from accountId; when given, it must match the account's workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, but the description adds what annotations cannot: deletion is irreversible, replies to the comment are also removed on Instagram, Facebook and LinkedIn, and the workspace is resolved from accountId. It does not say what a success response looks like, but for a delete operation the disclosed side effects are the substantive gaps and they are covered.

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 purpose and then the eligibility rules, with zero filler. The only mild overlap with structured data is the workspace/accountId sentence, which still reads as intentional emphasis rather than padding.

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 destructive, side-effecting delete with five parameters and no output schema, the description covers eligibility, cascade effects, irreversibility, and workspace resolution. The only missing piece is whether the call returns a confirmation or result payload, which is a minor gap given the tool's simplicity.

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. The description adds real meaning on top by explaining that the workspace is derived automatically from accountId, which tells the agent it normally need not supply workspaceId. Other parameters (postId, commentId, platform) are left entirely to their schema descriptions.

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 opens with a specific verb and resource ("Deletes a synchronized comment") and immediately scopes it: comments you own can be deleted anywhere, others' only on Instagram/Facebook. It explicitly distinguishes itself from hide_comment, so an agent can pick between the two without opening either 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?

It gives concrete eligibility rules (ownership via fromAccount, per-platform limits) and names the alternative tool with the exact condition that selects it ("hide_comment hides them on other platforms"). When-to-use, when-not-to-use, and the fallback are all stated.

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