Skip to main content
Glama

Update a draft

update_draft
DestructiveIdempotent

Use this when the user wants to change a draft post, or schedule it: "shorten the caption", "move it to Friday 6pm", "set the YouTube title", "schedule it". schedule=true schedules it (YouTube Shorts and TikTok): only after the user saw this exact post and said yes, and only with the publish permission. Set only what was asked; the TikTok choices stay off until the user says. The answer lists what platforms would still refuse. Not for: scheduled or posted posts (refused), new drafts (draft_post), covers (set_post_cover) or removing a draft (delete_draft). Free. Without schedule=true it stays a 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": {
      "post_id": "<post_id>"
    },
    "name": "update_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNoBluesky: alt text describing the video.
aigcNoTikTok: label the video as made with AI.
modeNoTikTok: "direct" posts to the profile, "inbox" sends to the TikTok inbox.
tagsNoYouTube tags, one word or phrase each.
clearNoRemove any of: title, category, playlist, tags, first_comment, collaborators, audio_name, alt.
titleNoYouTube or Facebook title.
captionNoNew caption text.
post_idYesDraft id, from get_post_stats with status "draft".
privacyNoTikTok: public, followers, friends or private. YouTube: public, unlisted or private.
categoryNoYouTube category name, e.g. Gaming.
discloseNoTikTok: true marks a brand post; then set brand_organic or brand_content.
platformNoMove to: tiktok, youtube, instagram, facebook, threads or bluesky.
scheduleNoTrue schedules it (YouTube Shorts, TikTok), only after the user approved it.
syntheticNoYouTube: declare altered or synthetic content.
account_idNoAccount to post from, from list_social_accounts.
allow_duetNoTikTok: allow duets.
audio_nameNoInstagram: name shown for the audio.
clear_timeNoTrue removes the scheduled time.
playlist_idNoYouTube: existing playlist id, from list_youtube_playlists.
post_presetNoSaved preset name or id, from list_post_presets; other fields win over it.
allow_stitchNoTikTok: allow stitches.
new_playlistNoYouTube: name of a playlist to create. Not with playlist_id.
scheduled_atNoISO 8601 date-time with offset, e.g. 2026-11-23T18:00:00-05:00; at least a minute ahead.
allow_commentNoTikTok: allow comments.
brand_contentNoTikTok: with disclose, a paid partnership.
brand_organicNoTikTok: with disclose, promotes the user's own brand.
collaboratorsNoInstagram: collaborator usernames to invite.
first_commentNoInstagram or Facebook: text of the first comment.
made_for_kidsNoYouTube: made for kids. Needed to schedule.
reply_controlNoThreads or Bluesky: who can reply, e.g. everyone.
share_to_feedNoInstagram: also show in the profile feed.
notify_subscribersNoYouTube: notify subscribers.

Output Schema

