Skip to main content
Glama

Create an ad video

create_ad_video
Destructive

A finished ad from a product image, with native audio. Add a creator (actor_id or image) and it becomes a UGC ad; leave it out for a product-led one. Supply a script and it sets the length — write to the budget: up to 10 words for 5s, 20 for 10s, 30 for 15s. Over budget and the line gets clipped, so cut words rather than hoping. Omit the script and pass a brief instead, and the model writes its own line to fit. Ask for up to 3 variations to test angles. The model is chosen for you; use generate_video to pick one yourself. Needs a paid plan. Docs: https://www.inreels.ai/connect

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": {
      "product_image_url": "<product_image_url>"
    },
    "name": "create_ad_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookNonatural reads as real UGC; commercial is polished; raw_iphone is deliberately rough.natural
briefNoWhat the ad should argue, if you are not supplying a script.
scriptNoThe spoken line, word for word. When present it decides the length.
durationNoSeconds. Ignored when a script is given, since the script sets the length.
variationsNoAds are tested in sets. Each variation is charged separately.
aspect_ratioNo9:16
scene_actionNoA silent action instead of speech, for product-led cuts.
creator_actor_idNoFrom list_actors. Including a creator makes this a UGC ad.
creator_image_urlNoYour own creator photo, instead of creator_actor_id.
product_image_urlYesThe product. Required — the ad is built around this image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well past the annotations by disclosing cost and plan implications ('Needs a paid plan', 'Each variation is charged separately'), the destructive consequence of over-budget scripts (the line gets clipped), and that the model is auto-selected. It does not say whether the call returns a finished asset or a run handle, which matters for a long-running generation given a get_run_status sibling exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Roughly ninety words for a ten-parameter generative tool, with zero filler sentences. Scope, mode selection, script economics, variations, and the sibling hand-off are each front-loaded in their own clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a costly, non-idempotent generation tool with no output schema, the description leaves the return contract unstated — no word on whether it yields a video URL, a run id to poll, or how long it takes. Everything about inputs and guidance is complete, so the gap is narrow but real.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 90%, yet the description still adds real semantics: script governs duration and makes duration be ignored, with a concrete word-per-second budget (10/20/30 words for 5/10/15s). It also frames brief and scene_action as the alternatives to script, which the schema alone does not make explicit.

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 ('A finished ad from a product image, with native audio') and immediately distinguishes the two product modes (UGC with a creator vs product-led). It also explicitly separates itself from generate_video, so an agent can pick correctly without opening either 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?

Gives concrete when-to-do-what guidance: add creator_actor_id/creator_image_url for a UGC ad, omit it for product-led, supply script OR brief (not both as the driver), request variations to test angles. It names the alternative for model selection ('use generate_video to pick one yourself') and states the paid-plan prerequisite.

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