Skip to main content
Glama

Create Scheduled Post

postnitro_create_scheduled_post

Create a scheduled post or draft for LinkedIn, Instagram, TikTok, Threads, Facebook (Pages), and/or Pinterest (boards).

Workflow:

  1. postnitro_list_social_accounts → pick account IDs for selectedAccounts

  2. (optional) attach a designId — a carousel you created with PostNitro. Use the design's ID (the 'designId' field returned by postnitro_get_output / postnitro_generate_and_wait), NOT the generation embedPostId.

  3. provide a caption via postContent and/or a designId (a post needs at least one)

Rules enforced by the API (surfaced as error messages here):

  • scheduledAt must be a future ISO-8601 datetime.

  • A post must have either a designId or non-empty postContent. designId may be null only for DRAFT.

  • Per-platform *PostSettings are conditionally required based on the selected accounts' platforms and whether a designId is set (see each field's description). LinkedIn, Facebook, and Pinterest require a designId when SCHEDULED.

  • postSettings (video render settings) applies when any postType resolves to 'reel'. You may omit it: the API fills the duration and audio from the attached design's own settings, falling back to 30 seconds with no audio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes'DRAFT' or 'SCHEDULED'
designIdNoID of a design in your workspace to attach. This is the design ID (the `designId` field from a carousel's output / postnitro_get_output), NOT the generation job's embedPostId — passing an embedPostId here fails with 'Design not found.' A post must have either a designId or non-empty postContent. May only be null/omitted for DRAFT.
postContentNoCaption text keyed by platform. Required unless a designId is set; at least one key must be non-empty. Hashtags are extracted automatically.
scheduledAtYesISO-8601 datetime string. Must be in the future (for both drafts and scheduled posts).
postSettingsNoVideo render settings, used when any resolved postType is 'reel'. Optional: when omitted, the API fills each field from the videoSettings the attached design was generated with, falling back to 30 seconds with no audio. Same shape as a VIDEO post's videoSettings.
selectedAccountsNoSocial-account IDs to publish to (from postnitro_list_social_accounts). The platforms among these determine which *PostSettings are required.
tiktokPostSettingsNoRequired when a TikTok account is selected AND a designId is set. When SCHEDULED: if isBrandedContent is true, at least one of isYourBrand/isThirdPartyBrand must be true, and isBrandedContent cannot be true with privacyLevel SELF_ONLY.
threadsPostSettingsNoRequired when a Threads account is selected AND a designId is set
facebookPostSettingsNoRequired when a Facebook Page is selected AND a designId is set. A designId is required when status is SCHEDULED (Facebook Pages can't take text-only posts from PostNitro).
linkedinPostSettingsNoRequired when a LinkedIn account is selected. A designId is required when status is SCHEDULED (text-only LinkedIn posts can only be drafts).
instagramPostSettingsNoRequired when an Instagram account is selected AND a designId is set
pinterestPostSettingsNoRequired when a Pinterest board is selected AND a designId is set. A designId is required when status is SCHEDULED (Pinterest can't take text-only Pins). Each board is its own connected account, so there is no board field here — pick boards via selectedAccounts.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
postYesA scheduled post or draft
messageYesConfirmation message
successYes
warningsNoNon-fatal issues worth surfacing to the user (e.g. AI image generation did not complete)
scheduledPostIdYesID of the scheduled post — pass to get/update/delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / pinterestPostSettings
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Required when a Pinterest board is selected AND a designId is set. A designId is required when status is SCHEDULED (Pinterest can't take text-only Pins). Each board is its own connected account, so there is no board field here — pick boards via selectedAccounts.",
      +  "properties": {
      +    "link": {
      +      "description": "Destination URL the Pin links to. Optional, but must be an absolute http(s) URL, e.g. https://example.com.",
      +      "type": "string"
      +    },
      +    "postType": {
      +      "description": "'carousel' = a carousel Pin (2-5 slides; a 1-slide design publishes as an image Pin, more than 5 slides fails); 'image' = a single image Pin; 'reel' = a video Pin (uses postSettings like other platforms' reels). Any design size works except ultra-wide (wider than 21:9); 2:3 is recommended.",
      +      "enum": [
      +        "carousel",
      +        "image",
      +        "reel"
      +      ],
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "Pin title, up to 100 characters. Optional.",
      +      "maxLength": 100,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "postType"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / postContent / properties / pinterest
      Added value: +{
      +  "description": "Pinterest Pin description. Only the first 800 characters are published.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / post / properties / pinterestPostSettings
      Added value: +{
      +  "$ref": "#/properties/post/properties/instagramPostSettings"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / facebookPostSettings
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Required when a Facebook Page is selected AND a designId is set. A designId is required when status is SCHEDULED (Facebook Pages can't take text-only posts from PostNitro).",
      +  "properties": {
      +    "callToAction": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "BOOK_TRAVEL",
      +            "BUY_NOW",
      +            "CALL_NOW",
      +            "DOWNLOAD",
      +            "GET_DIRECTIONS",
      +            "GET_QUOTE",
      +            "INSTALL_APP",
      +            "INSTALL_MOBILE_APP",
      +            "LEARN_MORE",
      +            "LIKE_PAGE",
      +            "LISTEN_MUSIC",
      +            "MESSAGE_PAGE",
      +            "NO_BUTTON",
      +            "OPEN_LINK",
      +            "PLAY_GAME",
      +            "SHOP_NOW",
      +            "SIGN_UP",
      +            "SUBSCRIBE",
      +            "USE_APP",
      +            "USE_MOBILE_APP",
      +            "WATCH_MORE",
      +            "WATCH_VIDEO"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "'link_carousel' only. Button shown on the carousel, e.g. 'LEARN_MORE' or 'SHOP_NOW'. Omit or null for no button. Some types are meant for ads and Facebook may reject them on organic posts."
      +    },
      +    "linkUrl": {
      +      "description": "'link_carousel' only. The absolute http(s) URL every card links to, e.g. https://example.com. Required when status is SCHEDULED. Facebook only accepts custom card images for links on a domain the Page's business has verified in Meta Business Settings.",
      +      "type": "string"
      +    },
      +    "postType": {
      +      "description": "'carousel' = every slide in one multi-photo post; 'link_carousel' = swipeable link cards (2-10 slides; Facebook shows up to 5 and picks which); 'image' = a single-slide design; 'reel' = a video, published as a Reel (any aspect ratio from 16:9 to 9:16).",
      +      "enum": [
      +        "carousel",
      +        "link_carousel",
      +        "image",
      +        "reel"
      +      ],
      +      "type": "string"
      +    },
      +    "showEndCard": {
      +      "description": "'link_carousel' only. Show Facebook's end card linking to the Page. Defaults to true.",
      +      "type": "boolean"
      +    },
      +    "useSlideDescriptions": {
      +      "description": "'link_carousel' only. Use each slide's description as its card description. Defaults to false.",
      +      "type": "boolean"
      +    },
      +    "useSlideTitles": {
      +      "description": "'link_carousel' only. Use each slide's title as its card headline. Defaults to false (Facebook uses the link's own title).",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "postType"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / postContent / properties / facebook / description
      Added value: +"Facebook Page caption (the post message)"
    • addedOutput schema / properties / post / properties / facebookPostSettings
      Added value: +{
      +  "$ref": "#/properties/post/properties/instagramPostSettings"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already disclose the mutation profile, and the description adds substantial behavioral context: future-only scheduledAt, designId vs embedPostId pitfalls, conditional per-platform settings, SCHEDULED vs DRAFT constraints, and postSettings fallback behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the action, then uses a numbered workflow and a rules block. Despite the tool's complexity, every sentence addresses invocation-relevant constraints and no filler is present.

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 12-parameter, nested-schema mutation tool with an output schema, the description covers the essential prerequisites, validation rules, platform-specific requirements, and fallback behavior. An agent has enough context to invoke it correctly without needing return-value details.

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. The description still adds useful cross-parameter meaning: it clarifies the correct designId source, the designId-or-postContent requirement, and how selectedAccounts determine which platform settings become required.

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 description states a specific verb and resource: 'Create a scheduled post or draft' for named social platforms. It clearly distinguishes this action from generation, import, or update siblings by focusing on creating a post record from existing content or design assets.

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 provides a clear workflow and prerequisites: list social accounts, attach a designId, and supply caption or designId. It stops short of explicitly naming alternatives such as generate_and_schedule or import_and_schedule, so when-to-use versus when-not-use is implied rather than fully stated.

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