Skip to main content
Glama

create_post

Save drafts. Nothing is sent: schedule_post or publish_post does that.

One account: text + account_id; variants adds up to 3 alternative versions for that account, each its own draft. Several accounts: posts, one entry per draft, each with its own copy. Entries on different accounts are one post with a version per account (sent together with post_ids); entries repeating an account are separate posts. The result carries characterCount / characterLimit (overLimit when the text cannot publish), and, when they apply: mediaRequired (TikTok and YouTube need a video, Instagram and Pinterest an image or video), derivedTitle (YouTube takes the first 100 characters unless platform_options.title is set), settingsRequired (TikTok: the user's choices to ask, tiktokChoices), pinterestBoard, and similarRecent: this account's posts from the last 30 days that read nearly the same, which the user hears about before it goes out (no need to list posts to check for duplicates). The same text and media as an unsent post of the account is not saved again: the result is that post (duplicateOf, created: false), to use instead.

Args: text: Post copy; may be empty with media on X, Facebook, Instagram and Threads, and always on an Instagram or Facebook story (platform_options publishType "story"), which shows no text: omit it there. @handle links by itself on X, Threads, Instagram (max 20 per caption), TikTok, YouTube, Bluesky (full handle, e.g. @name.bsky.social), Mastodon (@name on the same server, @name@server elsewhere) and Telegram channels and groups; on Facebook, Pinterest, Discord, Google Business Profile and Slack it stays plain text; on LinkedIn it links only with user_tags. account_id: Social-account id (from list_social_accounts), not a platform name. hashtags: Appended to the text as #tags, counted in its limit (YouTube: video tags, unless platform_options.tags; Threads: never added to the text, a single one becomes platform_options.topicTag). A list, or a string split on commas (on spaces if it has none). goal: e.g. "Educate", "Engage", "Promote", "Entertain". scheduled_for: ISO 8601. Proposes a time on the draft; only schedule_post schedules. proposedTimeConflict in the result means the account's daily cap refuses that time; propose its nextFreeAt. campaign_id: The campaignId of a post made with posts: this draft becomes one more account's version of it. user_tags: LinkedIn company: [{company: ""}] with "@" in the text; Antwork finds the Page and links its exact name. LinkedIn people can't be looked up, only the user's own connected accounts. Instagram people on the media: [{username, platform: "instagram", type: "photo_tag", x, y (0-1 from left/top), mediaIndex (carousel photo, 0-based)}]; a photo needs x/y (centre if omitted), a reel takes the username only, a story either. Tagged accounts must be public; recentTags in get_post_context lists handles tagged before. The result's tagChecks shows each handle as found on Instagram or unchecked (personal accounts can't be looked up; still taggable). Each tag in a result carries its page as url when one can be built. pinterest_board_id: Pinterest only, from boards in get_post_context. Omitted = the account's first board. slack_channel: Slack only: a channel id or #name from slackChannels in get_post_context. Omitted = the account's last channel (defaultSlackChannel); with none the post cannot publish. platform_options: Only what the user asked for. Instagram: publishType ("timeline" | "story"; a reel is "timeline" with a video; a story with several media_urls drafts one story per file, in order, as one set), postToGrid, coverUrl (a Reel's cover image, a JPEG or PNG at https, never the video itself), collaborators (up to 3 Instagram usernames invited as co-authors of a feed post, Reel or carousel, never a story; each invited account has to accept on Instagram). Facebook: publishType ("timeline" | "story" | "reel"; a story is one photo or one video, its text is not shown; a reel is one vertical 9:16 video of 3-90s with the text as its caption), coverUrl (a Reel's cover image, https). Pinterest: pinTitle (≤100), link (the pin's destination URL, https). YouTube: privacyStatus ("public" | "unlisted" | "private"), title (≤100), categoryId (e.g. "22", "28"), madeForKids, containsSyntheticMedia (realistic content made or altered with AI), thumbnailUrl (custom thumbnail, JPEG/PNG under 2 MB, https; needs a phone-verified channel), tags (list of video tags viewers do not see, ≤500 chars in all; used instead of hashtags). Google Business Profile: callToAction, a button on the post ("learn_more" | "book" | "order" | "shop" | "sign_up" | "call"), and callToActionUrl, the https page it opens (required except for "call", which dials the profile's phone; a link alone is "learn_more"). X: threadParts, the replies after the post as a list (each ≤280, at most 24, a link in one post at most), published as a thread; each counts as an X post. Threads: topicTag, the post's one topic, shown on it (≤50, spaces allowed, no . or &; instead of hashtags), and replyControl (who can reply). LinkedIn, Facebook, Instagram, Threads, YouTube, Bluesky, Mastodon: firstComment, a comment Antwork posts on the post right after it goes live (not on a story; links in YouTube Shorts comments are not clickable; paid plans only: on Free it is saved but not posted, and the result says so in firstCommentNote). TikTok settings are set by the user at settingsUrl, not here. variants: Up to 3 alternative versions for the same account. workspace_id: Workspace ID or name. Optional if user has only one workspace. media_urls: Media for the draft (every draft, with posts): library URLs, or public https links to a file, fetched into the library first as add_media(url=...) does. Saves the add_media call when moving posts in from another tool. posts: Up to 25 drafts in one call, instead of text + account_id: [{"account_id": str, "text": str}], each entry optionally with hashtags, goal, user_tags, pinterest_board_id, slack_channel, platform_options. Each account's copy is written in its own voice; there is no shared body. Sending them is 10 per schedule_post or publish_post call. allow_duplicate: Save a second copy of a post the account already has unsent, only when the user asks for one. routine_id: The Autopilot routine this run is for (get_post_context(routine_id)): its accounts and post limit apply. idea: Save text (and media_urls) as an idea instead: notes for a post with no account yet, for "save this for later" or moving a backlog in. Notes are up to 5000 characters: split longer text into several ideas. list_posts(status="idea") lists them. idea_id: The idea these drafts are written from (from list_posts(status="idea")); it is marked done once they are saved.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
ideaNo
textNo
postsNo
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
idea_idNo
hashtagsNo
variantsNo
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
user_tagsNo
account_idNo
media_urlsNo
routine_idNo
campaign_idNo
workspace_idNo
scheduled_forNo
slack_channelNo
allow_duplicateNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
platform_optionsNo
pinterest_board_idNo

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  2. Changed2 schema fields changed
    • addedInput schema / properties / idea
      Added value: +{
      +  "default": false,
      +  "title": "Idea",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idea_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Idea Id"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / routine_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Routine Id"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / allow_duplicate
      Added value: +{
      +  "default": false,
      +  "title": "Allow Duplicate",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / slack_channel
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Slack Channel"
      +}
  6. Changed8 schema fields changed
    • addedInput schema / properties / account_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / account_id / default
      Added value: +null
    • removedInput schema / properties / account_id / type
      Removed value: -"string"
    • addedInput schema / properties / posts
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Posts"
      +}
    • addedInput schema / properties / text / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / text / default
      Added value: +null
    • removedInput schema / properties / text / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "text",
      -  "account_id"
      -]New value: +[]
  7. Changed1 schema field changed
    • addedInput schema / properties / media_urls
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Media Urls"
      +}
  8. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "text",
      -  "account_id",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "text",
      +  "account_id"
      +]
  9. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes far beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), which only say "this writes and touches external platforms." The description discloses duplicate suppression (`duplicateOf`, `created: false`), over-limit behavior (`overLimit`), media requirements per platform, `proposedTimeConflict` with `nextFreeAt`, and the Free-plan caveat where `firstComment` is saved but not posted (`firstCommentNote`).

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?

