Skip to main content
Glama

publish_now

Destructive

Publish a post IMMEDIATELY to one or more platforms. PREFERRED tool when the user is interacting with you in chat -- it skips the Socialync drafts page entirely. If the user has switched on the publish confirmation dialog in Socialync settings (off by default) and their client supports MCP elicitation, Socialync shows the user a confirmation dialog with the exact post before publishing: a decline rejects it and comes back as success false with consent "declined" (never retry; ask the user), and no answer within 40 seconds counts as the confirmation the user already gave you in chat. On other clients there is NO dialog and this publishes as soon as you call it. Either way, before calling you MUST show the user the exact caption, platforms, and images you will post, and get their explicit confirmation in the chat. Treat this the same way you would treat sending an email on someone's behalf. If the user uploaded image(s) to you in the conversation, pass them via base64Images (preferred) -- Socialync will host them for you. If the user gave you a public image URL, pass it via imageUrls. Returns per-platform success/failure. Same validation as create_post_draft: text and/or up to 10 images total (URLs + base64 combined), Instagram and Pinterest require at least one image, no TikTok/YouTube (use publish_scheduled for those), 10/day cap per profile (platform-security mechanism to keep accounts under spam-detection thresholds). ALWAYS run validate_post with these same arguments FIRST and resolve every error it reports before calling this.

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": {
      "caption": "<caption>"
    },
    "name": "publish_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
captionYesPost caption/text content. Will be published as-is.
imageUrlsNoUp to 10 publicly fetchable https image URLs. Combined with base64Images cannot exceed 10 total.
platformsNoPlatforms to publish to. One or more of: facebook, instagram, linkedin, twitter, threads, bluesky, pinterest (Pinterest needs an image). Pass platforms OR audienceId, not both.
profileIdNoThe Socialync profile to post from. Call list_profiles to see the profiles you can post to. Required only when this connection is authorized for more than one profile; if exactly one is authorized it is used automatically.
audienceIdNoA saved audience id from list_audiences. Expands to the platforms that audience reaches on the target profile; any member it cannot reach (other brand, needs reconnect, secondary account without its primary) is reported back in skippedMembers instead of failing the call. Use INSTEAD of platforms, never together.
base64ImagesNoUp to 10 images encoded as base64 strings (data URIs like "data:image/png;base64,iVBOR..." are also accepted). Use this when the user has uploaded image(s) to you directly in the conversation -- Socialync hosts them on its own media storage. Per-image cap: 8MB. Supported formats: jpeg, png, webp, gif. Combined with imageUrls cannot exceed 10 total.
firstCommentNoOptional "first comment": text Socialync posts as a comment under the post right after it publishes -- the classic home for hashtags and links, keeps the caption clean. One string for all platforms. Supported: instagram, threads, twitter, youtube, linkedin, bluesky. Facebook and TikTok do not support it (they record it as skipped; the post itself is unaffected). Per-platform comment length limits are enforced at draft time: instagram 2200, threads 500, twitter 280, youtube 10000, linkedin 1250, bluesky 300. A failed comment never fails the post.
exceptPlatformsNoOnly valid together with audienceId: platforms to leave out of the expanded audience for this one post (e.g. exclude tiktok when the post has no video).
platformSpecificSettingsNoPer-platform caption overrides if you want different wording per platform. Pinterest: pins go to the board the user picked in Socialync (pinterestBoard in list_connections). { "pinterest": { "boardId": "<board id>" } } pins to another of the user's public boards instead, "link": "https://..." sets where the pin clicks through to, and "altText" describes the image. The pin title is the title parameter, or else the first line of the caption.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / exceptPlatforms / items / enum
      Previous value: -[
      -  "facebook",
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "linkedin",
      -  "twitter",
      -  "threads",
      -  "bluesky"
      -]New value: +[
      +  "facebook",
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "linkedin",
      +  "twitter",
      +  "threads",
      +  "bluesky",
      +  "pinterest"
      +]
    • changedInput schema / properties / platformSpecificSettings / description
      Previous value: -"Per-platform caption overrides if you want different wording per platform."New value: +"Per-platform caption overrides if you want different wording per platform. Pinterest: pins go to the board the user picked in Socialync (pinterestBoard in list_connections). { \"pinterest\": { \"boardId\": \"<board id>\" } } pins to another of the user's public boards instead, \"link\": \"https://...\" sets where the pin clicks through to, and \"altText\" describes the image. The pin title is the title parameter, or else the first line of the caption."
    • changedInput schema / properties / platforms / description
      Previous value: -"Platforms to publish to. One or more of: facebook, instagram, linkedin, twitter, threads, bluesky. Pass platforms OR audienceId, not both."New value: +"Platforms to publish to. One or more of: facebook, instagram, linkedin, twitter, threads, bluesky, pinterest (Pinterest needs an image). Pass platforms OR audienceId, not both."
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "facebook",
      -  "instagram",
      -  "linkedin",
      -  "twitter",
      -  "threads",
      -  "bluesky"
      -]New value: +[
      +  "facebook",
      +  "instagram",
      +  "linkedin",
      +  "twitter",
      +  "threads",
      +  "bluesky",
      +  "pinterest"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructive=true and openWorld=true, but the description adds substantial behavior beyond that: the optional confirmation dialog, that a decline returns success:false with consent "declined" and must never be retried, the 40-second timeout semantics, that other clients publish with no dialog, the 10/day spam-threshold cap, and that it must be treated like sending an email on the user's behalf. This is exactly the risk context an agent needs before a destructive, open-world write.

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 purpose and preferred-use statement, then progressively details confirmation flow, parameters, and validation. It is long and dense with some slightly redundant restatement of validation rules, but nearly every sentence conveys information that affects a destructive publish call, so it largely earns its length.

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?

For a 9-parameter destructive write with nested objects and no output schema, the description covers the confirmation/elicitation flow, decline handling, per-platform media rules, quota limits, and return shape ("per-platform success/failure"). No material gap an agent would need to call it correctly.

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 actionable routing guidance not fully conveyed by the schema alone: base64Images is 'preferred' when the user uploaded images in-chat (Socialync hosts them), imageUrls when a public URL was given, and the platforms-vs-audienceId mutually-exclusive choice with skippedMembers semantics. This meaningfully helps parameter selection.

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 a post IMMEDIATELY to one or more platforms") and distinguishes itself from siblings by naming create_post_draft (same validation), publish_scheduled (for TikTok/YouTube), and validate_post (run first). An agent can identify the tool and its scope without reading any 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?

Explicit when-to-use ("PREFERRED tool when the user is interacting with you in chat -- it skips the drafts page"), explicit exclusions ("no TikTok/YouTube -- use publish_scheduled"), and a mandatory prerequisite ("ALWAYS run validate_post ... FIRST"). Alternatives and conditions are all stated, leaving nothing to inference.

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.