Skip to main content
Glama

Postkey: Instagram DM Automation and Comment-to-DM

Edit a video

postkey_edit_video
Destructive

Postkey: Changes a video edit, all or nothing (latest version); the person sees it live, can undo. ops: a list of objects with "op": cut, restore, cut_words, restore_words, split, trim, fix_word, set_emoji, set_highlight, set_censor, retime, use_take, move (sentences); set_hook, set_captions, add_text, set_text, remove_text; add_moment (or add_title), add_effect, add_sound, add_broll, add_image, add_song, each with set_ and remove_; set_music, split_song; set_tightness, set_clip, set_pan, set_scene, set_layout, set_shape, set_reply, set_punch, set_clean_voice, set_fillers, set_speed, set_transition, set_cut, set_card, set_cta, apply_template, set_title, set_words, set_translation, set_captions_in. Each is {"op":...}; all fields: postkey_guide topic editor. Read ids with postkey_get_edit. note (what you did and why) is shown to the person beside the change. Returns the change, length, script. It cannot post: render it (postkey_guide topic render) or the person exports from open_url.

Input Schema

NameRequiredDescriptionDefault
opsYesThe operations, in order, each an object with "op" (see the description). At least one.
noteNoWhat you did and why, in one short sentence. Shown to the person beside the change.
edit_idYesThe edit id from postkey_list_edits.
base_versionNoOptional: the version you read with postkey_get_edit. It still lands on the latest version; the answer says if it had moved on.

Output Schema

NameRequiredDescriptionDefault
okYesfalse: refused (isError; code, message, guide_topic, url); no change.
editNoThe updated edit as a script (as postkey_get_edit).
changeNoThe change made: change_id (undo it with postkey_undo_edit), version, who, by, summary, undone, at. null when nothing changed.
exportNoExporting runs on the person's device.
changedNofalse: the edit already was that way; nothing was recorded.
secondsNoThe finished length in seconds.
summaryNoOne sentence of what changed.
versionNoThe edit's version after the change.
open_urlNoWhere the person sees it.
base_movedNotrue: the edit had changed since base_version; your change landed on the latest one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / ok / description
      Previous value: -"false: refused (isError true; code, message, guide_topic, url), nothing changed."New value: +"false: refused (isError; code, message, guide_topic, url); no change."
  2. Changed1 schema field changed
    • changedInput schema / properties / base_version / description
      Previous value: -"Optional: the version you read with postkey_get_edit. The change still lands on the latest version; the answer says whether it had moved on."New value: +"Optional: the version you read with postkey_get_edit. It still lands on the latest version; the answer says if it had moved on."
  3. Changed1 schema field changed
    • changedOutput schema / properties / export / description
      Previous value: -"Exporting runs on the person's device, never through you."New value: +"Exporting runs on the person's device."
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources