Skip to main content
Glama

studio_generate

Generate a piece of content with a Studio format (see studio_formats for the formats, their credit prices and the inputs they need). It spends the credits shown by studio_formats for the chosen duration (and quality, where the format has a Standard and a Premium price): always tell the user the price and get their confirmation first. The script, on-screen text and visuals are written from the brand profile and what you pass (hook, angle, prompt, or the user's own script). Generation runs in the background (seconds for images and text posts, a few minutes for videos and talking heads): this returns a generationId, then call studio_status with it. Results are saved to the media library and can be attached to posts. If the generation fails, the credits are given back. To use one of the user's saved recipes (studio_recipes), pass its recipeId: its format and settings are filled in, what you pass yourself wins. Pass formatId or recipeId.

Input Schema

NameRequiredDescriptionDefault
hookNoA hook formula key from studio_formats, or the hook in the user’s own words
angleNoThe angle or message to push
musicNoBackground music of a video, free: "auto" (the default: a library track matched to the post on video clips, slideshows, walls of text and hook + demo; none where a voice speaks), "none", or a library track id (upbeat-1, upbeat-2, upbeat-3, chill-1, chill-2, chill-3, corporate-1, corporate-2, corporate-3, cinematic-1, cinematic-2, cinematic-3, acoustic-1, acoustic-2, acoustic-3, electronic-1, electronic-2, electronic-3, hiphop-1, hiphop-2, hiphop-3, luxury-1, luxury-2, luxury-3, playful-1, playful-2, playful-3, ambient-1, ambient-2, ambient-3).
promptNoWhat the content is about, in plain words
scriptNoThe user’s own script, used word for word
slidesNoSlideshow only: number of slides
qualityNoFormats with "qualities" in studio_formats (talking heads, hook + demo, video clip, animated stories): "premium" uses the more realistic video model at its own credit price, "standard" (the default) the cheaper one. Ignored by other formats.
avatarIdNoAn avatar id from studio_formats, to keep the same AI creator
captionsNoBurn captions into videos (on by default where the format uses them)
formatIdNoThe format id from studio_formats (can be left out when recipeId is given)
languageNoThe language the post is written and spoken in (ISO 639-1); left out, the brand’s content language
mediaIdsNoMedia library ids: the product image or demo video the format needs
recipeIdNoA saved recipe id from studio_recipes: its format and settings are the defaults, anything else you pass wins
durationSecNoOne of the format’s durations

Output Schema

NameRequiredDescriptionDefault
errorNo
creditsNo
generationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnly=false, openWorld=true, idempotent=false, destructive=false. The description adds the material behavior an agent actually needs: generation consumes credits at the format's price, confirmation is required first, execution is asynchronous with rough latency by content type, results land in the media library, and credits are refunded on failure. That is substantial value beyond 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?

Core purpose is front-loaded in the first sentence and every subsequent sentence carries operational information (price, confirmation, async, polling, refunds, recipes). It is dense but slightly overlong, with the recipe rule appearing twice (once in the body, once in the final sentence).

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 14-parameter, credit-spending, async generator, the description covers cost, confirmation, execution model, follow-up tool, output destination, failure handling, and the recipe shortcut. An output schema exists, so return-value shape needs no further 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?

Schema coverage is 100%, so the baseline is 3; the description earns more by explaining the formatId/recipeId mutual requirement (neither is schema-required) and by defining recipe precedence over passed values. It does not add detail on hook, angle, or mediaIds beyond what the schema already documents.

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 (generate) and resource (content in a Studio format) and immediately points to studio_formats for the format catalog, making it clearly distinct from studio_status (polling) and studio_recipes (saved presets). An agent can pick it over the siblings 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?

Gives explicit routing rules: check studio_formats for price/inputs, pass formatId or recipeId, tell the user the price and get confirmation first, then poll with studio_status using the returned generationId. It also covers the recipe path and the precedence rule ('what you pass yourself wins'), leaving little to inference.

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