Skip to main content
Glama

Facebook: Group

facebook_group
Read-only

Public Facebook groups: details, group ID, posts, videos and photo albums.

Actions:

  • action=details: Get a public Facebook group's profile: name, description, member count, privacy, rules and activity stats. Use action=posts for its posts. Pricing: 1 credit per call. Inputs: link (required).

  • action=id: Resolve a Facebook group URL to its numeric group ID. Use action=details for the group's data. Pricing: 1 credit per call. Inputs: link (required).

  • action=posts: List recent posts from a public Facebook group, with text, media, author, reactions and comment counts. Returns 3-9 posts per call plus an end_cursor for the next page; filter by date with after_time / before_time. Pricing: ceil(posts_returned / 3) credits per call, minimum 1. Inputs: link (required), limit (optional), end_cursor (optional), timezone (optional).

  • action=videos: List videos posted in a public Facebook group, with video_id, title, duration, view count and thumbnail. Returns an end_cursor for the next page. Pricing: 1 credit per call. Inputs: link (required), end_cursor (optional).

  • action=albums: List the photo albums of a public Facebook group, with album_id, album_title, url, thumbnail_uri, photos_count and videos_count. Returns an end_cursor for the next page. Needs the numeric group ID (group_id) from action=id. To get the photos in an album, pass its album_id to action=album_items. Pricing: 1 credit per call. Inputs: group_id (required), limit (optional).

  • action=album_items: Get the photos and videos inside a Facebook album (from a page or a group): media_id, media_type, url, thumbnail_uri and timestamp (Unix seconds). Needs an album_id from facebook_page (action=albums) or action=albums. Returns an end_cursor for the next page. Pricing: 1 credit per call. Inputs: album_id (required), end_cursor (optional).

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": {
      "action": "<action>"
    },
    "name": "facebook_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoFacebook group URL. Required for: details, id, posts, videos.
limitNoResults per call. posts: 3-9 (default 3) · albums: 8-16 (default 8). Optional for: posts, albums.
actionYesWhich operation to run. See the tool description for what each action returns and which parameters it needs.
album_idNoAlbum ID, from facebook_page (action=albums) or action=albums. Required for: album_items.
group_idNoFacebook group ID, from action=id. Required for: albums.
timezoneNoIANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC. Optional for: posts.
end_cursorNoPagination cursor. Optional for: posts, videos, album_items.

