Skip to main content
Glama

Edit a video

edit_video

Change a short video with words: swap the subject, outfit, setting, style or weather while keeping the motion. 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>",
      "prompt": "<prompt>"
    },
    "name": "edit_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional model that can edit videos (list_models with category video shows them). Leave empty for the default, Kling O3.
promptYesWhat to change, in plain words: the subject, outfit, setting, style or weather. What you don't mention stays the same.
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.
video_urlYesThe clip to change (3 to 10 seconds works best): a popnow:// link from an earlier result, or a public https link.
reference_image_urlsNoOptional reference pictures (https or popnow:// links) for a new character, outfit, object or place.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, open-world, non-idempotent, non-destructive call; the description adds genuinely new behavior: it is metered in USD against a balance and nothing is charged unless max_usd is supplied. That cost/authorization semantics is exactly the kind of context annotations cannot convey. It does not cover failure/refund behavior, processing latency, or whether the source clip is preserved, so a 4 rather than a 5.

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?

Three short sentences, front-loaded with what changes and what stays the same, then the cost consequence, then the exact two-call sequence. Nothing is redundant and the operational instruction lands last where it is most actionable.

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?

With six parameters, no output schema, and a real billing side effect, the description covers the essentials an agent needs (editable scope, cost model, approval protocol). The remaining gap is that it never says what a successful call returns or how the result is retrieved, which matters more here precisely because there is no output schema to fall back on.

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 is already documented, including the quote/approve contract for max_usd and the 3–10 second guidance for video_url. The description largely restates the prompt's editable dimensions rather than adding syntax or edge-case meaning, so the baseline 3 applies even though the two-step protocol is repeated helpfully.

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?

"Change a short video with words: swap the subject, outfit, setting, style or weather while keeping the motion" gives a concrete verb, resource, editable dimensions, and the key invariant (motion preserved). That invariant is what separates it from sibling generation tools like create_video, create_video_from_references, or extend_video without needing to name them.

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?

The description gives an explicit, non-obvious call protocol: invoke without max_usd for a quote, then re-invoke with max_usd after user approval. That is strong when-to-use guidance for the billing flow. It stops short of full 5 because it does not say when to prefer this over adjacent edit tools (edit_image, change_pose, change_camera_angle, apply_effect) or what constraints make a clip unsuitable for editing.

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.