Skip to main content
Glama

Facebook Pages MCP by InsightfulPipe

Facebook Pages Setup Helper

query_contexts
Read-only

Helper for planning InsightfulPipe Facebook Pages data queries.

Step 1: request='accounts' – Retrieve workspace_id, brand_id, page_id, page_name, other source metadata, AND available_actions (all tables you can query).

Step 2: request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] – REQUIRED before querying. Replace with actions from available_actions to get the exact request body, required identifiers, fields, time ranges, and notes for each action.

Optional: request='available_actions' – Standalone call to list all available tables/actions (already included in accounts response).

Optional: request='brands' with brand_id + workspace_id to pull brand guidelines.

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": {
      "request": "<request>"
    },
    "name": "query_contexts"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsNo
requestYes
brand_idNo
platformNo
workspace_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true is consistent with the description's planning/discovery framing, so no contradiction. Beyond what the annotation covers, the description discloses what each request returns (workspace_id, brand_id, page_id, available_actions; exact request bodies and required identifiers for each action) and flags a redundant call path — meaningful added context. It does not mention side effects of the follow-up requirement or any limits, but for a read-only discovery tool this is genuinely informative.

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 step-numbered layout is front-loaded and scannable, with each labeled clause stating the request value and its payoff in one line. The parenthetical about available_actions being redundant earns its place by preventing a wasted call. Minor redundancy remains in restating the request token alongside its explanation.

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?

An output schema exists, so the description need not describe return values, and it correctly focuses on the prerequisite workflow and the meaning of the request modes. For a five-parameter, read-only setup helper with a documented enum and output schema, an agent has enough to call it correctly; only the undocumented `platform` parameter is a lingering hole.

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 0%, so the description must carry the load, and it mostly does: it explains three of the four request enum values, the shape and purpose of `actions` (listing the actions returned in available_actions), and how brand_id + workspace_id pair for the brands request. The `platform` parameter is never mentioned anywhere, and the schema allows `actions` as a bare string while the description only shows the array form — two real gaps against 0% schema coverage.

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 names a specific resource ('InsightfulPipe Facebook Pages data queries') and enumerates the four distinct request modes, so an agent knows exactly what capability this exposes. It distinguishes itself from the query siblings implicitly by framing itself as the pre-query discovery step ('REQUIRED before querying'), but it never names query_data or execute_action, so the boundary has to be inferred.

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

Usage Guidelines4/5

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

The Step 1 / Step 2 / Optional structure gives an explicit recommended call sequence, and 'REQUIRED before querying' tells the agent this is a precondition rather than a data-fetch call. It also heads off a redundant call by noting available_actions is 'already included in accounts response'. What is missing is any explicit statement of when NOT to use this tool or which sibling to call once setup is done.

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.