Skip to main content
Glama

generate_ad_studio

Start a paid Ad Studio clip. Uses this month’s generation allowance. Poll get_ad_studio until it finishes. Hard failures return that job’s allowance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoProduct page URL. Must match the quote when quoteId is set.
beatsYesLocked 5-beat English script. Hook is the first 0–3s. Soft close is close.
briefNoProduct brief. Required even when a URL is set.
voiceNoNarration voice id from list_audio_lab_voices.
familyYesAngle chip: Problem, Curiosity, Trust, or Niche.
actorIdYesTalking Shorts catalog creator id from list_talking_short_actors.
angleIdNoAngle id from research_ad_studio.
quoteIdNoFrom quote_ad_studio. Optional; generate quotes first when omitted.
captionModeNoCurrent karaoke (workspace is Current only). off and hook remain accepted for API compatibility; hook burns as Current.current
idempotencyKeyNoOptional key to retry an ambiguous Ad Studio submit with the same inputs.
captionsEnabledNoLegacy on/off. Prefer captionMode. false selects Off captions.
durationSecondsNoClip length in seconds. 15, 20, or 25. Default 15.
ugcFinishEnabledNoPhone-cam finish on the exported MP4. Defaults on. Does not change the quote.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoJob status such as pending, queued, in_progress, completed, or failed.
videoIdNoLibrary clip id for this job, when one exists.
idempotentNoTrue when this call reused an in-flight or finished job with the same idempotency key.
generationIdYesGeneration id. Poll the matching get_* tool until status is completed or failed.
creditsChargedNoUsage already consumed from this month’s generation allowance (internal units).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the sparse annotations, the description discloses critical behavior: the operation consumes paid generation allowance, is asynchronous, and has a specific failure-refund policy. This is exactly the kind of behavioral context an agent needs before invoking a paid generation tool.

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?

Three short sentences, each earning its place: what the tool does, the cost implication, and the required follow-up behavior. No filler or repetition of schema content.

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 complex 13-parameter tool with nested objects and an output schema, the description plus schema covers the essential workflow: start generation, poll via get_ad_studio, and know the failure cost behavior. Nothing critical is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents every parameter. The description adds no extra parameter-level meaning, which is acceptable because the schema carries the burden. Baseline 3 is appropriate.

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 opens with a specific verb and resource ('Start a paid Ad Studio clip'), which clearly identifies the action and target. It also distinguishes itself from quote/research/get siblings by emphasizing that this tool starts the actual paid generation.

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?

The description gives clear operational context: it uses this month's allowance, requires polling get_ad_studio, and hard failures return the allowance. It does not explicitly name alternatives or say when not to use it, but the paid-generation context makes the intended use obvious.

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