Skip to main content
Glama

schedule_post

Create a post and schedule it. scheduledAt (future ISO 8601 with timezone) schedules it; omit it to create a DRAFT. ACCOUNT TARGETING: when a requested platform has several connected accounts you MUST pass accountIds (integration ids from list_integrations), collection, or allAccounts:true, otherwise the call is rejected with 400. With accountIds, platforms may be omitted. TIKTOK REQUIRES platformData.tiktok, and every field in it must be an answer YOU GOT FROM THE HUMAN for this post: who can see it, whether comments, duet and stitch are allowed, and whether it promotes their own brand or a third party. NEVER invent, assume, default or re-use answers from a previous post: TikTok requires the creator to choose with nothing pre-selected, and audits us on it. An incomplete block is rejected with the missing field names. If the human is unavailable, tell them to compose the TikTok post in the TimeToPost composer. Other platforms in a mixed request still schedule. TikTok also needs mediaUrls and goes to ONE account per post. PRIVACY_HOLD: show Mel the returned warning and the exact text/images. Only after his explicit yes in this same chat, retry the unchanged post with force:true, the exact holdId, and ownerConfirmed set to Mel's exact words. Never invent or relay approval; secrets and PII cannot be forced. Platform rules (Pinterest boardId from list_boards, YouTube Shorts, Kick, Twitch, Dribbble, X threads) are on the matching fields. STYLE: follow the server writing-style instructions: write like the human owner, read list_posts first, no em or en dashes, 0-1 hashtags. CAPABILITY: draft when scheduledAt is omitted (creates a DRAFT that never goes out on its own); publish when scheduledAt is set, because the scheduler will push it to a live audience. A draft-scoped token that passes scheduledAt gets a 403, drop scheduledAt and hand the draft to a human.

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

Input Schema

