Skip to main content
Glama

Queue a sequence in Media Encoder

queue_sequence_in_media_encoder

Queue a Premiere sequence in Adobe Media Encoder with an export preset, return a job ID at once, and keep Premiere free while encoding runs.

Instructions

Send a sequence to the Adobe Media Encoder queue with an export preset (Media Encoder is launched if needed) and return its job_id at once; Premiere stays free while Media Encoder encodes. start_immediately starts the queue; otherwise call start_media_encoder_batch. Pass wait=true to block until the file is written. Use export_sequence instead to encode inside Premiere and get the file directly.

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": {
      "output_path": "<output_path>"
    },
    "name": "queue_sequence_in_media_encoder"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoWait until Media Encoder has written the file (needs the queue to run). Default false: return the job id at once.
rangeNoPart of the sequence to encode: "entire" (default), "in_to_out" (sequence In to Out points) or "work_area".
exporterNoNarrow preset_name to one exporter, by its exact name from list_exporters, e.g. "H.264", "QuickTime", "Waveform Audio", "MP3".
overwriteNoReplace an existing output file. Default false.
output_pathYesAbsolute output file path. Its extension is set to the one the preset produces.
preset_nameNoPreset name to look up when preset_path is not given, e.g. "Match Source - High bitrate". Words must all match; an exact name wins.
preset_pathNoAbsolute path of an .epr export preset (from find_export_presets). Preferred.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
timeout_secondsNoWith wait: how long to wait for the file. Default 600.
start_immediatelyNoStart the Media Encoder queue right away. Default false.
remove_on_completionNoRemove the job from the Media Encoder queue when it finishes. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic safety profile (readOnly=false, destructive=false, idempotent=false), so the description carries real weight and delivers it: Media Encoder is launched if needed, the call returns immediately while Premiere stays free, and work continues asynchronously in the queue. It also clarifies that blocking behavior is opt-in via wait, which an agent needs in order to reason about timeouts.

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?

Purpose and return behavior are front-loaded in the first clause, and the remaining sentences are dedicated to branching guidance with no filler. The semicolon-chained clauses make it dense on first read, but nothing is redundant.

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?

For a 12-parameter asynchronous job tool with no output schema, the description supplies the critical missing pieces: the immediate job_id return, the launch-if-needed side effect, and the full start/wait decision tree. Remaining parameter detail is fully covered by the schema, leaving no material gap for correct invocation.

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; the description adds workflow-level meaning for the two parameters agents most often get wrong — start_immediately (what runs the queue and what to call instead) and wait (blocking until the file is written). It does not elaborate on range, overwrite, timeout_seconds or remove_on_completion, but those are well documented in the schema.

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 ("send a sequence to the Adobe Media Encoder queue with an export preset") plus the immediate return value (job_id). It also explicitly contrasts itself with export_sequence, so an agent can distinguish the two encoding paths without opening either 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 explicit routing rules: use export_sequence to encode inside Premiere and get a file directly; use start_immediately for immediate queuing, otherwise call start_media_encoder_batch; pass wait=true to block. Both the alternative tool and the alternative sibling tool are named with the condition that selects them.

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