NameRequiredDescriptionDefault
noteYes
statusYes
tiktokYes
captionYes
changedYes
detailsNo
post_idYes
privacyYes
platformYes
review_urlYes
scheduled_atYes
to_fix_before_schedulingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed64 schema fields changed
    • removedInput schema / properties / account_id / default
      Removed value: -""
    • removedInput schema / properties / aigc / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / aigc / default
      Removed value: -null
    • addedInput schema / properties / aigc / type
      Added value: +"boolean"
    • removedInput schema / properties / allow_comment / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / allow_comment / default
      Removed value: -null
    • addedInput schema / properties / allow_comment / type
      Added value: +"boolean"
    • removedInput schema / properties / allow_duet / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / allow_duet / default
      Removed value: -null
    • addedInput schema / properties / allow_duet / type
      Added value: +"boolean"
    • removedInput schema / properties / allow_stitch / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / allow_stitch / default
      Removed value: -null
    • addedInput schema / properties / allow_stitch / type
      Added value: +"boolean"
    • removedInput schema / properties / alt / default
      Removed value: -""
    • removedInput schema / properties / audio_name / default
      Removed value: -""
    • removedInput schema / properties / brand_content / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / brand_content / default
      Removed value: -null
    • addedInput schema / properties / brand_content / type
      Added value: +"boolean"
    • removedInput schema / properties / brand_organic / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / brand_organic / default
      Removed value: -null
    • addedInput schema / properties / brand_organic / type
      Added value: +"boolean"
    • removedInput schema / properties / caption / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / caption / default
      Removed value: -null
    • addedInput schema / properties / caption / type
      Added value: +"string"
    • removedInput schema / properties / category / default
      Removed value: -""
    • removedInput schema / properties / clear / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / clear / default
      Removed value: -null
    • addedInput schema / properties / clear / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / clear / type
      Added value: +"array"
    • removedInput schema / properties / clear_time / default
      Removed value: -false
    • removedInput schema / properties / collaborators / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / collaborators / default
      Removed value: -null
    • addedInput schema / properties / collaborators / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / collaborators / type
      Added value: +"array"
    • removedInput schema / properties / disclose / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / disclose / default
      Removed value: -null
    • addedInput schema / properties / disclose / type
      Added value: +"boolean"
    • removedInput schema / properties / first_comment / default
      Removed value: -""
    • removedInput schema / properties / made_for_kids / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / made_for_kids / default
      Removed value: -null
    • addedInput schema / properties / made_for_kids / type
      Added value: +"boolean"
    • removedInput schema / properties / mode / default
      Removed value: -""
    • removedInput schema / properties / new_playlist / default
      Removed value: -""
    • removedInput schema / properties / notify_subscribers / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / notify_subscribers / default
      Removed value: -null
    • addedInput schema / properties / notify_subscribers / type
      Added value: +"boolean"
    • removedInput schema / properties / platform / default
      Removed value: -""
    • removedInput schema / properties / playlist_id / default
      Removed value: -""
    • removedInput schema / properties / post_preset / default
      Removed value: -""
    • removedInput schema / properties / privacy / default
      Removed value: -""
    • removedInput schema / properties / reply_control / default
      Removed value: -""
    • removedInput schema / properties / schedule / default
      Removed value: -false
    • removedInput schema / properties / scheduled_at / default
      Removed value: -""
    • removedInput schema / properties / share_to_feed / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / share_to_feed / default
      Removed value: -null
    • addedInput schema / properties / share_to_feed / type
      Added value: +"boolean"
    • removedInput schema / properties / synthetic / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / synthetic / default
      Removed value: -null
    • addedInput schema / properties / synthetic / type
      Added value: +"boolean"
    • removedInput schema / properties / tags / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / tags / default
      Removed value: -null
    • addedInput schema / properties / tags / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / tags / type
      Added value: +"array"
    • removedInput schema / properties / title / default
      Removed value: -""
  2. Changed65 schema fields changed
    • addedInput schema / properties / account_id / description
      Added value: +"Account to post from, from list_social_accounts."
    • removedInput schema / properties / account_id / title
      Removed value: -"Account Id"
    • addedInput schema / properties / aigc / description
      Added value: +"TikTok: label the video as made with AI."
    • removedInput schema / properties / aigc / title
      Removed value: -"Aigc"
    • addedInput schema / properties / allow_comment / description
      Added value: +"TikTok: allow comments."
    • removedInput schema / properties / allow_comment / title
      Removed value: -"Allow Comment"
    • addedInput schema / properties / allow_duet / description
      Added value: +"TikTok: allow duets."
    • removedInput schema / properties / allow_duet / title
      Removed value: -"Allow Duet"
    • addedInput schema / properties / allow_stitch / description
      Added value: +"TikTok: allow stitches."
    • removedInput schema / properties / allow_stitch / title
      Removed value: -"Allow Stitch"
    • addedInput schema / properties / alt / description
      Added value: +"Bluesky: alt text describing the video."
    • removedInput schema / properties / alt / title
      Removed value: -"Alt"
    • addedInput schema / properties / audio_name / description
      Added value: +"Instagram: name shown for the audio."
    • removedInput schema / properties / audio_name / title
      Removed value: -"Audio Name"
    • addedInput schema / properties / brand_content / description
      Added value: +"TikTok: with disclose, a paid partnership."
    • removedInput schema / properties / brand_content / title
      Removed value: -"Brand Content"
    • addedInput schema / properties / brand_organic / description
      Added value: +"TikTok: with disclose, promotes the user's own brand."
    • removedInput schema / properties / brand_organic / title
      Removed value: -"Brand Organic"
    • addedInput schema / properties / caption / description
      Added value: +"New caption text."
    • removedInput schema / properties / caption / title
      Removed value: -"Caption"
    • addedInput schema / properties / category / description
      Added value: +"YouTube category name, e.g. Gaming."
    • removedInput schema / properties / category / title
      Removed value: -"Category"
    • addedInput schema / properties / clear / description
      Added value: +"Remove any of: title, category, playlist, tags, first_comment, collaborators, audio_name, alt."
    • removedInput schema / properties / clear / title
      Removed value: -"Clear"
    • addedInput schema / properties / clear_time / description
      Added value: +"True removes the scheduled time."
    • removedInput schema / properties / clear_time / title
      Removed value: -"Clear Time"
    • addedInput schema / properties / collaborators / description
      Added value: +"Instagram: collaborator usernames to invite."
    • removedInput schema / properties / collaborators / title
      Removed value: -"Collaborators"
    • addedInput schema / properties / disclose / description
      Added value: +"TikTok: true marks a brand post; then set brand_organic or brand_content."
    • removedInput schema / properties / disclose / title
      Removed value: -"Disclose"
    • addedInput schema / properties / first_comment / description
      Added value: +"Instagram or Facebook: text of the first comment."
    • removedInput schema / properties / first_comment / title
      Removed value: -"First Comment"
    • addedInput schema / properties / made_for_kids / description
      Added value: +"YouTube: made for kids. Needed to schedule."
    • removedInput schema / properties / made_for_kids / title
      Removed value: -"Made For Kids"
    • addedInput schema / properties / mode / description
      Added value: +"TikTok: \"direct\" posts to the profile, \"inbox\" sends to the TikTok inbox."
    • removedInput schema / properties / mode / title
      Removed value: -"Mode"
    • addedInput schema / properties / new_playlist / description
      Added value: +"YouTube: name of a playlist to create. Not with playlist_id."
    • removedInput schema / properties / new_playlist / title
      Removed value: -"New Playlist"
    • addedInput schema / properties / notify_subscribers / description
      Added value: +"YouTube: notify subscribers."
    • removedInput schema / properties / notify_subscribers / title
      Removed value: -"Notify Subscribers"
    • addedInput schema / properties / platform / description
      Added value: +"Move to: tiktok, youtube, instagram, facebook, threads or bluesky."
    • removedInput schema / properties / platform / title
      Removed value: -"Platform"
    • addedInput schema / properties / playlist_id / description
      Added value: +"YouTube: existing playlist id, from list_youtube_playlists."
    • removedInput schema / properties / playlist_id / title
      Removed value: -"Playlist Id"
    • addedInput schema / properties / post_id / description
      Added value: +"Draft id, from get_post_stats with status \"draft\"."
    • removedInput schema / properties / post_id / title
      Removed value: -"Post Id"
    • addedInput schema / properties / post_preset / description
      Added value: +"Saved preset name or id, from list_post_presets; other fields win over it."
    • removedInput schema / properties / post_preset / title
      Removed value: -"Post Preset"
    • addedInput schema / properties / privacy / description
      Added value: +"TikTok: public, followers, friends or private. YouTube: public, unlisted or private."
    • removedInput schema / properties / privacy / title
      Removed value: -"Privacy"
    • addedInput schema / properties / reply_control / description
      Added value: +"Threads or Bluesky: who can reply, e.g. everyone."
    • removedInput schema / properties / reply_control / title
      Removed value: -"Reply Control"
    • addedInput schema / properties / schedule / description
      Added value: +"True schedules it (YouTube Shorts, TikTok), only after the user approved it."
    • removedInput schema / properties / schedule / title
      Removed value: -"Schedule"
    • addedInput schema / properties / scheduled_at / description
      Added value: +"ISO 8601 date-time with offset, e.g. 2026-11-23T18:00:00-05:00; at least a minute ahead."
    • removedInput schema / properties / scheduled_at / title
      Removed value: -"Scheduled At"
    • addedInput schema / properties / share_to_feed / description
      Added value: +"Instagram: also show in the profile feed."
    • removedInput schema / properties / share_to_feed / title
      Removed value: -"Share To Feed"
    • addedInput schema / properties / synthetic / description
      Added value: +"YouTube: declare altered or synthetic content."
    • removedInput schema / properties / synthetic / title
      Removed value: -"Synthetic"
    • addedInput schema / properties / tags / description
      Added value: +"YouTube tags, one word or phrase each."
    • removedInput schema / properties / tags / title
      Removed value: -"Tags"
    • addedInput schema / properties / title / description
      Added value: +"YouTube or Facebook title."
    • removedInput schema / properties / title / title
      Removed value: -"Title"
    • removedInput schema / title
      Removed value: -"update_draft_routeArguments"
  3. Changed18 schema fields changed
    • addedInput schema / properties / alt
      Added value: +{
      +  "default": "",
      +  "title": "Alt",
      +  "type": "string"
      +}
    • addedInput schema / properties / audio_name
      Added value: +{
      +  "default": "",
      +  "title": "Audio Name",
      +  "type": "string"
      +}
    • addedInput schema / properties / category
      Added value: +{
      +  "default": "",
      +  "title": "Category",
      +  "type": "string"
      +}
    • addedInput schema / properties / clear
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Clear"
      +}
    • addedInput schema / properties / collaborators
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Collaborators"
      +}
    • addedInput schema / properties / first_comment
      Added value: +{
      +  "default": "",
      +  "title": "First Comment",
      +  "type": "string"
      +}
    • addedInput schema / properties / made_for_kids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Made For Kids"
      +}
    • addedInput schema / properties / new_playlist
      Added value: +{
      +  "default": "",
      +  "title": "New Playlist",
      +  "type": "string"
      +}
    • addedInput schema / properties / notify_subscribers
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Notify Subscribers"
      +}
    • addedInput schema / properties / playlist_id
      Added value: +{
      +  "default": "",
      +  "title": "Playlist Id",
      +  "type": "string"
      +}
    • addedInput schema / properties / post_preset
      Added value: +{
      +  "default": "",
      +  "title": "Post Preset",
      +  "type": "string"
      +}
    • addedInput schema / properties / reply_control
      Added value: +{
      +  "default": "",
      +  "title": "Reply Control",
      +  "type": "string"
      +}
    • addedInput schema / properties / share_to_feed
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Share To Feed"
      +}
    • addedInput schema / properties / synthetic
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Synthetic"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tags"
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "default": "",
      +  "title": "Title",
      +  "type": "string"
      +}
    • addedOutput schema / properties / details
      Added value: +{
      +  "additionalProperties": true,
      +  "default": {},
      +  "title": "Details",
      +  "type": "object"
      +}
    • addedOutput schema / properties / to_fix_before_scheduling
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "To Fix Before Scheduling",
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / schedule
      Added value: +{
      +  "default": false,
      +  "title": "Schedule",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the approval and publish-permission gate for schedule=true, the default of staying a draft without it, the refusal behavior for already-scheduled or posted posts, that unspecified TikTok fields stay off, and that the response lists platforms that would still refuse. Also notes the call is free, which annotations do not convey.

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?

Dense but front-loaded: the trigger condition, the scheduling rule, and the exclusions each appear once and earn their place. It is a single long paragraph with quoted examples rather than a structured list, which slightly hurts scanability.

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 32-parameter mutation tool, the description covers the risky path (scheduling), the permission gate, refusals and the sibling split, and an output schema exists so return values need no explanation. Platform-specific field combinations are left to the fully described schema, which is acceptable.

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 per-parameter meanings are already documented; the description only adds cross-parameter semantics for schedule and the "set only what was asked" default. That is useful but marginal over the schema, so the baseline 3 applies rather than a higher score.

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 and resource ("change a draft post, or schedule it") with concrete user phrasings, and explicitly distinguishes itself from draft_post, set_post_cover and delete_draft. An agent can route to it without opening the 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 when-to-use examples, prerequisites ("only after the user saw this exact post and said yes, and only with the publish permission"), and an explicit "Not for:" list naming the alternatives for scheduled/posted posts, new drafts, covers and deletion. Nothing is left 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.

Resources