Skip to main content
Glama
facebook-mcp

facebook-mcp

Set Comment Hidden

set_comment_hidden
DestructiveIdempotent

Hide or unhide a Facebook comment so hidden comments remain visible only to their author; use when moderating Page comments.

Instructions

Hide (or unhide) a comment. Hidden comments stay visible only to their author.

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": {
      "comment_id": "<comment_id>"
    },
    "name": "set_comment_hidden"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage id or exact Page name. Omit to use the default Page (or the Page that owns the given post).
hiddenNo
comment_idYesGraph object id, e.g. '1234567890' or '<pageid>_<postid>'.

Output Schema

NameRequiredDescriptionDefault
idYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare idempotent, destructive, and open-world behavior, so the bar is lower; the description adds genuinely non-structured information — that hidden comments remain visible to their author rather than disappearing. It does not contradict the destructive hint, though it omits any permission requirements.

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?

Two short sentences, zero filler, with the action and its state consequence front-loaded.

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 mutation tool with annotations and an output schema, the description covers the core effect well. It leaves out authorization requirements and any side effects on existing replies/notifications, which would matter for a destructive-flagged write.

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 67%, with the key 'hidden' boolean undocumented in the schema; the description's 'Hide (or unhide)' clarifies that it is a toggle in both directions, but says nothing about the page-scoping parameter or comment id format, which the schema already handles.

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 pair (hide/unhide) and resource (comment) with the resulting state semantics — visible only to the author. This clearly differentiates it from sibling tools like delete_comment, list_comments, and add_comment.

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

Usage Guidelines3/5

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

The description implies the use case (make a comment visible only to its author, or reverse that), but never states when to choose this over delete_comment or add_comment, and gives no prerequisites such as needing to be the author or a page admin.

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