Skip to main content
Glama

Make a character copy a video's motion

motion_control
Destructive

Takes a picture of a character and a reference video and generates a video of THAT character performing the reference's motion (a dance, a walk, a gesture). Returns the new job's id immediately. WHEN: the user wants their character to dance, copy a move or perform a clip's motion. The clip supplies the MOVEMENT only; the character comes entirely from the picture. The whole flow: get_recipe motion-control. CONSENT: a real person's picture only with their permission, never a public figure or celebrity. THE CARD: this call already opened the aicut card: do not call show_generation for this job. WAIT: wait_for_generation (this id, media), never timers or background shells. No card? Give the user the url. COST: this spends the user's tokens: the reference clip's LENGTH times a per-second rate that depends on model and resolution. The clip's length is MEASURED BY THE SERVER: that measurement is the price. An external url costs one media-ingest slot: quote and create from the SAME url to pay it once. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules). idempotency_key: IDEMPOTENCY (this server's instructions).

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": {
      "model": "<model>",
      "character_image": "<character_image>",
      "reference_video": "<reference_video>",
      "resolution": "<resolution>"
    },
    "name": "motion_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes`kling-3.0-motion-control` is the better and about 4x dearer one; `kling-2.6-motion-control` is the everyday choice. Ask the user rather than picking the expensive one for them.
resolutionYesOutput resolution; 1080p costs more per second. REQUIRED: use `720p` unless the user asked for `1080p`, and name the choice in the priced ask; never carried over from an earlier request.
estimate_onlyNoPrice only; creates nothing.
character_imageYesURL of the picture of the character to animate. A URL from this account's generations or uploads, or a public https URL (imported first); another account's is refused.
idempotency_keyNoRetry key (IDEMPOTENCY).
reference_videoYesURL of the video whose motion to copy. A URL from this account's generations or uploads, or a public https URL (imported first); another account's is refused.
character_orientationNoWhat the character picture is: `video` (default) for a full-body or moving subject, `image` for a still portrait (which lowers the reference clip's maximum to 10 seconds).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Retry-safety key (IDEMPOTENCY)."New value: +"Retry key (IDEMPOTENCY)."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructive/openWorld, but the description adds substantially more: the call is asynchronous and returns a job id immediately, it spends tokens priced by the server-measured clip length, price must be quoted with `estimate_only: true` and confirmed in the same message, an external URL consumes one media-ingest slot, and consent rules forbid public figures. Minor gap: the idempotency hint mismatch is left implicit, since `idempotentHint` is false yet an `idempotency_key` is offered with no explanation of when the key is honored.

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-loads the core action and result before the WHEN/CONSENT/CARD/WAIT/COST sections, so an agent can stop reading early. Dense label-caps structure aids scanning, though the terse shorthand ('THE CARD', 'a go naming THIS purchase') assumes familiarity with server conventions and costs a little 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?

A complex, costly, asynchronous mutation with seven parameters and no output schema is covered thoroughly: return value (job id), the waiting mechanism, the pricing mechanics and confirmation protocol, the consent constraint, and idempotency handling are all present. Nothing an agent needs to invoke it safely appears to be missing.

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, and the description does add meaning beyond it: it explains that clip length is measured server-side to set the price, and that quoting and creating from the same external URL pays the ingest slot only once. It does not add much on `character_orientation` or the model enum beyond what the schema already says.

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 (takes a picture of a character plus a reference video, generates a video of that character performing the motion) and draws the exact division of labor: the clip supplies movement, the picture supplies identity. That distinction separates it cleanly from siblings like generate_video, edit_video, and generate_lipsync.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The WHEN section names the triggering intent (dance, copy a move, perform a clip's motion) and routes the agent to `get_recipe` `motion-control` for the full flow. It also gives explicit alternatives and exclusions: use `wait_for_generation` rather than timers, do not call `show_generation` because the card is already open, and fall back to handing over the `url` when no card exists.

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.