Skip to main content
Glama

Facebook Post Comments

facebook_post_comments
Read-only

Get the comments on a Facebook post by post ID (pfbid or numeric, from facebook_page_posts, facebook_group_posts or search_facebook_posts). Returns each comment's text, author details, reaction and reply counts, date and any attachment. Billed $0.008 per page.

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": {
      "post_id": "<post_id>"
    },
    "name": "facebook_post_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNoNumber of pages to fetch (1-20, default 1). Billed per page.
post_idYesFacebook post ID (pfbid or numeric, from facebook_page_posts, facebook_group_posts, or search_facebook_posts). For a reel or video, its post_id or video_id.
get_sentimentNoAdd AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small surcharge per page, or per request on single-request endpoints.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / post_id / description
      Previous value: -"Facebook post ID (pfbid or numeric, from facebook_page_posts, facebook_group_posts, or search_facebook_posts)"New value: +"Facebook post ID (pfbid or numeric, from facebook_page_posts, facebook_group_posts, or search_facebook_posts). For a reel or video, its post_id or video_id."
  2. Changed1 schema field changed
    • changedInput schema / properties / get_sentiment / description
      Previous value: -"Add AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small per-page surcharge."New value: +"Add AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small surcharge per page, or per request on single-request endpoints."
  3. Changed1 schema field changed
    • changedInput schema / properties / pages / description
      Previous value: -"Number of pages to fetch (1-10, default 1). Billed per page."New value: +"Number of pages to fetch (1-20, default 1). Billed per page."
  4. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered structurally. The description does add real value beyond them: the exact per-comment fields returned (text, author, reaction/reply counts, date, attachments) and the $0.008 per-page billing rate. It does not discuss rate limits, ordering, empty-result behavior, or pagination beyond mentioning 'per page'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with what is fetched and by what key, then return shape, then price. Every clause carries information, though the pfbid/numeric detail is duplicated verbatim in the schema and could be trimmed.

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?

With no output schema, the description carries the return-shape burden and does so by enumerating per-comment fields, plus it discloses cost. Minor gaps remain around pagination behavior and whether comments are paginated across the pages parameter, but nothing that would cause a misinvocation.

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 description coverage is 100%, so pages, post_id and get_sentiment are all documented in structured fields; baseline is 3. The description restates the post_id provenance and the per-page billing, adding mild emphasis but no semantics not already in the schema (sentiment and page range are only in the schema).

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?

Specific verb plus resource ('Get the comments on a Facebook post'), scoped by post ID, and the parenthetical naming of pfbid/numeric IDs makes the target object unambiguous. An agent can distinguish it from sibling comment tools (instagram_post_comments, reddit_post_comments, tiktok_video_comments) purely from the description.

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?

It tells the agent where the required post_id comes from (facebook_page_posts, facebook_group_posts, search_facebook_posts), which is the key prerequisite for invoking it correctly. It stops short of explicit when-not-to-use guidance, e.g. not saying to use a different tool when the parent object is a reel/video, though the schema covers that case.

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