Skip to main content
Glama

Copy a video's moves onto a person

copy_motion

Make the person in a picture do what the person in a video does: a dance trend, a gesture, a walk. The new video shows the person and the setting of the picture, moving like the person in the video, for the video's whole length, or for startSeconds to endSeconds of it: pass the part a clip plays, and only that part is charged. It works best when both show one person whose whole body, or upper body and head, stays in view. It answers at once with a Job ID and the media is made in the background: start every generation you need, keep working, then call wait_for_jobs with all their Job IDs to get each Asset ID for patch_film. Uses credits for each second of the video: about 0.064 credits a second at standard and about 0.1 credits a second at pro, so a 15-second trend uses 1 credits at standard.

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": {
      "person": "<person>",
      "videoAssetId": "<videoAssetId>",
      "startSeconds": "<startSeconds>",
      "endSeconds": "<endSeconds>",
      "prompt": "<prompt>",
      "quality": "<quality>",
      "keepSound": "<keepSound>",
      "projectId": "<projectId>"
    },
    "name": "copy_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
personYesThe picture of the person to animate, in one of these forms: asset:ID, an image asset as it is; asset:ID#t=14.6, the frame of a video asset at 14.6 seconds; film:#t=3.2, the frame of the edit at 3.2 seconds. Use the IDs search_assets gives. One person, with the whole body or the upper body and head in view and not covered.
promptYesWhat to add, in plain words: the setting, the light, the clothes. null keeps what the picture shows. Up to 2000 characters.
qualityYesstandard for most videos. pro keeps faces, hands and fine detail sharper, and uses more credits.
keepSoundYesnull or true (the default) keeps the video's sound, such as the song of a dance trend. false makes the new video silent.
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.
endSecondsYesSource second of videoAssetId where the part copy_motion uses ends. null for both uses the whole video.
startSecondsYesSource second of videoAssetId where the part to use starts, with endSeconds: the part a clip plays (its offset to offset + duration). Only that part is sent and charged. null for both uses the whole video.
videoAssetIdYesThe video whose moves to copy: a ready video asset with one person whose body stays in view. What is copied (the whole video, or startSeconds to endSeconds of it) is 3 to 30 seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / endSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Source second of videoAssetId where the part copy_motion uses ends. null for both uses the whole video."
      +}
    • addedInput schema / properties / startSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Source second of videoAssetId where the part to use starts, with endSeconds: the part a clip plays (its offset to offset + duration). Only that part is sent and charged. null for both uses the whole video."
      +}
    • changedInput schema / properties / videoAssetId / description
      Previous value: -"The video whose moves to copy: a ready video asset of 3 to 30 seconds, with one person whose body stays in view."New value: +"The video whose moves to copy: a ready video asset with one person whose body stays in view. What is copied (the whole video, or startSeconds to endSeconds of it) is 3 to 30 seconds."
    • changedInput schema / required
      Previous value: -[
      -  "person",
      -  "videoAssetId",
      -  "prompt",
      -  "quality",
      -  "keepSound",
      -  "projectId"
      -]New value: +[
      +  "person",
      +  "videoAssetId",
      +  "startSeconds",
      +  "endSeconds",
      +  "prompt",
      +  "quality",
      +  "keepSound",
      +  "projectId"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only mark this as a non-read-only, open-world, non-idempotent write; the description goes well beyond that by disclosing the credit model (~0.064/sec standard, ~0.1/sec pro), that only the selected seconds are charged, that output arrives asynchronously via a Job ID, and the keepSound default. These are exactly the cost and lifecycle facts an agent needs before spending credits.

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 action, then workflow, then cost — a sensible order for a single-paragraph description. It is dense and the closing cost sentence is slightly garbled ('a 15-second trend uses 1 credits at standard'), costing a little polish but not clarity.

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 an 8-required-parameter async generation tool with no output schema, the description covers the full arc: inputs, constraints on source material, the Job ID → wait_for_jobs → Asset ID → patch_film handoff, and per-second pricing. An agent could invoke and chain this correctly without reading anything else.

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; the description nonetheless adds economics that the schema lacks — that startSeconds/endSeconds bound what is sent and charged, so trimming the clip lowers cost. It also ties quality selection to a concrete price difference rather than just 'sharper faces'.

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 concrete verb and resource in plain language — 'Make the person in a picture do what the person in a video does' — with examples (dance trend, gesture, walk) that pin down the output. It is clearly distinguishable from siblings like replace_person or generate_video because the transfer-of-motion framing is explicit.

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 real context for when it works ('best when both show one person whose whole body, or upper body and head, stays in view') and spells out the async workflow: start generations, keep working, then call wait_for_jobs and feed Asset IDs to patch_film. It does not say when to prefer replace_person or generate_video instead, so the alternative-routing piece is absent.

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.