Skip to main content
Glama

Put an AI influencer into the user's own video

create_scene_replace_clip

Put an AI influencer into a video the user filmed or holds the rights to: the AI influencer takes the place of the person in that video, in its own room, light and camera, and the clip carries a visible "AI generated" label. Needs a look id and the video as an upload id (driver_upload): send the user to request_upload, then list_uploads. Up to 30 seconds. Costs 3 credits per second of the video, so 10 seconds is 30 credits. Only AI influencers designed in ClipUGC work, not ones made from an uploaded photo. Without confirm true it only quotes the price; with confirm true it spends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYesA completed look id from list_images.
confirmNoTrue to spend the quoted credits.
resolutionNoDefault 720p, same price at each.
driver_uploadYesAn upload id from list_uploads: the user's own video (mp4 or mov, up to 30 seconds and 50 MB).
keep_original_soundNoKeep the video's sound. Default false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSet once the clip is queued (confirm true).
kindYes
nextYes
statusYesquoted until confirmed, then pending.
balanceYes
secondsYesLength of the user's video the price is based on.
cost_creditsYes
credits_chargedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the mutation safety profile; the description adds the real behavioral payload: 3 credits per second with a worked example, a 30-second cap, the confirm-gated quote-then-spend flow, the added 'AI generated' label, and a defaulted resolution at flat price. These are exactly the traits an agent needs and none are in the annotations.

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 prerequisites, cost, and restrictions in a logical order; each sentence carries information. It is slightly dense and could compress the credit arithmetic, but there is little true filler.

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 costed, confirm-gated mutation tool that depends on two other tools, the description covers the dependency chain, the spend gate, the cost model, and the eligibility restriction. An output schema exists, so return values need no explanation, leaving nothing material 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 adds genuine meaning: it clarifies confirm's quote-vs-spend semantics, ties image to a 'look id' sourced from list_images and driver_upload to list_uploads, and states the 30s/50MB constraint. This goes beyond the schema without fully documenting every field's edge cases.

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+resource: it replaces the person in the user's own video with an AI influencer, rendered in its own room/light/camera with an 'AI generated' label. This is clearly distinct from siblings like create_clip or create_motion_clip, so an agent can route correctly without opening a schema.

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 explicit prerequisites and the workflow (request_upload, then list_uploads to get driver_upload) and a when-not condition ('Only AI influencers designed in ClipUGC work, not ones made from an uploaded photo'). It does not explicitly compare against sibling clip-creation tools, so it stops just short of a full when/when-not/alternatives map.

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.