Skip to main content
Glama

Postkey: Instagram DM Automation and Comment-to-DM

List video edit templates

postkey_list_edit_templates
Read-onlyIdempotent

Postkey: The formats a video edit can start from or switch to, each a reel structure that wins on Instagram, with what to film and the parts its clips are; the account's own saved templates; every caption style, hook style and font by id; the sound library (sounds, music); and logos. Pass find_pictures to search open libraries for real photos a person may publish instead: nouns a camera could photograph, each result with its license and credit, for op add_broll (guide topic broll). Apply a format with postkey_edit_video, op apply_template, or a single style with set_captions or set_hook. A saved template with cloned_style was cloned from a video the person likes: template (its id) reads it whole, with that video's frames as a picture.

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_list_edit_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateNoA saved template's id: answers that one alone.
find_picturesNoWhat a real photo should show, in a few plain words. Answers pictures only.

Output Schema

NameRequiredDescriptionDefault
okYesfalse: refused (isError; code, message, guide_topic, url); no change.
noteNoHow to apply them.
fontsNoFonts by id: name, feel.
logosNoLogos a moment can show as src="logo:<id>".
musicNoMusic beds by id: label, mood, energy, bpm, seconds, use, credit.
savedNoThe profile's own saved formats: id, name, values; cloned_style (from, measured, facts, how_to_match, notes, frames) on one cloned from a video.
soundsNoSound effects by id: role, label, seconds, tone, use.
stylesNoFinished looks by id: name, blurb, palette, fonts, sounds, music, brief. Apply with op use_style.
formatsNoPopular reel formats: id, name, about, values, film (what to shoot), seen_on, parts (role, is).
picturesNoWith find_pictures, and nothing else: url, thumb, title, width, height, license, credit, page, source.
templateNoWith template, and nothing else: that saved format.
hook_stylesNoHook (title) styles by id with their look fields.
caption_stylesNoCaption styles by id with their look fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / template
      Added value: +{
      +  "description": "A saved template's id: answers that one alone.",
      +  "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"
      +}
    • changedOutput schema / properties / saved / description
      Previous value: -"The profile's own saved formats: id, name, values."New value: +"The profile's own saved formats: id, name, values; cloned_style (from, measured, facts, how_to_match, notes, frames) on one cloned from a video."
    • addedOutput schema / properties / template
      Added value: +{
      +  "description": "With template, and nothing else: that saved format.",
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / properties / music / description
      Previous value: -"Music beds by id: label, mood, energy, bpm, seconds, use."New value: +"Music beds by id: label, mood, energy, bpm, seconds, use, credit."
    • 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."
  3. Changed6 schema fields changed
    • addedInput schema / properties / find_pictures
      Added value: +{
      +  "description": "What a real photo should show, in a few plain words. Answers pictures only.",
      +  "maxLength": 100,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • addedOutput schema / properties / logos
      Added value: +{
      +  "description": "Logos a moment can show as src=\"logo:<id>\".",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / music
      Added value: +{
      +  "description": "Music beds by id: label, mood, energy, bpm, seconds, use.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / pictures
      Added value: +{
      +  "description": "With find_pictures, and nothing else: url, thumb, title, width, height, license, credit, page, source.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sounds
      Added value: +{
      +  "description": "Sound effects by id: role, label, seconds, tone, use.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / styles
      Added value: +{
      +  "description": "Finished looks by id: name, blurb, palette, fonts, sounds, music, brief. Apply with op use_style.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real substance beyond that: it says templates include reel structure, what to film and clip parts, that results include the account's saved templates, that styles/fonts are keyed by id, and that pictures carry license and credit. That content is valuable, but the delivery is tangled enough that an agent may miss it.

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

Conciseness2/5

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

It is a single sprawling, semicolon-chained sentence with no front-loaded action verb, interleaving the main listing behavior, a secondary picture search, unrelated next-step tools, and the cloned_style note. Length is substantial yet the key point (what is returned) is buried in the middle; restructuring would materially improve it.

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

Completeness3/5

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

An output schema exists, so the return values did not need explaining, yet the description spends most of its words enumerating return contents; meanwhile the basic identity of the tool and its relationship to sibling listing tools stay unclear. Complexity is modest (2 optional params, no nested objects), so a shorter, clearer definition would have been fully sufficient.

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 baseline is 3, but the description earns extra credit by adding meaning: find_pictures is framed as "nouns a camera could photograph" returning license and credit, and template is tied to the cloned_style concept, noting a saved template reads the source video whole with its frames as a picture. These clarify what each parameter selects rather than restating the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states a verb like "list" or "retrieve"; it opens with a noun phrase ("The formats a video edit can start from...") and crams several distinct catalogues (templates, caption/hook styles, fonts, sounds, logos, and a picture search) into one blob. The picture-search branch in particular does not match the name, and the close sibling postkey_list_video_templates is never mentioned for differentiation. An agent can infer the general domain but must read the whole paragraph to guess what the tool actually returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It does route the agent forward ("Apply a format with postkey_edit_video, op apply_template, or a single style with set_captions or set_hook"), which is useful next-step context. It also explains the two modes via the template vs find_pictures parameters. But there is no explicit when-to-use/when-not guidance, and no comparison to sibling listing tools such as postkey_list_video_templates.

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