Skip to main content
Glama

facebook_get_page_insights

Read-only

Retrieve Facebook Page insights for a date range and chosen metrics to analyze impressions, engagement, follows, and views.

Instructions

Get Page-level insights for a date range. Metric names change between Graph API versions; see Meta's Page Insights reference for the current list.

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": {
      "metrics": "<metrics>"
    },
    "name": "facebook_get_page_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoISO date
untilNoISO date
periodNoDefault day
metricsYese.g. page_impressions_unique, page_post_engagements, page_follows, page_views_total

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavioral caveat — metric names shift across Graph API versions — but it outsources the actual metric list to an external reference an agent may not be able to consult, and says nothing about permission requirements, metric limits per call, or failure behavior for invalid metric names.

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 sentences, both doing work: the first states the operation and scope, the second front-loads the volatility warning. No filler, though the version caveat could have been made actionable rather than deferred.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema is rich (descriptions, enum, examples) and covers all four parameters, so little more is needed on inputs. Against that, there is no output schema and the description never sketches the returned insight shape, and it leaves the required metric vocabulary unresolved — a real gap for a tool whose required argument is a metric list.

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 coverage is 100% with examples and an enum for period, so the baseline is 3. The description adds meaning beyond the schema by warning that the metric identifiers are version-dependent, which directly affects how the required metrics array should be populated — the only parameter with real ambiguity.

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 and resource ("Get Page-level insights") plus scope ("for a date range"), and "Page-level" separates it from the instagram/linkedin insights siblings by platform and object level. It does not explicitly name the sibling alternatives, so it stops short of a 5.

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 date-range framing implies the kind of query this tool serves, but there is no explicit when-to-use vs. when-not guidance and no mention of alternatives such as instagram_get_account_insights or facebook_get_post_stats. Usage has to be inferred from the name and schema.

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