Skip to main content
Glama

Create a post draft

create_post
Idempotent

Makes a draft post for one or more connected accounts from one video, or from up to 10 photos: mediaId is the video or the first photo, and moreMediaIds the other photos in the order they show. Nothing is posted. Photos go to Instagram, Facebook, TikTok and Pinterest (Instagram posts take shapes from portrait 4:5 to landscape 1.91:1); videos go to Instagram as a Reel, Facebook, TikTok, YouTube and Pinterest. Several photos make a carousel on Instagram and Threads, one post with all of them on Facebook and a photo post on TikTok; YouTube takes one video and Pinterest one photo or video, and a video always posts on its own. On TikTok, one photo or more make a photo post, which shows the title (up to 90 characters there) and has no duets or stitches. TikTok adds a sound it picks to a photo post unless tiktok.autoAddMusic is false, and the person can change the sound in TikTok. An Instagram account in instagram.storyAccountIds gets one photo or video as a Story instead: a Story shows without the caption (the other accounts still get it) and disappears after 24 hours, and a Story video runs 3 to 60 seconds. tiktok.aiGenerated labels a TikTok post as AI-generated, and instagram.aiGenerated labels Instagram posts, Reels and carousels as made with AI (Instagram doesn't take the label on a Story); each is the person's own choice and off unless they ask for it. For TikTok, TikTok requires the person to choose who can view each post: ask them (everyone, friends, followers or only me) and never choose for them. Comments, duets and stitches stay off unless they turn them on; a post promoting their own brand or a third party (branded content, which can't be private) must say so. For YouTube, give a title (up to 100 characters, no < or >) and ask the person who can watch it (public, unlisted or private) and whether it's made for kids; YouTube asks every uploader, so never answer for them. Say if it has realistic altered or AI-made content. A square or vertical video up to 3 minutes becomes a Short. For Pinterest, choose a board for each Pinterest account (list_pinterest_boards) and optionally a link the Pin leads to; the title is the Pin's title. For Threads, a post can be text on its own (leave out mediaId, and choose only Threads accounts) or have a photo or video. Threads takes up to 500 characters, counting each emoji as several, and up to 5 links. Practice mode takes a post on its own, with one photo or video, and nothing goes out publicly. Afterwards, show the person every version this returns and ask them to confirm before calling schedule_post.

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>",
      "accountIds": "<accountIds>",
      "when": "<when>"
    },
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA short name only the person sees
whenYes"now", or an ISO 8601 date-time with a time zone offset, up to a year ahead
titleNoRequired for YouTube (the video's title); also the Pin's title, and a TikTok photo post's (up to 90 characters there)
tiktokNoRequired when a TikTok account is chosen; ask the person who can view it
altTextNoDescribes the image for people using screen readers
captionYes
mediaIdNoThe video, or the first photo. Leave it out only for a text post to Threads
youtubeNoRequired when a YouTube channel is chosen; ask the person
timezoneNoThe person's IANA time zone, like America/New_York
instagramNoInstagram Stories (one photo or video each, shown without the caption, for 24 hours) and the AI label
pinterestNoRequired when a Pinterest account is chosen
accountIdsYes
moreMediaIdsNoMore photos after the first, in the order they show: up to 10 photos in one post, for Instagram, Facebook, Threads and TikTok. Photos only; a video posts on its own

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the generic CRUD profile (not read-only, not destructive, idempotent); the description goes well beyond them by disclosing that nothing is published, that Stories vanish after 24 seconds-to-24-hours rules apply, that TikTok visibility, YouTube audience and made-for-kids answers must come from the person and never be assumed, and that the agent must echo every returned version before scheduling. These are exactly the behavioral constraints the annotations cannot carry.

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?

The opening is strongly front-loaded and the closing instruction is well placed, but the middle is a dense multi-clause run-on covering TikTok sounds, AI labels, carousel behavior and character counts in a single block. Some of that overlaps with schema descriptions (the 90-character TikTok title, the 500-character Threads limit), so not every clause earns its place.

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 13-parameter tool with nested platform objects and no output schema, the description covers the full decision surface: which platforms accept which media, what must be asked of the person versus assumed, and what to do with the result. Nothing an agent needs to call this correctly and safely is missing.

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 already 85%, so the baseline is a 3; the description still adds real meaning by explaining that mediaId is the video or the first photo and moreMediaIds are the remaining photos in display order, and by mapping each media type to the platforms that accept it. It also clarifies platform-conditional obligations (title for YouTube, boards for Pinterest) that are only partly visible in the schema.

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?

"Makes a draft post for one or more connected accounts from one video, or from up to 10 photos" states a specific verb, resource and input shape, and the immediately following "Nothing is posted" pins down that this is a draft step, not a publish. The closing sentence routes the agent to schedule_post, so the boundary with the obvious sibling is unambiguous.

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?

The description gives explicit when-to-use context (draft creation, practice mode, Threads-only text posts with mediaId omitted) and names the alternatives: list_pinterest_boards for Pinterest board selection and schedule_post after user confirmation. It also states hard exclusions such as "a video always posts on its own" and "on Threads... choose only Threads accounts."

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