Skip to main content
Glama

Create draft

create_draft

Create a draft (drafts only; this tool cannot publish or schedule). TikTok visibility, music/commercial disclosure, and interaction settings cannot be preset; they are chosen by the user on the confirmation page based on the account's creator_info. A TikTok post is either 1 video or 1-35 JPG/PNG images (photo post; PNG is automatically converted to JPG and downscaled to 1080p, and a single PNG cannot exceed 8,388,608 pixels (about 4K); videos and images cannot be mixed). For photo posts, platformOverrides.tiktok accepts title (optional, up to 90 characters), photoCoverIndex (cover image index, starting at 0, default is the first image), and autoAddMusic (automatically add recommended music, on by default); the post body is used as the photo post caption, up to 4000 characters. For YouTube, platformOverrides.youtube accepts youtubeProbe:true (first upload privately to YouTube as a probe; it is made public automatically after about 30 minutes, and the other platforms are published only after it passes the check; the post must also include other platforms, and the server fixes the visibility to private). Returns a reviewUrl where the user can review, confirm and publish the post in the web app. Direct publishing through publish_post is available only when the workspace owner has enabled direct publishing by agents and all target platforms are checked. (Required scope: cd.posts.draft)

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": {
      "contentText": "<contentText>",
      "platformTargets": "<platformTargets>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
titleNo
hashtagsNo
mediaIdsNo
contentTextYes
descriptionNo
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.
idempotencyKeyNo16-128 characters: letters, digits, underscores, or hyphens; keep it unchanged when retrying
platformTargetsYesList of connected account ids
accountOverridesNo
platformOverridesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the return value (reviewUrl), the required scope (cd.posts.draft), the hard media constraints (exactly 1 video or 1-35 JPG/PNG images, no mixing, PNG auto-conversion and 8.3MP cap), and the YouTube probe flow and forced private visibility. It also warns that TikTok visibility, music, and interaction settings cannot be preset and are chosen on the confirmation page, which is exactly the kind of non-obvious behavior an agent would otherwise guess wrong.

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?

Front-loads the most important fact (draft-only, cannot publish) in the first clause, which is good. However, the remaining content is a single dense block of long parenthesized sentences mixing platform rules, character limits, and publishing preconditions, making it harder to scan than the payload warrants.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex multi-platform, nested-override tool with no output schema, the description supplies the return value, scope requirement, and per-platform quirks that would otherwise be invisible. Remaining gaps are the untyped accountOverrides object and how mediaIds must be produced (presumably via create_media_upload) before calling this.

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

Parameters3/5

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

Schema description coverage is only 27% across 11 parameters, so the description must carry weight. It handles the hardest part well, spelling out platformOverrides.tiktok (title, photoCoverIndex, autoAddMusic) and platformOverrides.youtube (youtubeProbe) semantics and character limits, but leaves accountOverrides, mediaIds, tags/hashtags, contentText/title/description, and their interaction largely unexplained. Coverage is real but partial for a nested-object tool.

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+resource plus an explicit scope boundary: 'Create a draft (drafts only; this tool cannot publish or schedule)'. It also names the sibling that does publish (publish_post) and the conditions under which that path is available, so an agent can distinguish the two 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly frames this as the review-then-confirm path (returns a reviewUrl) and states when the direct-publish alternative is valid: only if the workspace owner enabled agent publishing and all target platforms are checked. It does not explicitly route to update_draft/delete_draft for later lifecycle steps, but the when-to-use context for this call itself is unambiguous.

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.