Skip to main content
Glama

Prepare a Facebook post

create_page_post

Prepare a post for a Facebook Page of the space, as a draft: nothing is published. A human of the space reviews it, can change it, and publishes or schedules it from the web interface (tab Publications). Tell the user the draft is waiting for them there.

images: image files already saved in the space (save_file); with images, the link is added at the end of the text. scheduled_for omitted: published as soon as the human validates it.

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": {
      "space": "<space>",
      "page": "<page>",
      "message": "<message>"
    },
    "name": "create_page_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoA web address shown with the post (http or https).
pageYesA Facebook Page opened to the space: `id` in facebook_pages of list_spaces.
spaceYesSpace identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces.
imagesNo
messageYesText of the post, plain text (no Markdown).
scheduled_forNo

Output Schema

NameRequiredDescriptionDefault
idYes
versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the description's added value is the workflow contract: nothing is published, a human review gate exists, and omitting `scheduled_for` means immediate publication once validated. The constraint on scheduling windows is surfaced (also present in the schema), but error behavior and what happens on invalid page/space are not covered.

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 with the draft-only constraint, then parameter notes, in three compact segments with no filler. The embedded instruction to tell the user about the draft earns its place as it changes agent behavior after the call.

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 covers the human-in-the-loop workflow plus the two parameters most likely to be misused. For a six-parameter mutation tool this is close to complete; only failure modes and duplicate-draft behavior are unaddressed.

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?

Beyond the 67%-covered schema, it explains that `images` must be files already saved in the space (via save_file) and that the link is appended at the end of the text when images are present — a non-obvious formatting rule. It also clarifies the semantics of omitting `scheduled_for`, which the schema only implies via the default.

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 first sentence states a specific verb and resource ("Prepare a post for a Facebook Page of the space") and immediately brackets the outcome with "as a draft: nothing is published." That contrast with the sibling create_task_post / update_page_post is clear from the resource and the draft semantics without needing to name alternatives.

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 gives clear context and a required follow-through: a human of the space reviews and publishes from the web interface, and the agent must tell the user the draft is waiting there. It does not state when to prefer this over alternatives (e.g. creating a task post instead), but the workflow guidance is strong and unambiguous.

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.

Resources