Skip to main content
Glama

Encode a project item with Media Encoder

export_project_item

Encode a Project panel clip with an Adobe Media Encoder export preset, queue and start the job, and optionally wait for the output file with size and media details.

Instructions

Encode a source clip from the Project panel with an export preset through Adobe Media Encoder (queued and started at once). Returns job_id; with wait=true (default) waits for the file and returns its size and, with ffprobe, duration and streams. range "in_to_out" uses the clip's source In/Out marks.

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": "export_project_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoWait until Media Encoder has written the file. Default true.
rangeNo"entire" (default) or "in_to_out" (the clip's In/Out marks).
item_idNoStable project item id (from list_project_items). Preferred.
exporterNoNarrow preset_name to one exporter, by its exact name from list_exporters, e.g. "H.264", "QuickTime", "Waveform Audio", "MP3".
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".
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.
timeout_secondsNoWith wait: how long to wait for the file. Default 600.
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

A3.7/5.0
Behavior4/5

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

Beyond the annotations (non-read-only, non-destructive, non-idempotent, closed-world), the description discloses real behavior: the job is queued and started immediately, a job_id is returned, wait=true blocks until the file exists, and ffprobe is used to report duration and streams. It does not cover failure modes (e.g. what happens when the wait times out, or whether a failed encode leaves a partial file).

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?

Two compact sentences, front-loaded with the core action, followed by return-value and range semantics. No filler, though the ffprobe aside is slightly more implementation detail than an agent needs.

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?

With 12 parameters, no output schema, and only one required field, the description usefully explains the return contract (job_id, file size, duration, streams) and the blocking vs. queued modes. Missing are the async/polling story when wait=false and any note on preset-vs-exporter precedence or timeout failure behavior.

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 the baseline is 3. The description only adds restatement of two already-documented behaviors (wait default true, in_to_out using the clip's source marks); the 12 parameters, including preset lookup precedence and overwrite, are otherwise left entirely to the schema.

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

Purpose4/5

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

States a specific verb and resource: encode a source clip from the Project panel via Adobe Media Encoder using an export preset. This separates it in spirit from sequence-level exports, but it never names a sibling tool (e.g. queue_sequence_in_media_encoder), so the differentiation is inferred rather than stated.

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?

The description supplies implied usage context (clip must be a Project panel item, preset comes from find_export_presets/list_exporters, wait governs blocking) but gives no explicit when-to-use/when-not guidance or named alternatives. An agent can pick this tool for single-clip encoding but is left to guess between it and sequence/batch encoding siblings.

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