Skip to main content
Glama

Hide or unhide a comment

moderate_comment
DestructiveIdempotent

Hide one comment from the public on a published post, or show it again with hidden: false. It is not deleted and it can be undone at any time. postId comes from list_comments and commentId from get_comment_thread. Supported on Facebook, Instagram, Threads, X and TikTok. It changes what the public sees: confirm with the user first.

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": {
      "postId": "<postId>",
      "commentId": "<commentId>",
      "hidden": "<hidden>"
    },
    "name": "moderate_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiddenYestrue hides the comment, false shows it again.
postIdYesNetwork post id, from list_comments.
accountIdNoRestrict to one account (Ignix account id from list_accounts).
commentIdYesComment id, from get_comment_thread.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / commentId / description
      Added value: +"Comment id, from get_comment_thread."
    • changedInput schema / properties / hidden / description
      Previous value: -"true hides, false unhides."New value: +"true hides the comment, false shows it again."
    • changedInput schema / properties / postId / description
      Previous value: -"Network post the comment belongs to."New value: +"Network post id, from list_comments."
  2. First observed

TDQS

A4.2/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 openWorldHint=true, so the safety bar is lowered. The description nevertheless adds meaningful context not in the annotations: the change is publicly visible, it is reversible ("can be undone at any time") and it does not delete content. Note a mild tension with destructiveHint=true, but since hiding is a public-visibility mutation rather than data loss, this is clarification rather than contradiction. It does not describe the returned result shape.

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 front-loaded sentences: action and toggle first, then reversibility, then parameter provenance, then platform support and the safety checkpoint. No filler, no restatement of the title, and every clause carries information the agent needs before calling.

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 single-object mutation with full schema coverage and annotations declaring destructiveness and idempotency, the description covers the essentials: reversibility, visibility impact, platform scope, identifier sources, and a confirmation requirement. Residual gaps are minor (no stated behavior for unsupported networks or failure modes), and there is no output schema the description would need to explain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents hidden=true/false, the accountId scoping, and the idempotencyKey retry protocol in detail. The description's references to list_comments and get_comment_thread duplicate what the schema descriptions already say ("from list_comments", "from get_comment_thread"). It adds the reversed polarity convention for hidden, but otherwise the schema carries the load, so the baseline of 3 applies.

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?

"Hide one comment from the public on a published post, or show it again with hidden: false" gives a specific verb (hide/unhide), a specific resource (one comment), and the exact state toggle. It is clearly distinguishable from reply_to_comment, get_comment_thread and delete-style operations, and the scope (single comment, published post) is explicit.

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 tells the agent where the two identifiers originate (postId from list_comments, commentId from get_comment_thread), lists the supported networks, and adds a confirmation prerequisite ("confirm with the user first"). It also implicitly separates this from a delete by stating the comment is not deleted. What is missing is an explicit statement of when NOT to use it, e.g. behavior on unsupported networks or on unpublished posts.

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