Skip to main content
Glama

Publish an immediate Page post with a first comment

fanout_publish_text_with_first_comment
Destructive

Publish new text or one HTTPS image URL to one advertised Facebook Page, then add an explicitly reviewed first comment. First call dryRun=true; show the exact Page, both connections, parent text, URL and comment text to the user and obtain confirmation. Send the unchanged request with confirmationToken and dryRun=false. Preserve returned requestKey; unknown outcomes require read-only status, never a replacement send. No scheduling, video, uploaded file or fanout.

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": {
      "connectionId": "<connectionId>",
      "pageId": "<pageId>",
      "text": "<text>",
      "firstComment": "<firstComment>",
      "dryRun": "<dryRun>"
    },
    "name": "fanout_publish_text_with_first_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
dryRunYes
pageIdYes
mediaUrlsNo
requestKeyNoIf supplied, must match the unchanged preview. Never replace an uncertain request key.
connectionIdYes
firstCommentYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag a destructive, open-world, non-read-only write, and the description adds real context on top: an explicit human-review gate, an idempotency-key discipline (preserve requestKey, never send a replacement for an uncertain request), and scope limits. It does not discuss permissions/authorization requirements or error/rate-limit behavior, which keeps it short of a 5 for a destructive public-posting tool.

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?

Four sentences, front-loaded with purpose then the mandated workflow, and every clause carries operational meaning. The clipped final sentence ('No scheduling, video, uploaded file or fanout') is efficient but slightly telegraphic, costing a bit of readability.

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?

Given 8 parameters, a nested object, and no output schema, the definition covers the call workflow, the review gate, and the one returned value that matters (requestKey). It stops short of describing the response payload beyond that key, though the status-sibling pointer partially compensates.

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?

With only 13% schema coverage across 8 parameters, the description does most of the semantic work: it identifies pageId plus 'both connections' (the Page connection and the nested comments connection), mediaUrls as a single HTTPS URL, dryRun and confirmationToken as the preview/confirm pair, and requestKey as the idempotency handle. The mapping of connectionId vs. firstComment.commentsConnectionId is implied by 'both connections' rather than stated outright, so an agent must still infer which ID goes where.

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?

States a specific verb and resource (publish text or a single HTTPS image URL to one Facebook Page) plus the distinguishing extra action (add an explicitly reviewed first comment). The closing exclusions ('No scheduling, video, uploaded file or fanout') separate it from fanout_publish_post and media tools without needing to open their schemas.

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

Usage Guidelines5/5

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

Prescribes the exact two-step sequence: call dryRun=true first, show the Page, both connections, parent text, URL and comment text to the user for confirmation, then resend the unchanged request with confirmationToken and dryRun=false. It also names the correct fallback path for ambiguous results ('unknown outcomes require read-only status, never a replacement send'), which routes the agent to the status sibling instead of retrying.

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