Skip to main content
Glama

replicate

Generate or modify videos from prompts, images, or source clips using AI models; background jobs save output to the session's generated folder.

Instructions

Make or change a video on Replicate: the same models as Higgsfield (Seedance 2.5, Kling, Veo, ...) at a price per second of video, no plan. Returns at once; the job runs in the background and the file lands in /generated/-vN.mp4, where the Assets tab shows it. model: owner/name; leave it out for the user's default (replicate_status lists the default models, the first is the default; pick another of them when it fits better). Takes maps prompt, image (the FIRST FRAME), end_image, video, duration, aspect_ratio, resolution and audio to the model's own input names; anything else goes in params by the model's names (call replicate_model first to see its inputs, defaults and allowed values). File inputs, in those fields or params, take a session file, a take number or 'sketch' (the shot's sketch); Takes uploads them. With shot= the storyboard shot shows 'Generating' and then plays the clip (aspect ratio = the storyboard format, length = the shot's length, 4-15 s). For a shot, write a real-footage prompt from the shot's do and say; never use the sketch as the first frame (the video would look drawn): pass it only to a reference-image input if the model has one. Each job costs the user money: one job per ask, never a batch nobody asked for. No token: tell the user to open Plugins › Replicate.

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": {
      "session": "<session>"
    },
    "name": "replicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoShort file name. Default: shot-<id> or the prompt's first words.
shotNoA storyboard shot id: the clip becomes that shot's video.
audioNoMake sound with the video, when the model can.
imageNoFirst frame: a session file or take still. Not a sketch.
modelNoowner/name (or owner/name:version). Leave out for the default.
videoNoA session video to change (take number or path), for models that take one.
paramsNoMore inputs by the model's own names (replicate_model lists them).
promptNoWhat the clip shows and how the camera moves.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
durationNoSeconds.
end_imageNoLast frame (session file).
resolutionNoe.g. 480p (cheap drafts), 720p, 1080p.
aspect_ratioNoe.g. 16:9, 9:16, 1:1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false) already establish that this is a non-destructive external write, and the description adds the details that matter: it returns immediately while the job runs in the background, the output lands at <session>/generated/<name>-vN.mp4 and appears in the Assets tab, and each job costs the user money. It also states the auth prerequisite ('No token: tell the user to open Plugins › Replicate'). Minor gap: no mention of what happens on model-side failure or how to poll progress beyond the vague 'runs in the background'.

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?

Purpose and cost/auth caveats are front-loaded, and nearly every sentence carries operational information. It is dense with nested parentheticals and long run-on clauses, so a reader has to parse carefully, but there is little outright 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 13-parameter, nested-object, no-output-schema mutation tool, the description covers everything an agent needs: background execution and return semantics, output file location and naming, cost policy, auth setup, model selection, file-input forms, and storyboard-shot integration. No output schema is needed because the return behavior and artifact location are described.

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 already 100%, so a 3 would be the floor, but the description genuinely extends it: image is pinned as the FIRST FRAME and end_image as the last, file-valued fields accept a session file, a take number or 'sketch', and arbitrary extra inputs must be passed through params under the model's own input names. It also explains that shot=<id> overrides aspect ratio and duration (4-15 s), which the schema does not say.

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?

Opens with a specific verb+resource ('Make or change a video on Replicate'), names the concrete model families (Seedance 2.5, Kling, Veo), and contrasts the offer against the sibling higgsfield ('same models ... at a price per second of video, no plan'). An agent can distinguish this from higgsfield and replicate_status without opening any schema.

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?

Explicit routing rules throughout: leave model out for the user's default and consult replicate_status for the default list, call replicate_model first to see a model's inputs and allowed values, and use shot=<id> when the clip belongs to a storyboard shot. It also states a hard usage constraint ('one job per ask, never a batch nobody asked for') and a negative rule ('never use the sketch as the first frame').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.