Skip to main content
Glama

Export a sequence for one platform

export_for_platform

Exports a Premiere sequence to a platform-ready file by checking target specs, auto-reframing when aspect differs, encoding with the preset, and verifying the output.

Instructions

One-call platform export: checks the sequence against the target (aspect, resolution, duration, fps), auto-reframes a copy when the aspect differs (reframe="auto"), encodes inside Premiere with the target's preset (no Media Encoder), then verifies the file (exists, size, and with ffprobe its duration, frame size and aspect). Output: output_path, or output_folder/" - .". Returns output_path, size_bytes, duration, video/audio stream info, pre_checks, output_checks, passed, failed_checks, the preset used and the reframed sequence (if any). Use export_deliverables for several targets at once.

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": {
      "target": "<target>"
    },
    "name": "export_for_platform"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesTarget id from list_delivery_targets.
reframeNo"auto" (default): when the sequence aspect differs from the target (e.g. 16:9 for a 9:16 Reel), make an Auto Reframe copy of the sequence and export that; the source is not changed. "never": export as is.
overwriteNoReplace existing output files. Default false.
output_pathNoAbsolute output file path instead of output_folder; its extension is set to the preset's.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
output_folderNoAbsolute folder; the file is named "<sequence> - <target>.<ext>".
sequence_nameNoSequence name; used only when sequence_id is not given.
timeout_secondsNoHow long to wait for each encode. Default 600.
trim_to_max_durationNoWhen the sequence is longer than the platform allows, export only the first max_duration seconds. Default false (exported whole, with a note).
delete_reframed_sequenceNoDelete the auto-reframed copy after exporting. Default false (kept so it can be adjusted).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the side effects that matter: a reframed copy of the sequence is created and "the source is not changed", encoding happens inside Premiere without Media Encoder, the file is verified for existence, size, duration, frame size and aspect, and overwrite/delete_reframed_sequence default to non-destructive. These additions are consistent with destructiveHint=false and materially reduce the risk of an agent misjudging what the call will modify.

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?

The pipeline and the output contract are front-loaded in two dense sentences with no filler, and the sibling alternative is placed last where it is most useful. It is packed tight enough that some clauses (output path naming plus return field list) read as a run-on, costing a little scannability.

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

Completeness5/5

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

With ten parameters and no output schema, the description carries the return contract itself, listing output_path resolution, size_bytes, duration, stream info, pre_checks/output_checks, passed/failed_checks, the preset, and the reframed sequence. That is enough for an agent to call the tool and interpret the result without guessing.

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 every parameter already carries its own documentation, and the description largely restates it (reframe="auto", the "<sequence> - <target>.<ext>" naming rule, the default output_path extension). It adds no format, interaction, or precedence details beyond the schema, so the baseline 3 applies.

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 names a specific verb and resource ("One-call platform export") and then enumerates the exact pipeline stages: pre-check against the target, auto-reframe a copy, encode inside Premiere with the target preset, verify with ffprobe. It is clearly differentiated from export_deliverables by being single-target.

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?

It explicitly routes multi-target work elsewhere: "Use export_deliverables for several targets at once." It also explains the conditional behaviors (reframe="auto" vs "never", trim_to_max_duration defaulting to exporting whole with a note), but states no explicit exclusions or preconditions such as needing a target id from list_delivery_targets.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools