Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Facebook Group Posts

facebook_group_posts

Retrieve recent posts from a public Facebook group URL with captions, authors, engagement data, and sorting by recency, activity, or top posts.

Instructions

Newest posts from a public Facebook group — caption, author, engagement, sortBy; 1 credit per post. Costs ~20 credits (1/result). Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "url": "<url>"
    },
    "name": "facebook_group_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic Facebook group URL, e.g. https://facebook.com/groups/ID. Must contain /groups/ — profile/page URLs are a definitive 400 (use /v1/facebook/profile-posts for those). The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax posts to return (default 20, max 200; up to 80 per call — above that you get 80 with truncatedReason per-call-cap). Billed 1 credit per returned post, minimum 2.
sortByNoTOP_POSTS | RECENT_ACTIVITY | CHRONOLOGICAL (default) | CHRONOLOGICAL_LISTINGS. Maps to Facebook sorting_setting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: cost estimation (~20 credits), the rule that empty results and failures are never charged, and the cache-hit semantics. It still omits operational behavior an agent would want — auth requirements, rate limits, pagination/truncation behavior, and what the 'engagement' payload actually contains.

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?

Dense and front-loaded: purpose and output fields first, then cost, then caching. The only waste is the near-duplicate '1 credit per post. Costs ~20 credits (1/result).', which states the same rate twice in different framings.

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?

No output schema exists, so the description correctly supplies the return-field sketch, and with no annotations it covers the two things an agent most needs to decide: cost and cache. Remaining gaps (pagination, truncation handling, auth) are secondary for a read-only scrape endpoint.

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 100%, so the four parameters are already fully documented, including the sortBy enum values and per-call cap. The description repeats the sortBy name and the per-post billing but adds no format or edge-case meaning beyond the schema, so baseline 3 applies.

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?

The description opens with a specific verb and resource: 'Newest posts from a public Facebook group', and enumerates what comes back (caption, author, engagement, sortBy). It does not name facebook_profile_posts as the sibling for non-group URLs, so an agent must open the schema to find that distinction.

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 'public Facebook group' scoping implies when this tool applies, and the pricing model hints at volume-sensitive usage, but there is no explicit when-to-use/when-not statement or named alternative. Routing to facebook_profile_posts only appears in the schema's url description, not in the tool description.

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

Deploy Server

Other Tools