Skip to main content
Glama

Create post drafts

create_post_drafts

Creates draft video posts for multiple platforms in a single call. Equivalent to calling create_post_draft once per platform but batched — use this instead when drafting to more than one platform. Returns per-platform results with each post's id; platforms that can't take the upload's content type come back with ok: false. Accepted content types per platform: instagram: video/image/carousel; tiktok: video/image/carousel; youtube: video; facebook: video/image/text/carousel; snapchat: video/image; linkedin: video/image/text/carousel; threads: video/image/text/carousel; twitter: video/image/text/carousel; bluesky: video/image/text/carousel; pinterest: video/image/carousel; telegram: video/image/text/carousel; mastodon: video/image/text/carousel; discord: video/image/text/carousel; reddit: video/image/text/carousel; tumblr: video/image/text/carousel; pixelfed: video/image/carousel; google_business: image/text; dailymotion: video; wordpress: video/image/text/carousel; whatsapp: video/image/text; ghost: video/image/text/carousel; blogger: image/text/carousel; vimeo: video. Snapchat Spotlight is video-only (images go to Story).

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": {
      "video_upload_id": "<video_upload_id>",
      "platforms": "<platforms>"
    },
    "name": "create_post_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformsYesTarget platforms, e.g. ["instagram", "tiktok", "youtube"]. Duplicates are ignored. See create_post_draft for the full list.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.
video_upload_idYesid of the source upload. Get from list_video_uploads.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive write; the description goes further by disclosing the partial-failure model (platforms that reject the content type return ok: false) and the per-platform result shape with each post's id. It also surfaces the content-type acceptance matrix, which is real constraint information an agent would otherwise discover only by failing. Slightly reduced because retry/idempotency behavior is described in the schema rather than here, and nothing is said about what a draft state implies downstream (e.g., scheduling).

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?

Purpose and the sibling-selection rule are front-loaded in the first two sentences, which is exactly right. The trailing platform/content-type block is dense and long but information-bearing; it could be tightened (e.g., grouped by shared type sets) without losing content, and it dominates the description visually.

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 three-parameter batched write with no output schema, the definition covers what it does, when to prefer it, what comes back (per-platform id and ok flag), and the main failure mode. Nothing an agent needs to call it correctly appears to be 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 100%, so the baseline is 3; the description earns extra credit by adding meaning to `platforms` that the schema defers elsewhere (the schema just says "See create_post_draft for the full list"). The enumerated content-type acceptance per platform tells the agent which platform values will succeed for a given upload. It stops short of adding anything about `idempotency_key`, though that parameter is already well documented 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?

States a specific verb (creates), resource (draft video posts), and scope (multiple platforms in a single call), which directly separates it from the single-platform sibling create_post_draft. An agent can pick this tool over create_post_draft without opening either 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?

Explicitly frames the equivalence ("Equivalent to calling create_post_draft once per platform") and gives a selection rule: use this when drafting to more than one platform. That is a clear when-to-use plus the named alternative, leaving nothing to inference.

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.