Skip to main content
Glama

Edit an existing video

flow_edit

Perform video-to-video edits on clips already in a Flow project by changing lighting, weather, background, or objects with prompts; queues the job and spends credits, so confirm cost before use.

Instructions

Video-to-video edit of a clip already in the Flow project (relight, change weather/background, remove or restyle objects) using Flow's edit view. Queued like a generation; use flow_wait for the file. Spends credits without a prior quote (about 20 for a 4 s clip), so ask the user before calling.

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": {
      "project": "<project>",
      "asset": "<asset>",
      "prompt": "<prompt>",
      "acknowledge_cost": "<acknowledge_cost>"
    },
    "name": "flow_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesTitle (or title prefix) of a video already in the Flow project; see flow_assets.
promptYesWhat to change, e.g. 'change the time of day to golden hour', 'remove the cup', 'make it snow'.
projectYesLocal folder for the edited clip.
acknowledge_costYesMust be true. Flow shows no quote for edits, so max_credits cannot protect you: a 4 s clip cost 20 credits when measured. The real cost is reported on the finished job.
download_qualityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, open-world, non-idempotent, non-destructive operation. The description adds the traits that actually matter: asynchronous queueing, a hard credit cost (~20 for a 4 s clip), no prior quote, and a required user confirmation — none of which the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with zero waste: the capability comes first, followed by the async handling and the cost warning. The most consequential constraint — asking the user — is placed last for emphasis rather than buried.

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 mutating, credit-spending tool with no output schema, the description covers the essential gaps: async completion via flow_wait, cost exposure, and the confirmation requirement. It stops short of describing failure/refund behavior or what the finished job returns, but the core decision inputs are present.

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 coverage is 80%, so most parameters are already documented in the schema, including the detailed acknowledge_cost rationale. The description reinforces the cost-acknowledgment and the 'clip already in the project' constraint on asset, but adds nothing about download_quality or project.

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 — 'video-to-video edit of a clip already in the Flow project' — and enumerates concrete edit types (relight, change weather/background, remove or restyle objects). This clearly separates it from generation and character-edit siblings.

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?

Gives explicit operational guidance: edits are queued like a generation, so use flow_wait for the file, and the user must be asked before calling because credits are spent without a quote. It doesn't contrast against flow_character_edit or flow_generate, but the when-to-use condition is clear.

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