Skip to main content
Glama

Edit job

edit_job

Edits a full video through approved, checked stages: analyze, plan, apply a new timeline, QA, revise, and render, with status tracking the next step.

Instructions

Edit a whole video in steps, with checks, after brief: analyze, plan, apply (always a NEW timeline), qa (test render and measured checks), look, findings, revise (at most three times), render. status tells the next step. The user approves the strategy and the final render. Never edit the timeline by hand in between: change the plan.

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>",
      "job": "<job>"
    },
    "name": "edit_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesId from brief action=create
planNoplan, revise: a whole edit plan (see guide topic=edit-plan)
snapNoplan, revise: move cuts out of words
modelNospeech recognitionsmall
actionYes
cursorNo
changesNorevise: [{op: set|remove|add, path: 'clips/#intro/src_out', value}] on the last plan
dry_runNotrue: only show the plan and get a confirm_token. false: do it, together with that token.
versionNorollback: plan version to go to; 0 = the one before
findingsNofindings: [{problem, severity: high|medium|low, timecode, fix, check: the point of the checklist it belongs to}] from looking; empty list = you looked and found nothing
languageNo
strategyNoplan: the idea of the edit in 4 to 8 plain sentences
timelineNoHandle (tl:...) of the timeline to change, from list_timelines or state_snapshot.
checklistNofindings: the checklist from action=look, each with ok true, false, or null for not checked
user_saidNoapprove, only if the app cannot ask the user itself: the user's own words about THIS brief, strategy or render. Never write them yourself, and never use words said about something else
shot_notesNoshots: [{source, second, what}]
deliverableNorender: name from the brief
max_picturesNo
wait_secondsNoSeconds to wait for it to finish. Many AI apps stop a tool after 60 s, so keep 45 or less and ask for the status again.
confirm_tokenNoFrom the dry run of exactly this call. Works once, for five minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructive=false, idempotent=false; the description adds the real behavioral contract: apply always produces a NEW timeline, qa is a test render with measured checks, revision is bounded to three rounds, and approval gates exist. This tells the agent what is protected and what the failure/iteration loops look like, well beyond the annotation set.

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?

Four dense sentences, front-loaded with the workflow before the constraints, with no filler. The telegraphic style ('qa (test render and measured checks)', 'findings' interleaved with action names) makes the step list slightly harder to parse than it needs to be, but nothing is wasted.

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?

For a 20-parameter, 15-action stateful tool with no output schema, the description covers the primary path, approval points, and iteration limits well. It is thin on secondary actions (shots, critique, rollback, report) and says nothing about the shape of what status returns, which an agent needs to advance the loop.

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?

With 80% schema coverage the baseline is 3, and the description earns more by mapping several action values into an ordered workflow and clarifying that apply yields a new timeline and revise is bounded. It does not explain several enum values (shots, critique, rollback, report) or how they fit the sequence, leaving real gaps.

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 ('Edit a whole video in steps, with checks, after brief') and immediately enumerates the step sequence, so an agent knows this is a stateful workflow orchestrator rather than a single-shot editor. The closing prohibition ('never edit the timeline by hand in between: change the plan') draws a clean line between this tool and direct timeline mutation siblings.

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?

Explicitly tells the agent to start from brief, to consult status for the next step, and that the user must approve the strategy and the final render. It also gives a hard usage rule for the in-between phase ('change the plan', not the timeline) and a cap ('revise at most three times'), which is exactly the when/when-not guidance an agent needs.

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