NameRequiredDescriptionDefault
brandNoBrand/niche attribution tag for per-play rollups; not the AI BrandVoice profile
forceNoRetry only after showing Mel the returned warning and receiving his explicit yes.
holdIdNoExact holdId returned by PRIVACY_HOLD.
threadNoX/Twitter only: tweets 2..N in order, published as replies chained to content (content is tweet 1).
contentYesPost text, or the pin description for Pinterest, the first tweet of an X thread, the email body for Listmonk, or the chat message for Kick and Twitch.
dmFunnelNoInstagram comment-to-DM funnel created WITH this post (needs an Instagram target and comment management on the workspace). When someone comments a keyword, they get dmTemplate as a private reply (and publicReplyTemplate under their comment, if set). It is ON by default and goes live the moment the post publishes (within seconds of each comment); active:false saves it paused. Switching it on needs a publish-capable token; a draft-only token saves it paused. The response carries dmFunnel.status (live | waiting_for_publish | paused) and dmFunnelError when it could not be switched on.
createdByNoRequired agent or lane name for attribution in protected workspaces.
mediaUrlsNoPublic URLs of images or video to attach, e.g. from upload_media or finalize_media_upload. Pinterest needs one image URL, TikTok a video or images, Instagram Stories one item.
platformsYesProvider keys to post to, e.g. instagram, twitter, pinterest, tiktok, kick. Optional when accountIds is given, in which case they are derived from the accounts. tiktok additionally requires a complete platformData.tiktok block of choices made by the human.
accountIdsNoTarget SPECIFIC connected accounts by their integration id (get ids from list_integrations). Required for a multi-account platform unless collection or allAccounts:true is provided.
collectionNoPost to a collection by name or id: expands to every connected account in that collection (across platforms). Mutually exclusive with accountIds; if both are given, accountIds wins. 404s if the collection name/id is unknown.
allAccountsNoExplicitly allow publishing to every connected account for each requested platform. Required when intentionally targeting all accounts on a platform that has more than one.
scheduledAtNoFuture ISO 8601 datetime with Z or an offset, e.g. 2026-10-12T09:00:00Z
firstCommentNoFirst comment posted under the post immediately after it publishes, written by the human (never add hashtags or text they did not write). Supported on X (as your reply), Bluesky, Mastodon, Pixelfed, Telegram and Slack; Instagram, Threads and Facebook only once the account has the comment permission; ignored on other networks. A string, or {text, networks:{twitter:'...', bluesky:'...'}} for per-network text ("" skips a network). A failed comment never fails the post; get_post shows platformData.firstCommentResults.
platformDataNoPlatform-specific fields: pinterest pin fields, and the TikTok posting choices.
ownerConfirmedNoMel's exact approving words from the current chat. Relayed approvals do not count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed44 schema fields changed
    • addedInput schema / properties / content / description
      Added value: +"Post text, or the pin description for Pinterest, the first tweet of an X thread, the email body for Listmonk, or the chat message for Kick and Twitch."
    • addedInput schema / properties / dmFunnel / properties / dailyCap / description
      Added value: +"Most DMs this funnel sends per day, to protect the account."
    • addedInput schema / properties / dmFunnel / properties / linkTags / properties / note / description
      Added value: +"Free-text note stored with the short link."
    • addedInput schema / properties / dmFunnel / properties / name / description
      Added value: +"Human label for the funnel in dashboards. Defaults to a generated name."
    • addedInput schema / properties / dmFunnel / properties / utmCampaign / description
      Added value: +"Value for the utm_campaign parameter appended to leadUrl."
    • addedInput schema / properties / mediaUrls / description
      Added value: +"Public URLs of images or video to attach, e.g. from upload_media or finalize_media_upload. Pinterest needs one image URL, TikTok a video or images, Instagram Stories one item."
    • addedInput schema / properties / platformData / properties / dribbble / description
      Added value: +"Dribbble shot. Needs exactly one GIF, JPG or PNG image of 400x300 or 800x600 pixels (max 8MB) in mediaUrls and one account with image-upload permission. No text-only posts, videos or threads. Uploads may still be processing; uncertain delivery holds automatic retries."
    • addedInput schema / properties / platformData / properties / dribbble / properties / title / description
      Added value: +"Shot title shown on Dribbble."
    • addedInput schema / properties / platformData / properties / instagram / properties / isStory / description
      Added value: +"Post as a Story instead of a feed post."
    • addedInput schema / properties / platformData / properties / instagram / properties / isTrialReel / description
      Added value: +"Post as a trial reel, shown to non-followers first."
    • addedInput schema / properties / platformData / properties / instagram / properties / trialGraduation / description
      Added value: +"How a trial reel graduates to followers. Defaults to MANUAL."
    • addedInput schema / properties / platformData / properties / instagram / properties / variantChanges / description
      Added value: +"What differs from the original post."
    • addedInput schema / properties / platformData / properties / instagram / properties / variantOf / description
      Added value: +"Post id of the original this post is a variant of, for the UGC variants comparison."
    • changedInput schema / properties / platformData / properties / kick / description
      Previous value: -"Own-channel chat only. Use the selected integration id and its trusted metadata.broadcasterUserId returned by list_integrations."New value: +"Kick chat: one plain-text message (at most 500 grapheme clusters and 2048 UTF-8 bytes) sent as the connected customer to their own channel only. No feed posts, media, threads or arbitrary audiences. Select exactly one Kick integration in accountIds. An uncertain send is held for review and never resubmitted automatically."
    • addedInput schema / properties / platformData / properties / kick / properties / broadcasterUserId / description
      Added value: +"metadata.broadcasterUserId of that integration in list_integrations. Never invent a channel id."
    • addedInput schema / properties / platformData / properties / kick / properties / integrationId / description
      Added value: +"Kick integration id from list_integrations."
    • addedInput schema / properties / platformData / properties / lemmy / description
      Added value: +"Lemmy post target. Get the community id from list_lemmy_communities."
    • addedInput schema / properties / platformData / properties / lemmy / properties / communityId / description
      Added value: +"Numeric community id from list_lemmy_communities."
    • addedInput schema / properties / platformData / properties / lemmy / properties / integrationId / description
      Added value: +"Lemmy integration id from list_integrations."
    • addedInput schema / properties / platformData / properties / lemmy / properties / title / description
      Added value: +"Post title."
    • addedInput schema / properties / platformData / properties / lemmy / properties / url / description
      Added value: +"Optional link the post points to."
    • addedInput schema / properties / platformData / properties / listmonk / properties / contentType / description
      Added value: +"How content is interpreted in the email body."
    • addedInput schema / properties / platformData / properties / listmonk / properties / subject / description
      Added value: +"Email subject line of the campaign."
    • addedInput schema / properties / platformData / properties / mastodon / description
      Added value: +"Mastodon options."
    • changedInput schema / properties / platformData / properties / pinterest / description
      Previous value: -"Required when pinterest is a target platform."New value: +"Required when pinterest is a target platform. mediaUrls must hold exactly one image URL; content becomes the pin description."
    • changedInput schema / properties / platformData / properties / pinterest / properties / altText / description
      Previous value: -"Accessibility alt text, ≤500 chars"New value: +"Accessibility alt text describing the image."
    • changedInput schema / properties / platformData / properties / pinterest / properties / title / description
      Previous value: -"Pin title, ≤100 chars"New value: +"Pin title shown on the pin."
    • addedInput schema / properties / platformData / properties / pixelfed / description
      Added value: +"Pixelfed options."
    • addedInput schema / properties / platformData / properties / slack / description
      Added value: +"Slack channel target. Get channel ids from list_slack_channels."
    • addedInput schema / properties / platformData / properties / slack / properties / channelId / description
      Added value: +"Slack channel id from list_slack_channels."
    • addedInput schema / properties / platformData / properties / slack / properties / integrationId / description
      Added value: +"Slack integration id from list_integrations."
    • addedInput schema / properties / platformData / properties / twitch / properties / broadcasterId / description
      Added value: +"Twitch user id of the channel owner, from that integration metadata in list_integrations."
    • addedInput schema / properties / platformData / properties / twitch / properties / integrationId / description
      Added value: +"Twitch integration id from list_integrations."
    • addedInput schema / properties / platformData / properties / twitch / properties / sharedChatAcknowledged / description
      Added value: +"Confirms the human understands the message also reaches Shared Chat session channels."
    • addedInput schema / properties / platformData / properties / writeas / properties / font / description
      Added value: +"Typeface the post is rendered in."
    • addedInput schema / properties / platformData / properties / writeas / properties / lang / description
      Added value: +"Language of the post as a two-letter code, e.g. en."
    • addedInput schema / properties / platformData / properties / writeas / properties / originalUrl / description
      Added value: +"URL where the text first appeared; shown as an Originally published at link."
    • addedInput schema / properties / platformData / properties / writeas / properties / slug / description
      Added value: +"Custom URL slug for the post."
    • addedInput schema / properties / platformData / properties / writeas / properties / title / description
      Added value: +"Post title shown above the body."
    • changedInput schema / properties / platformData / properties / youtube / description
      Previous value: -"YouTube video options. short=true publishes a YouTube Short: vertical or square video, at most 3 minutes; title optional (defaults to the first line of content, max 100 chars); #Shorts is appended to the description if missing."New value: +"YouTube video options. #Shorts is appended to the description when short is true and it is missing."
    • addedInput schema / properties / platformData / properties / youtube / properties / short / description
      Added value: +"Publish as a YouTube Short. There is no separate Shorts API: the video must be vertical or square and at most 3 minutes, otherwise it is refused. The URL is stored as youtube.com/shorts/<id>."
    • addedInput schema / properties / platformData / properties / youtube / properties / title / description
      Added value: +"Video title. Defaults to the first line of content."
    • changedInput schema / properties / platforms / description
      Previous value: -"Providers to post to (including instagram|twitter|pinterest|tiktok|kick). Optional when accountIds is given, in which case they are derived from the accounts. tiktok additionally requires a complete platformData.tiktok block of choices made by the human."New value: +"Provider keys to post to, e.g. instagram, twitter, pinterest, tiktok, kick. Optional when accountIds is given, in which case they are derived from the accounts. tiktok additionally requires a complete platformData.tiktok block of choices made by the human."
    • changedInput schema / properties / thread / description
      Previous value: -"X/Twitter only: tweets 2..N, published as replies chained to content"New value: +"X/Twitter only: tweets 2..N in order, published as replies chained to content (content is tweet 1)."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a non-idempotent, open-world write; the description adds the failure surface an agent actually needs: 400 on ambiguous account targeting, 403 for draft-scoped tokens, TikTok block rejection by missing field name, PRIVACY_HOLD retry protocol with holdId/ownerConfirmed, and the fact that non-TikTok platforms still schedule in a mixed request. That is substantial disclosure beyond the annotations and does not contradict them.

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