Output 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. Changed2 schema fields changed
    • removedInput schema / properties / after_time
      Removed value: -{
      -  "description": "ISO 8601 timestamp.\nOptional for: posts.",
      -  "type": "string"
      -}
    • removedInput schema / properties / before_time
      Removed value: -{
      -  "description": "ISO 8601 timestamp.\nOptional for: posts.",
      -  "type": "string"
      -}
  2. Changed6 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "details",
      -  "id",
      -  "posts",
      -  "videos"
      -]New value: +[
      +  "details",
      +  "id",
      +  "posts",
      +  "videos",
      +  "albums",
      +  "album_items"
      +]
    • addedInput schema / properties / album_id
      Added value: +{
      +  "description": "Album ID, from facebook_page (action=albums) or action=albums.\nRequired for: album_items.",
      +  "type": "string"
      +}
    • changedInput schema / properties / end_cursor / description
      Previous value: -"Pagination cursor.\nOptional for: posts, videos."New value: +"Pagination cursor.\nOptional for: posts, videos, album_items."
    • addedInput schema / properties / group_id
      Added value: +{
      +  "description": "Facebook group ID, from action=id.\nRequired for: albums.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of posts to return. Default: 3. Minimum: 3. Maximum: 9.\nOptional for: posts."New value: +"Results per call. posts: 3-9 (default 3) · albums: 8-16 (default 8).\nOptional for: posts, albums."
    • changedInput schema / properties / limit / maximum
      Previous value: -9New value: +16
  3. Changed6 schema fields changed
    • changedInput schema / properties / after_time / description
      Previous value: -"posts (optional): ISO 8601 timestamp."New value: +"ISO 8601 timestamp.\nOptional for: posts."
    • changedInput schema / properties / before_time / description
      Previous value: -"posts (optional): ISO 8601 timestamp."New value: +"ISO 8601 timestamp.\nOptional for: posts."
    • changedInput schema / properties / end_cursor / description
      Previous value: -"posts, videos (optional): Pagination cursor."New value: +"Pagination cursor.\nOptional for: posts, videos."
    • changedInput schema / properties / limit / description
      Previous value: -"posts (optional): Maximum number of posts to return. Default: 3. Minimum: 3. Maximum: 9."New value: +"Maximum number of posts to return. Default: 3. Minimum: 3. Maximum: 9.\nOptional for: posts."
    • changedInput schema / properties / link / description
      Previous value: -"details, id, posts, videos (required): Facebook group URL."New value: +"Facebook group URL.\nRequired for: details, id, posts, videos."
    • changedInput schema / properties / timezone / description
      Previous value: -"posts (optional): IANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC."New value: +"IANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC.\nOptional for: posts."
  4. Changed6 schema fields changed
    • changedInput schema / properties / after_time / description
      Previous value: -"For posts: ISO 8601 timestamp."New value: +"posts (optional): ISO 8601 timestamp."
    • changedInput schema / properties / before_time / description
      Previous value: -"For posts: ISO 8601 timestamp."New value: +"posts (optional): ISO 8601 timestamp."
    • changedInput schema / properties / end_cursor / description
      Previous value: -"For posts, videos: Pagination cursor."New value: +"posts, videos (optional): Pagination cursor."
    • changedInput schema / properties / limit / description
      Previous value: -"For posts: Maximum number of posts to return. Default: 3. Minimum: 3. Maximum: 9."New value: +"posts (optional): Maximum number of posts to return. Default: 3. Minimum: 3. Maximum: 9."
    • changedInput schema / properties / link / description
      Previous value: -"For details, id, posts, videos: Facebook group URL."New value: +"details, id, posts, videos (required): Facebook group URL."
    • changedInput schema / properties / timezone / description
      Previous value: -"For posts: IANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC."New value: +"posts (optional): IANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC."
  5. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, non-destructive, open-world), but the description adds substantial behavior they cannot express: per-action credit pricing including a computed rate (ceil(posts_returned / 3), minimum 1), pagination semantics via end_cursor, the 3-9 posts-per-call yield, and a hard ordering dependency (albums requires a numeric group_id obtained from action=id). These are exactly the operational facts an agent needs before spending credits or chaining calls.

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?

Front-loaded summary followed by one scannable bullet per action, each with purpose, guidance, pricing, and inputs in a consistent order. Slightly verbose through repeated 'Pricing:' and 'Inputs:' labels that duplicate the schema, but the repetition buys at-a-glance action selection, so the wording largely earns its place.

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 six-action, seven-parameter tool this covers everything an agent needs to invoke it correctly: what each action returns, which parameter each action requires, pagination, cost, and action ordering. With an output schema present and annotations covering the safety profile, the description is not expected to document return shapes, and its gaps (error/rate-limit behavior) are minor.

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%, and the per-action 'Inputs:' lists largely restate what the schema already documents, including the provenance notes for group_id and album_id ('from action=id', 'from facebook_page action=albums'). The description confirms required-vs-optional per action in one place, which is mild added convenience, but it introduces no semantics the schema lacks. 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.

Purpose5/5

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

The opening line names the resource and scope (public Facebook groups) and enumerates six discrete actions with a specific verb+object for each (details, id, posts, videos, albums, album_items). It also distinguishes closely-related actions from one another, e.g. 'Get a public Facebook group's profile... Use action=posts for its posts' and 'Use action=details for the group's data.' An agent can pick the right action without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each action carries explicit routing guidance, not just a label: details vs posts, id vs details, album_items vs albums, and 'To get the photos in an album, pass its album_id to action=album_items.' It also surfaces a cross-tool dependency by naming facebook_page (action=albums) as an alternate source of album_id, so the agent knows where to get prerequisites it cannot obtain from this tool alone.

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.