Skip to main content
Glama

Postkey: Instagram DM Automation and Comment-to-DM

Start a video edit

postkey_start_edit

Postkey: Starts a new video edit from the person's footage, so they only shoot and you do the rest. Give library_item_ids (from postkey_list_library, or postkey_begin_upload or postkey_request_file for a new one), or give clips on this computer to the command. Answers a start link and the command that uses it: run it on a computer with Node 22+ and Google Chrome, where the clips are read and heard; it prints the new edit's id. Then read it with postkey_get_edit and cut it with postkey_edit_video. No computer to run it on: tell the person to open Postkey's editor on a computer and pick the video under From your Library. Steps: postkey_guide topic render. A video over 10 minutes becomes a long edit; from_edit plus clips then makes short edits from it at once, nothing to run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "postkey_start_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefNoWhat this reel is for: the mood, the platform, what to avoid.
clipsNoWith from_edit: the moments to make into short edits, each its own edit. postkey_guide topic render, Clips from a long video.
cloneNoInstead: clone the one video's style into a template of this name.
rolesNoIn a format with parts: the part each clip is, in order. Default: by position.
shapeNo9:16 (default) for Reels, TikTok, Shorts; 4:5 or 1:1 for feeds; 16:9 for YouTube, LinkedIn. set_shape changes it.
titleNoThe edit's name. Default: the first words said.
wordsNoNames and terms to spell right: the person's name, brand, products, handles ("Postkey", "@austinwhite"). Default: the profile's list. set_words changes it.
formatNoA format id from postkey_list_edit_templates. Default talking.
captionsNoDefault: on, unless the footage already carries captions.
headlineNoDefault: on, unless the footage already carries captions.
languageNoLanguage spoken: es, ja or auto
templateNoA saved or cloned style instead of format. A montage: one clip per shot, in order.
from_editNoA long video's edit (postkey_get_edit says long: true). Send with clips instead of library_item_ids.
tightnessNoHow many pauses to cut, as in set_tightness. off leaves the cut alone. Default: the format's.
any_lengthNoWith from_edit: allow clips under 10 seconds or over 3 minutes.
cut_fillersNoCut um, uh, filler like (English)
voice_over_idNoA Library sound laid over the clips, captioned.
library_item_idsNoLibrary videos in play order, and any sound from its own mic (lined up with its video). Leave out to use files on this computer.

Output Schema

