Skip to main content
Glama

Create video ad

create_ad

Create a finished short-form video ad with Revid (format: ugc AI creator talking to camera, product brand/e-commerce showcase, motion_graphics kinetic launch ad, or song catchy jingle ad). Accepts structured ad inputs (product, prompt, productUrl, hook, audience, offer, cta, creatorStyle, optional verbatim script, referenceAdUrl, characterIds, and typed assets for product photos/logos/screenshots) while preserving real product packaging. For an app, website, software or online service, pass real screenshots or screen recordings in assets (role screenshot or footage): a screen, button, number or on-screen text you describe without providing it is invented by the video model. Set dryRun: true to validate inputs and get estimatedCredits and creditsAvailable without charging or creating a project. On a real render, returns pid and projectUrl; follow it with get_project_status until videoUrl is ready. Requires an active Revid plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNoClosing call to action (e.g. Shop now, Try free).
hookNoOptional opening scroll-stopping hook line or angle.
modeNorender: build full ad. plan: stop after planning (motion_graphics only) and resume via resume_project.render
nameNoProject name.
tierNoQuality tier: base (cheapest), pro (default), ultra (best realism/acting).pro
musicNo
offerNoKey benefit, proof point, or offer (e.g. 20% off, 30-day guarantee).
voiceNo
assetsNoUp to 12 product photos, logos, screenshots, or clips. For an app, website or software: real screenshots (role screenshot) or screen recordings (role footage).
dryRunNoValidate inputs and quote estimatedCredits + creditsAvailable without charging.
formatNoAd format: ugc (AI creator talking to camera, default), product (brand/e-commerce showcase), motion_graphics (kinetic SaaS/app launch ad), or song (catchy jingle ad sung on camera).ugc
promptNoCreative brief, angle, or visual direction. Do not describe a screen, button, number or on-screen text you have not provided in assets (the video model invents it): describe what the creator says and does instead.
renderNo
scriptNoOptional exact spoken script (or jingle lyrics for format song). Omit to let Revid write it and research winning ads.
productNoProduct or brand name and what it does.
webhookNoOptional completion webhook URL.
audienceNoTarget audience (e.g. busy founders, skincare shoppers).
captionsNo
languageNoISO 639-1 language code (e.g. en, fr, es).
mediaTypeNoVisual engine override (defaults to ai-video for ugc/product/song, motion-graphics for motion_graphics).
productUrlNoProduct page, store listing, or landing page URL (scrapes copy & real photos, or captures UI for motion_graphics).
aspectRatioNoOutput ratio: 9:16 (TikTok/Reels/Shorts), 16:9 (YouTube/web), 1:1 or 4:5 (feed).9:16
characterIdsNoSaved consistent character ids from list_characters.
creatorStyleNoFor ugc: presenter look, setting, and energy (e.g. 25yo woman in sunlit kitchen, warm casual energy).
soundEffectsNoAdd sound effects (default true for motion_graphics).
motionCategoryNoMotion graphics category when format is motion_graphics (default product_demos).
referenceAdUrlNoOptional inspiration ad video URL (studied for hook, pacing and structure only).
durationSecondsNoTarget ad length in seconds (10-120, typically 15-30) or auto.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
methodYes
statusYes
endpointYes
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / voice / properties / pronunciations
      Added value: +{
      +  "description": "Misread words: ipa (no slashes) and/or spoken respelling; captions keep written.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ipa": {
      +        "type": "string"
      +      },
      +      "spoken": {
      +        "type": "string"
      +      },
      +      "written": {
      +        "maxLength": 64,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "written"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / assets / description
      Previous value: -"Up to 12 product photos, logos, screenshots, or clips."New value: +"Up to 12 product photos, logos, screenshots, or clips. For an app, website or software: real screenshots (role screenshot) or screen recordings (role footage)."
    • changedInput schema / properties / prompt / description
      Previous value: -"Creative brief, angle, or visual direction."New value: +"Creative brief, angle, or visual direction. Do not describe a screen, button, number or on-screen text you have not provided in assets (the video model invents it): describe what the creator says and does instead."
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, openWorld=true, idempotent=false, destructive=false; the description goes well beyond that by disclosing that dryRun incurs no charge and creates no project, that real renders are billed against estimatedCredits/creditsAvailable, that an active Revid plan is required, and that rendering is asynchronous with pid/projectUrl plus a status-polling follow-up. It doesn't cover failure modes, render-time expectations, or credit refund behavior.

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?

One dense paragraph with no filler sentences — every clause adds a format definition, an input expectation, or a workflow step, and the core purpose is front-loaded. It is long and would scan better with the dryRun and follow-up workflow split into their own lines, but nothing is redundant.

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

Completeness4/5

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

For a 28-parameter, nested-object, multi-format creation tool with an output schema, the description covers purpose, format choice, cost/dry-run, prerequisite, asset pitfall, and the post-call workflow step. What remains thin is how it relates to adjacent creation tools and what happens on validation failure or partial render, though the output schema absorbs return-value explanation.

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?

With 86% schema description coverage the baseline is 3, and the description adds genuine meaning on top: it explains that omitting script lets Revid write and research winning ads, what each assets role is for, and the important constraint that a screen or number not supplied as an asset will be invented by the video model. Many secondary parameters (tier, music, voice, captions, motionCategory, language) are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Create a finished short-form video ad with Revid') and immediately enumerates the four output formats (ugc, product, motion_graphics, song) plus the structured inputs it accepts, so an agent knows exactly what it gets back. It stops short of naming when to prefer it over overlapping siblings such as create_motion_graphics or create_project, which is the remaining ambiguity.

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?

It gives concrete when-to-do-what guidance: use dryRun to validate and get estimatedCredits without charging, then on a real render follow with get_project_status until videoUrl is ready, and it states the plan prerequisite. It also gives a conditional instruction for app/web/software ads (supply real screenshots or footage in assets). It does not explicitly exclude or route to create_project/create_motion_graphics for overlapping cases.

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