Skip to main content
Glama

Media Encoder

encode

Queues a Premiere Pro item, sequence, or loose file with an .epr preset in Adobe Media Encoder, then launches AME and starts the queue; optionally wait for output or run async.

Instructions

Queue work in Adobe Media Encoder: a project item (item), a sequence, or a loose file (file) with an .epr preset; launch AME; start the queue. wait: true blocks until the output exists and is a valid media file. AME's own queue cannot be read by script: queue status covers the jobs started here (see jobs with async: true).

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": {
      "action": "<action>"
    },
    "name": "encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
itemNo
waitNo
asyncNoRun as a background job: returns job_id at once (see jobs)
rangeNo
actionYes
outputNo
projectNo
sequenceNoSequence id/name (default: active)
timeout_sNo
preset_pathNo
expected_project_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.3

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, and the description adds substantive context beyond them: what wait:true guarantees (output exists and is a valid media file), the fact that AME's own queue is not script-readable, and that queue status only covers jobs started here with async:true. It stops short of stating permissions, preset requirements, or what happens on a failed/blocked queue.

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?

Three front-loaded sentences with no filler; the source modes precede the wait semantics and the queue caveat. The phrasing is dense and abbreviations (item, file, wait, async) are used as parameter names in prose, which is efficient if slightly terse.

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?

For a 12-parameter, no-output-schema encoding tool with low schema coverage, the description covers the happy path and the async/job relationship but leaves output paths, project/expected_project_path validation, timeouts, and range behavior undocumented. Adequate to start a job, insufficient to call all parameters confidently.

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?

With 12 parameters and only 17% schema description coverage, the description carries a large burden and partially meets it, explaining item, file, preset_path (.epr), wait, async, and sequence defaults. However range, output, project, timeout_s, expected_project_path, and the launch/start action values receive no semantic treatment anywhere, so meaningful gaps remain.

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 ('Queue work in Adobe Media Encoder') and enumerates the three source modes (item, sequence, file with .epr preset) plus the launch/start actions, so the agent can map each action enum value to an intent. It does not distinguish this from plausible siblings like deliver or export_sequence, which keeps it from a 5.

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 implies mode selection (use item for a project item, sequence for a sequence, file for a loose file) and explains the wait vs async trade-off, which is genuine when-to-use guidance. But there is no explicit exclusion or routing against sibling export/deliver tools, so the agent must infer which tool to pick for export tasks.

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