Conciseness3/5

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

Purpose is front-loaded and most sentences carry real constraints, but the block is an undifferentiated wall of ALL-CAPS section headers, and the STYLE paragraph ("read list_posts first, no em or en dashes, 0-1 hashtags") reads as unrelated server policy crammed into a tool definition. Several TikTok points are restated three times across the description and the platformData.tiktok schema.

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 16-parameter, deeply nested write tool with no output schema, the description covers the pieces an agent would otherwise get wrong: mode selection, account targeting resolution, per-platform prerequisites, privacy-hold recovery, and token-scope failure. Nothing obvious is missing that would cause a misinvocation.

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 precedence and interaction rules the schema does not: platforms derived from accountIds, collection mutually exclusive with accountIds, and force/holdId/ownerConfirmed being a single atomic retry of an unchanged post. It leaves the brand, createdBy, dmFunnel and firstComment parameters entirely to the schema, which keeps it below 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a post and schedule it" is a specific verb+resource, and the CAPABILITY paragraph crisply separates the two modes (draft when scheduledAt is omitted, publish when it is set). It never names the obvious sibling (publish_post) as the alternative for immediate publishing, so the boundary with siblings is inferred rather than stated.

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 rules and hard exclusions are given: omit scheduledAt for a draft, pass accountIds/collection/allAccounts when a platform has multiple accounts, pass force only after Mel's explicit yes in the same chat, and drop scheduledAt when a draft-scoped token 403s. It also routes to helper siblings by name (list_integrations, list_boards, get_tiktok_creator_info, list_posts) with the condition that selects each.

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.