Skip to main content
Glama

Publish Post

publish_post
Destructive

Publish or schedule a social media post, reply to an existing post, or create a thread. Provide at least text or media (or both). Set publishAt to an ISO 8601 date to schedule, or omit to publish immediately. For X, Threads, and Mastodon, use thread to publish follow-up posts in one operation. For X and Threads, replyTo can target an existing platform post ID. Use platformOptions to pass platform-specific settings (see parameter description for details).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoPost text content
mediaNoUp to 10 public media URLs
threadNoOrdered follow-up posts. Supported for X, Threads, and Mastodon; each item replies to the previous one
replyToNoExternal platform post ID to reply to. Supported for X and Threads; this is not a dopost post ID
accountIdYesID of the connected social account
publishAtNoISO 8601 date to schedule. Omit to publish now
platformOptionsNoPlatform-specific options. Only include keys relevant to the target platform. Instagram: postType, shareToFeed. TikTok: privacyLevel, disableDuet, disableStitch, disableComment, discloseContent, isYourBrand, isBrandedContent. YouTube: videoType, title, privacyStatus. Pinterest: board. Telegram: pin. X Communities: communityName (preferred), communityId, shareWithFollowers. Google Business: postType, ctaType, ctaUrl, eventTitle, eventStart, eventEnd, couponCode, redeemOnlineUrl, termsConditions, mediaCategory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources