Skip to main content
Glama

Facebook Pages MCP by InsightfulPipe

Facebook Pages Execute Action

execute_action
Destructive

Execute Facebook Pages actions (Step 3 FINAL).

Prerequisites: Run query_contexts with request='accounts' (includes available_actions) + request='actions_details' to understand the required payload.

IMPORTANT: The 'body' parameter is a dictionary that must contain ALL fields including:

  • action: Table/action name (e.g. 'posts', 'insights')

  • workspace_id: Integer workspace ID

  • brand_id: Integer brand ID

  • page_id: Page identifier

  • Any other fields from the helper response (filters, date ranges, metrics, etc.)

Do NOT pass these as separate parameters - they must ALL be inside the body dictionary.

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": {
      "body": "<body>"
    },
    "name": "execute_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered, but the description adds no behavioral context of its own — nothing about what data an executed action can change or delete, whether it is reversible, or how errors surface. Given that this is an open-ended dispatcher whose blast radius depends entirely on the body, the absence of any warning text beyond "Step 3 FINAL" is a notable gap.

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?

Content is front-loaded: step number, then prerequisites, then the critical body-structure warning. The closing line ("Do NOT pass these as separate parameters") partly restates the preceding bullet list, but given the schema forbids additional properties, the repetition is defensible emphasis rather than filler.

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?

An output schema exists, so return values need no explanation, and the description correctly solves the real risk here — the flat-object parameter wrapper — by naming the prerequisite calls that reveal the required payload. What is missing is a statement of the possible action values and any caution about irreversible effects, which for a destructive open-world dispatcher would complete the picture.

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% and the single parameter is an unconstrained object with additionalProperties=true, so the schema conveys essentially nothing. The description compensates well by enumerating the mandatory body keys (action, workspace_id, brand_id, page_id), pointing to the helper response as the source for the remaining fields, and explicitly warning against passing them as separate top-level parameters. It only falls short of 5 because the "any other fields" set is left open.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

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

"Execute Facebook Pages actions" gives a verb and a resource, and the "Step 3 FINAL" framing plus the prerequisite on query_contexts separates it from the read-oriented siblings. However, "actions" is left undefined — an agent cannot tell from the description alone what kinds of operations are dispatched (posts, insights, mutations), so the purpose stays at the level of a generic executor.

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?

It explicitly gates usage on two prior calls (query_contexts with request='accounts' and request='actions_details') and labels itself the final step, which tells the agent the correct ordering relative to siblings. It stops short of stating when NOT to use it or what to do in the alternatives' place (e.g. use query_data for plain reads), so it is not a full 5.

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.