Skip to main content
Glama

Create draft

create_draft

Create a social draft (a single post or a thread) in the user’s content pipeline. It is created immediately and appears on the user’s calendar. Returns the draft’s id for plan_post. Send an idempotencyKey and reuse it if you retry, so a lost response never creates a duplicate.

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": {
      "title": "<title>",
      "type": "<type>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesContent format for the draft: POST for a single social post, THREAD for a multi-post thread.
notesNoOptional supporting notes: the angle, evidence, or reasoning behind the draft.
titleYesWorking title for the draft.
tagIdsNoOwned pillar tag IDs from get_content_strategy; never invent IDs.
contentNoOptional complete draft body, ready to edit in the composer.
outlineNoOptional outline or structure for the piece.
threadPostsNoComplete ordered posts for a THREAD draft.
linkedOfferIdNoAn owned offer ID from get_offers, only when this draft promotes that offer.
scheduledDateNoOptional ISO 8601 datetime to plan the draft for on the calendar.
idempotencyKeyNoRecommended. A unique key for this write (for example a UUID). Reuse the same key when retrying after a timeout or lost response; Distinctful returns the original result instead of creating a duplicate.
destinationPlatformsNoExplicit destinations for this social draft. Preserve the user’s chosen platform. For an Instagram Reel, TikTok, or YouTube Short, use POST with the caption as content; the video is attached afterwards, by the user in the composer or with start_video_upload where that tool exists.

Output Schema

NameRequiredDescriptionDefault
idNoId of the created or changed record, when there is one.
urlYesWhere the user can see the result in Distinctful.
doneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / destinationPlatforms / items / enum
      Previous value: -[
      -  "THREADS",
      -  "TWITTER",
      -  "LINKEDIN",
      -  "BLUESKY",
      -  "INSTAGRAM",
      -  "TIKTOK",
      -  "YOUTUBE",
      -  "FACEBOOK",
      -  "PINTEREST"
      -]New value: +[
      +  "THREADS",
      +  "TWITTER",
      +  "LINKEDIN",
      +  "BLUESKY",
      +  "INSTAGRAM",
      +  "TIKTOK",
      +  "YOUTUBE",
      +  "FACEBOOK",
      +  "PINTEREST",
      +  "MASTODON",
      +  "DISCORD"
      +]
    • changedInput schema / properties / destinationPlatforms / maxItems
      Previous value: -9New value: +11
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two behaviors the agent could not otherwise know: creation is immediate with a visible calendar side effect, and a lost response can be safely retried by reusing idempotencyKey. Notably this squares with idempotentHint=false — the tool is not naturally idempotent, so the key is what prevents duplicates. It says nothing about permission or failure modes, keeping it at 4.

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

Conciseness5/5

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

Three short sentences, each carrying a distinct payload: what it makes, what side effect occurs and what id comes back, and how to retry safely. The retry caveat is placed last where it belongs and no sentence restates the name or title.

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 an 11-parameter write tool the description covers the essentials — immediate persistence, calendar visibility, downstream id use, and duplicate protection — and an output schema exists so return shape needs no prose. Dependencies on get_content_strategy tags and get_offers are only in the schema, leaving minor completeness headroom.

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 100%, so the schema already explains type, tagIds, destinationPlatforms, threadPosts, and idempotencyKey in detail. The description's restatement of the idempotency contract reinforces but does not add meaning beyond the schema field description, so the baseline 3 applies.

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?

The opening sentence gives a specific verb and resource plus scope ('a single post or a thread'), and later names plan_post as the downstream consumer of the returned id, which indirectly separates it from publishing siblings. It stops short of explicitly distinguishing itself from update_draft or create_idea_draft, so a 4 rather than a 5.

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?

Usage context is clear: it is created immediately on the calendar and the returned id is meant to feed plan_post, and the retry policy (reuse the same idempotencyKey) is spelled out. Guidance for choosing between this and update_draft or create_idea_draft is absent, so it is clear-but-not-exhaustive.

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