Skip to main content
Glama

fb_api_get_page_insights

Retrieves official Facebook Page metadata, recent posts, and Insights metrics via Meta Graph API, letting you audit page performance for day, week, or 28-day periods.

Instructions

Fetch official Page metadata, recent posts, and Insights metrics via Meta Graph API (requires META_ACCESS_TOKEN).

Args: page_id: Numeric Facebook Page ID. period: Insights period ('day', 'week', 'days_28'). Default 'days_28'.

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": {
      "page_id": "<page_id>"
    },
    "name": "fb_api_get_page_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNodays_28
page_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden; it does add real context by naming the required META_ACCESS_TOKEN credential and the default period. It does not state rate-limit or quota behavior, pagination of posts, or what happens when the token is missing or the page is inaccessible. The presence of an output schema relieves it from describing return values, which keeps this at an acceptable middle score.

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?

The purpose is front-loaded in the opening sentence before the Args block, and every line carries information. The docstring-style Args list is conventional but slightly redundant with the schema's own field names, a minor structural cost.

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?

For a two-parameter read tool with an output schema, the definition covers purpose, credential requirement, and both parameters' meaning. The remaining gap is the absence of any safety or scope statement (read-only nature, pagination or limits), which matters because no annotations are provided.

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 description coverage is 0%, so the description must compensate, and it does: page_id is described as a numeric Facebook Page ID and period is given the allowed values 'day', 'week', 'days_28' (an enum that appears nowhere in the schema). The default of 'days_28' merely repeats the schema default, and the 'numeric' label slightly conflicts with the string type, so it falls short of a 5.

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 gives a specific verb ('Fetch') and concrete resources (Page metadata, recent posts, Insights metrics) plus the backing system (Meta Graph API). It does not distinguish itself from siblings that overlap on the same surface, notably fb_get_page_posts for posts and fb_inspect_page for metadata, so an agent cannot tell from the text alone which to call.

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

Usage Guidelines2/5

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

The only usage-adjacent statement is the parenthetical '(requires META_ACCESS_TOKEN)', which is an auth prerequisite rather than a when-to-use rule. There is no guidance on when this tool is preferable to fb_get_page_posts or fb_inspect_page, and no exclusions or constraints on how often or against which page it should be called.

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