NameRequiredDescriptionDefault
okYesfalse: refused (isError; code, message, guide_topic, url); no change.
linkNoThe signed start link. Works for an hour. Treat it like a password.
noteNoWhat happens next.
scriptNoWhere to download the program that runs the link.
commandNoThe command to run on a computer with Node 22 or newer and Google Chrome. It prints the new edit's id as JSON.
footageNoThe Library videos it will read: library_item_id, title.
availableNofalse: this server hands out no start links; the person starts the edit on a computer.
expires_in_minutesNoHow long the link works.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / clone
      Added value: +{
      +  "description": "Instead: clone the one video's style into a template of this name.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
    • changedInput schema / properties / format / description
      Previous value: -"A format id from postkey_list_edit_templates. Default talking. A saved template goes on afterwards with apply_template."New value: +"A format id from postkey_list_edit_templates. Default talking."
    • changedInput schema / properties / library_item_ids / description
      Previous value: -"Library videos, in the order they play, and any sound recorded on its own mic (lined up with its video). Up to 10. Leave out to use files on this computer."New value: +"Library videos in play order, and any sound from its own mic (lined up with its video). Leave out to use files on this computer."
    • changedInput schema / properties / library_item_ids / maxItems
      Previous value: -10New value: +40
    • addedInput schema / properties / template
      Added value: +{
      +  "description": "A saved or cloned style instead of format. A montage: one clip per shot, in order.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / voice_over_id
      Added value: +{
      +  "description": "A Library sound laid over the clips, captioned.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / shape / description
      Previous value: -"9:16 (default) for Reels, TikTok, Shorts; 1:1 for feeds; 16:9 for YouTube, LinkedIn. set_shape changes it."New value: +"9:16 (default) for Reels, TikTok, Shorts; 4:5 or 1:1 for feeds; 16:9 for YouTube, LinkedIn. set_shape changes it."
    • changedInput schema / properties / shape / enum
      Previous value: -[
      -  "9:16",
      -  "1:1",
      -  "16:9"
      -]New value: +[
      +  "9:16",
      +  "4:5",
      +  "1:1",
      +  "16:9"
      +]
  3. 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."
  4. Changed3 schema fields changed
    • addedInput schema / properties / cut_fillers
      Added value: +{
      +  "description": "Cut um, uh, filler like (English)",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / shape / description
      Previous value: -"The finished video: 9:16 (default) for Reels, TikTok and Shorts, 1:1 for feeds, 16:9 for YouTube and LinkedIn. Change it later with set_shape."New value: +"9:16 (default) for Reels, TikTok, Shorts; 1:1 for feeds; 16:9 for YouTube, LinkedIn. set_shape changes it."
    • changedInput schema / properties / words / description
      Previous value: -"Names and terms the speech model must spell right: the person's name, brand, products, handles (\"Postkey\", \"@austinwhite\"). Default: the profile's own list. Kept on the edit; set_words changes it."New value: +"Names and terms to spell right: the person's name, brand, products, handles (\"Postkey\", \"@austinwhite\"). Default: the profile's list. set_words changes it."
  5. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Language spoken: es, ja or auto",
      +  "maxLength": 8,
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / words
      Added value: +{
      +  "description": "Names and terms the speech model must spell right: the person's name, brand, products, handles (\"Postkey\", \"@austinwhite\"). Default: the profile's own list. Kept on the edit; set_words changes it.",
      +  "items": {
      +    "maxLength": 40,
      +    "minLength": 2,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
  7. Changed1 schema field changed
    • changedInput schema / properties / library_item_ids / description
      Previous value: -"Library videos, in the order they play. Up to 10. Leave out to use files on this computer."New value: +"Library videos, in the order they play, and any sound recorded on its own mic (lined up with its video). Up to 10. Leave out to use files on this computer."
  8. Changed1 schema field changed
    • addedInput schema / properties / shape
      Added value: +{
      +  "description": "The finished video: 9:16 (default) for Reels, TikTok and Shorts, 1:1 for feeds, 16:9 for YouTube and LinkedIn. Change it later with set_shape.",
      +  "enum": [
      +    "9:16",
      +    "1:1",
      +    "16:9"
      +  ],
      +  "type": "string"
      +}
  9. Changed3 schema fields changed
    • addedInput schema / properties / any_length
      Added value: +{
      +  "description": "With from_edit: allow clips under 10 seconds or over 3 minutes.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / clips
      Added value: +{
      +  "description": "With from_edit: the moments to make into short edits, each its own edit. postkey_guide topic render, Clips from a long video.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "description": "The first sentence id it plays.",
      +        "maxLength": 8,
      +        "type": "string"
      +      },
      +      "reason": {
      +        "description": "One sentence: why this one, for the person.",
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "score": {
      +        "description": "{ hook, flow, value, trend }, each 0 to 100.",
      +        "type": "object"
      +      },
      +      "title": {
      +        "description": "What the clip says, in a few words.",
      +        "maxLength": 100,
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "The last sentence id it plays: one that finishes the thought.",
      +        "maxLength": 8,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "from",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
    • addedInput schema / properties / from_edit
      Added value: +{
      +  "description": "A long video's edit (postkey_get_edit says long: true). Send with clips instead of library_item_ids.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
  10. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=false. The description adds substantial context beyond that: it returns a start link plus a command that must be run on Node 22+ with Google Chrome, that command prints the resulting edit id, and footage over 10 minutes becomes a 'long edit' while from_edit plus clips creates short edits immediately with nothing to run. What is not covered is failure behavior, e.g. what happens if the command is never run or the library item is invalid.

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?

It is front-loaded with purpose and the primary input choice, then workflow, then fallback, so scanning order is sensible. The telegraphic, run-on phrasing ('or give clips on this computer to the command') occasionally obscures the point, but nearly every sentence carries operational information.

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 18-parameter, zero-required creation tool with an output schema, the description supplies the decision structure an agent needs: which input mode, what it returns, what must run where, and which siblings continue the workflow. Remaining optional parameters (shape, words, tightness, voice_over_id, clone, roles) are left to the schema, which is fully documented, so the gap is minor.

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 schema already documents all 18 parameters and a 3 would be the baseline. The description goes further by explaining the mutually exclusive input modes (library_item_ids vs. clips vs. from_edit) and the long-edit threshold that governs the from_edit flow, which the schema alone does not make obvious.

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?

The description opens with a concrete verb and resource: 'Starts a new video edit from the person's footage.' It distinguishes the tool from adjacent siblings by naming what happens next (postkey_get_edit to read, postkey_edit_video to cut), so an agent can place it in the workflow without opening another 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?

It gives explicit input-path alternatives: library_item_ids sourced from postkey_list_library, postkey_begin_upload or postkey_request_file, versus local clips, versus from_edit plus clips for short edits. It also supplies a fallback for when no computer is available and points to postkey_guide topic render for step-by-step procedure.

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