Skip to main content
Glama

Publish or schedule a post (goes live)

publish_post_create
Destructive

[PUBLISHES to social accounts · publish scope] PUBLISHES TO REAL SOCIAL ACCOUNTS. Posts now, or at scheduledAt (ISO-8601, future), through the target brand's own connected accounts. Prefer contentId (a draft from content_create: its text and media become the post) over inline content. Always pass an idempotencyKey so a retry never double-posts. dryRun: true returns each platform's final caption and the warnings without posting. requiresApproval: true files it for human approval instead of posting. Full description and schema: describe_tool {"name":"publish_post_create"}. (Wraps POST /api/v2/publish.)

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": {
      "platforms": "<platforms>"
    },
    "name": "publish_post_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoe.g. false. FFE-2272: book nothing.
altTextNoFormat: JSON; e.g. "Example". Several shapes; describe_tool shows them.
brandIdNoe.g. "brandId_123".
contentNoe.g. "Example". Post text.
imageUrlNoe.g. "https://example.com/image.jpg".
onBookedNoe.g. "refuse".refuse
videoUrlNoe.g. "https://example.com/video.mp4".
contentIdNoe.g. "contentId_123".
platformsYese.g. ["instagram"]. Target social platform identifiers. One of 16 values, e.g. "instagram", "tiktok", "youtube".
scheduledAtNoFormat: ISO 8601 with timezone; e.g.…
idempotencyKeyNoe.g. "Example". Unique per API key.
requiresApprovalNoe.g. false.
allowDuplicateBookingNoe.g. false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, and the description adds genuine context beyond them: it publishes to REAL accounts, requires the `publish` scope, and explains that an `idempotencyKey` is what prevents a retry from double-posting (consistent with, not contrary to, idempotentHint=false). What it does not disclose is the success response shape or what state a post lands in after a dryRun/approval submission, which matters for a destructive open-world call.

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 highest-stakes fact (it posts to real accounts) and packs scope, defaults and safety switches into a few dense sentences with no filler. Minor cost: the all-caps emphasis and the inline JSON pointer to describe_tool make it slightly harder to scan than plain prose.

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?

For a 13-parameter, no-output-schema, destructive write tool, the description covers the parameters that change an agent's decision (dryRun, requiresApproval, idempotencyKey, contentId, scheduledAt) and the auth scope. Gaps remain around the response payload and the meaning of onBooked / allowDuplicateBooking, which the description never mentions.

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%, so the baseline is 3, but the description adds real meaning for the decision-critical params: the contentId-vs-content precedence, the purpose of idempotencyKey, the semantics of dryRun and requiresApproval, and the future/ISO-8601 constraint on scheduledAt. It leaves onBooked, allowDuplicateBooking, altText, imageUrl, videoUrl and brandId entirely to the schema.

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 in the first clause ('PUBLISHES to social accounts') and immediately scopes it: posts now or at `scheduledAt` via the target brand's connected accounts. It also distinguishes the two content paths (a `contentId` draft from content_create vs. inline `content`), so an agent can tell it apart from content_create without opening either schema.

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?

Gives explicit when-to-use routing: prefer `contentId` over inline `content`, use `dryRun: true` to preview captions and warnings, use `requiresApproval: true` to file for human approval instead of posting, and schedule via a future `scheduledAt`. It also names the prerequisite scope (`publish`) and points to describe_tool for the full schema.

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