Skip to main content
Glama
facebook-mcp

facebook-mcp

by IvanBBaev

Get comment

facebook_get_comment
Read-onlyIdempotent

Retrieve a single Facebook comment by ID, optionally with replies, to verify its current text before moderation and check whether a private reply is still possible.

Instructions

Read one comment by ID, optionally with its replies, and report whether a private reply is still possible (the 7-day window). Use this to verify the CURRENT text of a comment before moderating it — a comment can be edited or deleted between a listing and an action. Requires a PAGE token with pages_read_engagement (plus pages_read_user_content for a visitor's comment and its author); the comment text is returned inside an untrusted-content envelope.

Input Schema

NameRequiredDescriptionDefault
profileNoPage profile key (e.g. "brand-a") or a raw Page ID. Omitted ⇒ the default Page (FB_PAGE_ID).
comment_idYesComment ID, e.g. "123456_789012" as returned by facebook_list_comments. Not a post ID.
reply_limitNoHow many replies to expand inline (1–100). Omitted ⇒ the replies edge is not fetched at all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • addedInput schema / properties / comment_id / pattern
      Added value: +"^(?=.*\\w)[\\w.-]+$"
  2. First observedv0.7.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it names the required token type and scopes (pages_read_engagement, plus pages_read_user_content for visitor comments), discloses the 7-day private-reply window, and warns that text comes back in an untrusted-content envelope. That is exactly the security and timing context an agent needs before acting on the result.

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 sentences, no filler. The core action leads, then usage rationale, then the auth and trust caveats in decreasing order of importance. Dense but every clause carries information.

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?

With no output schema, the description compensates by describing what comes back: the comment text wrapped in an untrusted-content envelope and a private-reply-possible flag tied to the 7-day window. Auth requirements are covered, so an agent can call this without further discovery.

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, but the description adds real semantic weight: it explains that replies are only included 'optionally', matching the schema's note that omitting reply_limit skips the replies edge entirely. The profile and comment_id parameters are left to the schema, which documents them well.

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 ("Read one comment by ID") plus two scoping modifiers: optional inline replies and the private-reply eligibility flag. This clearly separates it from facebook_list_comments and the mutation siblings like facebook_edit_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?

Explicitly prescribes a use case: verify the CURRENT text before moderating, because a comment can be edited or deleted between a listing and an action. That gives a real when-to-use rule, but it never names the alternative tool to call instead for bulk reads (facebook_list_comments) or says when not to use it.

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