Skip to main content
Glama

Put the influencer in a video

motion_control
Destructive

Use this when the user wants a video recreated with their influencer: a dance, a trend, a talking clip, a walk. The influencer from one of their photos takes the place of the person in the reference video, with the same moves, scene, camera and sound. The reference video is 5 to 30 seconds long. Costs 2 credits per second of the reference video, or 3 per second with a new voice (voice_id from list_voices), which says the video's words in that voice instead of its own sound. Call it with check_only: true first: it reads the video's length and says the cost without charging; tell the user, and once they agree call it again without check_only. Returns at once with a generation_id; then call get_generation (usually 2 to 5 minutes). Calling it again starts and charges a new video.

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": {
      "photo_id": "<photo_id>",
      "video": "<video>"
    },
    "name": "motion_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesThe video whose moves to copy: an Instagram reel link or its reel_id (after read_reel has read it), a video_id of one of the user's videos, an upload_id from upload_video, or an https:// link to a video file.
promptNoNot used: the reference video sets the moves, scene and camera.
photo_idYesThe photo of the influencer to put in the video: a photo_id from get_generation or list_media. A clear photo of her face works best; her pose and setting don't matter.
voice_idNoOptional: a voice from list_voices that says the reference video's words.
check_onlyNoOnly read the video's length and say the cost; nothing is charged.
keep_soundNoKeep the reference video's own sound. Ignored with voice_id.

Output Schema

NameRequiredDescriptionDefault
okNoPresent only on a refusal: the summary says why, and what the user can do.
videoNoWith check_only: the video to pass next time.
checkedNo
summaryYes
photo_idNo
video_idNo
view_urlNo
error_codeNoPresent only on a refusal.
credits_leftNo
generation_idNo
credits_neededNo
credits_chargedNo
duration_secondsNo
expected_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / photo_id / description
      Previous value: -"The photo of the influencer to animate: a photo_id from get_generation or list_media. A full-body photo in a pose like the video's start works best."New value: +"The photo of the influencer to put in the video: a photo_id from get_generation or list_media. A clear photo of her face works best; her pose and setting don't matter."
    • changedInput schema / properties / prompt / description
      Previous value: -"Optional: details the video doesn't show, like the background or the mood."New value: +"Not used: the reference video sets the moves, scene and camera."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses the credit price (2/sec, 3/sec with a voice), the 5–30 second reference constraint, that the call returns immediately with a generation_id, and the expected 2–5 minute follow-up via get_generation. It also confirms non-idempotency in plain language ('calling it again starts and charges a new video'), matching idempotentHint=false and destructiveHint=true. Only the exact failure modes (e.g., photo/video validation errors) are unstated.

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?

It is front-loaded with the use case, then pricing, then the check_only protocol, then the async follow-up — a logical order with almost no filler. The middle sentence that bundles cost, voice, and check_only is dense and could have been split, which slightly hurts scannability.

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 paid, asynchronous, multi-step generation tool the description covers the trigger, the confirmation loop, the price model, the return value, and the polling step. With an output schema present and 100% schema coverage, nothing an agent needs in order to call it correctly is 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, but the description genuinely adds meaning: voice_id comes from list_voices and overrides the video's own audio at a higher price, and check_only is framed as a free length/cost probe. The prompt-not-used and keep_sound-ignored-with-voice interactions are reinforced rather than merely repeated.

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?

The description names a specific verb and resource: swap the influencer from a photo into a reference video, inheriting its moves, scene, camera and sound, with concrete examples (dance, trend, talking clip, walk). That is materially more precise than the title 'Put the influencer in a video' and lets an agent tell this apart from a plain text-to-video generation.

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?

Opening clause 'Use this when the user wants a video recreated with their influencer' plus the four example modes gives an explicit trigger condition. It also prescribes the operating sequence — check_only first, quote the cost, then re-call without check_only — and warns that a repeat call starts and charges a new video, which is exactly the guardrail an agent needs.

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.

Resources