Skip to main content
Glama

Hide or Unhide a Facebook Comment

meta_hide_comment
Idempotent

Hide or unhide a Facebook Page comment to moderate without deleting. Use comment and page IDs, with boolean flag to control visibility.

Instructions

Hides or unhides a comment on a Facebook Page post.

Hidden comments are only visible to the comment author and their friends. This is a non-destructive alternative to deletion — useful for moderation.

Args:

  • comment_id (string): Comment ID to hide/unhide

  • page_id (string): Page ID (for authentication)

  • is_hidden (boolean): true to hide, false to unhide

Requires pages_manage_engagement permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesPage ID (for auth)
is_hiddenYestrue to hide, false to unhide
comment_idYes
Behavior5/5

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

It goes beyond the boolean annotations by explaining the real-world effect: hidden comments are visible only to the author and their friends. It also discloses the required pages_manage_engagement permission and reinforces the non-destructive nature of the operation, which is consistent with destructiveHint=false and idempotentHint=true.

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?

The description is compact and well organized: a purpose sentence, a behavioral consequence, a moderation context sentence, a clean Args block, and a permission note. Every line earns its place and the most important operational information appears before the parameter list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter mutation tool with no output schema, the description covers the action, post-condition visibility, parameter semantics, permission requirements, and relationship to deletion. No critical operational information is missing for an agent to call it correctly.

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?

The schema leaves comment_id undocumented, but the description fills that gap and restates the meanings of page_id and is_hidden. Because 67% of parameters already have schema descriptions, the description's added value is mainly in defining comment_id and framing page_id for authentication, which is enough to support correct invocation.

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 immediately states the specific action ('Hides or unhides a comment on a Facebook Page post') with a clear verb and resource. It also distinguishes itself from deletion by calling itself 'a non-destructive alternative to deletion,' which separates it from sibling tools like meta_delete_comment and meta_reply_post_comment.

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 gives clear context ('useful for moderation') and explicitly positions the tool as a non-destructive alternative to deletion, which helps an agent decide when to choose it over deleting a comment. It does not list all possible alternatives or exclusions, but the moderation use case plus the permission requirement provides solid guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/open-work-org/open-mcp-servers'

If you have feedback or need assistance with the MCP directory API, please join our Discord server