Skip to main content
Glama

Change one thing in a video

edit_video_region

Change one thing in an existing video and keep the rest as it was: recolor something to an exact color, remove, replace or add an object, swap the background, or change the lighting, weather or style. Name the thing in target. Charged in USD to your PopNow balance. Call it without max_usd for a quote, then again with max_usd after the user approves.

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": {
      "video_url": "<video_url>",
      "instruction": "<instruction>"
    },
    "name": "edit_video_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoWhat kind of change: auto (default, decide from the instruction), recolor, remove, replace, add, background (keep the subject, change everything around it), relight, weather or style.
modelNoOptional model that can edit videos or swap objects in them (list_models with category video shows them). Leave empty to let PopNow pick one for the kind of change.
targetNoOptional: the thing to change, in a few words as it looks in the clip, for example: the coat, the car on the left. For background, the subject to keep.
max_usdNoApproved maximum in USD as a decimal string with up to 9 fractional digits, copied from the quoted cost_usd. Set it only after the user approves; leave it out to get a quote. Nothing is charged without it.
currencyNoOptional. Always USD for this endpoint.
color_hexNoOptional exact color as #RRGGBB, for example #C8553D. Used with recolor.
video_urlYesThe clip to change (3 to 10 seconds works best): a popnow:// link from an earlier result, or a public https link.
resolutionNoOptional output resolution the model offers, for example 480p, 720p or 768p (list_models with the model shows them). Leave empty for the default. Higher costs more.
instructionYesThe one change to make, in plain words, for example: make the coat burnt orange, remove the cyclist, put a red umbrella in her hand, turn it into a snowy evening.
reference_image_urlsNoOptional pictures (https or popnow:// links) of the new look, object or place, up to 4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say it is a non-read-only, non-idempotent, open-world write; the description adds meaningful billing behavior the annotations do not cover — charged in USD to a PopNow balance and 'Nothing is charged without it' without max_usd. It omits latency/async behavior and whether a task must be polled or whether the result comes back directly, which matters for a paid video render.

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?

Front-loaded with the core promise, then the capability list, then the parameter hint and billing flow — each sentence carries content. The mode enumeration is long but functional; no filler or restated title.

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?

With 10 parameters, no output schema and only coarse annotations, the definition covers scope and billing well but says nothing about what comes back (a video link? a task to poll with get_task?) or about duration/failure handling beyond a brief schema note. An agent knows how to call it but not what to expect afterward.

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 every parameter including target, mode, color_hex and max_usd is already documented in structured fields. The description reinforces the quote-then-approve use of max_usd and the 'one change' constraint on instruction, but adds little that the schema does not already state.

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 ('Change one thing in an existing video and keep the rest as it was') and enumerates the supported edit types (recolor, remove, replace, add, background, relight, weather, style), which maps directly to the mode enum. It stops short of naming the closest sibling (edit_video) or explaining how this differs from change_camera_angle/change_pose, so the agent must infer the boundary.

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 a clear operational flow: call without max_usd for a quote, then call again with max_usd after the user approves, plus the instruction to name the thing in target. It does not say when to choose this over edit_video or the pose/camera siblings, and does not state prerequisites such as a valid balance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.