Very long, but the length is earned by 21 parameters with divergent per-platform semantics, and the most important constraint (nothing is sent) is front-loaded. Some passages, notably the detailed enumeration of result fields when an output schema exists, could be trimmed without losing invocation-critical information.

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?

Complete for a 21-parameter, zero-required-parameter draft-creation tool: it covers account selection, text/media rules per platform, batching, idea mode, and error-signalling result fields. Nothing an agent needs to construct a valid call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14% across 21 parameters, so the description must carry the load and it does: each parameter gets per-platform rules, formats, and constraints (hashtag splitting, LinkedIn `user_tags` shapes, Instagram photo-tag x/y/mediaIndex, X `threadParts` limits, YouTube `tags` vs hashtags). It adds semantics the schema cannot express, such as how repeated accounts in `posts` collapse into versions of one post.

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?

Opens with a specific verb and resource ("Save drafts") and immediately bounds the scope: "Nothing is sent: schedule_post or publish_post does that." An agent can distinguish this from the publishing siblings without opening 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?

Gives explicit routing rules: single account vs `posts` for several accounts, `idea` for "save this for later", `allow_duplicate` only "when the user asks for one", and `campaign_id` to attach a draft to an existing multi-account post. It also names the alternatives (schedule_post, publish_post, add_media) and when they, not this tool, apply.

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.