Skip to main content
Glama

SocialAPIs

Facebook: Get Post Comments

facebook_get_post_comments
Read-only

Retrieve top-level comments from a Facebook post or reel with pagination. Pricing: 1 credit per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linkYesFacebook post or reel URL
limitNoMaximum number of comments to return. Default: 10. Maximum: 30.
end_cursorNoPagination cursor for next page of comments
include_reply_infoNoWhen "true", includes comment_feedback_id and expansion_token for fetching replies

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesJSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining).
creditsChargedNoCredits charged for this call, or null if the endpoint did not report it.
creditsRemainingNoCredits left on the API key after this call, or null if not reported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description adds genuinely new context: the per-call cost (1 credit) and the fact that results are paginated. It does not disclose rate limits or what the response looks like, but pricing is a meaningful addition beyond structured fields.

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, no filler; the core action is front-loaded and the pricing caveat is placed last where it belongs. Every sentence earns its place.

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?

An output schema exists, so return values need not be described, and the description covers action, scope, pagination, and cost. The one gap is the absence of explicit routing to facebook_get_comment_replies for nested replies, which an agent might need given the large sibling set.

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 every parameter (link, limit, end_cursor, include_reply_info) is already documented in the schema. The description's mention of 'pagination' is the only added hint, which merely echoes the end_cursor parameter; baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Retrieve) and resource (top-level comments) scoped to a Facebook post or reel, and the word 'top-level' implicitly carves out a distinct resource from the sibling facebook_get_comment_replies. It stops short of naming that sibling explicitly, so it is clear but not maximally discriminating.

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 'top-level' qualifier hints that reply retrieval is a separate operation, but the description never says when to use this tool vs. facebook_get_comment_replies or advertises any prerequisites. Usage is implied rather than stated.

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.