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. Uses PopNow credits (from 142 credits per second with the default model). Call it once for the price, then again with max_credits after the user agrees.

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.
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.
max_creditsNoOAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
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

A4.2/5.0
Behavior4/5

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

Annotations already flag openWorldHint=true, non-idempotent, non-read-only and non-destructive. The description adds value beyond that: the credit cost baseline (from 142 credits/second with the default model), the mandatory two-call pricing/confirmation workflow, and the practical 3–10 second clip limit. It does not say whether the result is synchronous or how long a run takes.

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 sentences, front-loaded with the core capability and then the cost/workflow constraint. The parenthetical credit figure is compact and load-bearing rather than filler. No redundant restatement of the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter generative tool with a fully documented schema and no output schema, the description covers the capability boundary, cost model, confirmation workflow and input constraints. The only minor omission is what the call returns, which is a small gap given the sibling set's conventions.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning: 'target' holds the thing to change (or the subject to keep for background), and max_credits is only valid after a quoted price is confirmed — a sequencing constraint the schema alone does not convey.

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?

Opens with a specific verb+resource+scope: 'Change one thing in an existing video and keep the rest as it was,' then enumerates the supported edit kinds (recolor, remove, replace, add, background, relight, weather, style). An agent can tell this is a surgical single-edit tool rather than a full regeneration. It does not name the nearest sibling (edit_video) to draw 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 concrete operating guidance: name the thing in 'target', and run a two-step flow — call once for a price quote, then call again with max_credits after the user agrees. That is a real usage protocol an agent would otherwise get wrong. It stops short of explicit when-not-to-use-this-instead-of-X guidance.

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.