Skip to main content
Glama

demo_vid_generate

Generate a narrated demo video for a fleet repository by automating voiceover, Playwright recording, and FFmpeg composition, with support for dark/light themes.

Instructions

Generate a demo video for a fleet repo.

Runs the full pipeline: validate script → voiceover (speech-mcp) → record (Playwright) → compose (FFmpeg). Stages run in parallel where possible. Output saved to data/videos/. theme="light" records the target webapp with its light-mode toggle forced on (bright demo); default "dark" matches fleet identity.

Return Format

{"success": bool, "message": str, "video_path": str | None, "stages": {...}}

Examples

await demo_vid_generate(repo="chitchat") await demo_vid_generate(repo="chitchat", theme="light") await demo_vid_generate(repo="chitchat", base_url="http://127.0.0.1:10975")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository name (e.g. 'chitchat').
themeNoVideo theme: 'dark' (fleet default) or 'light' (bright demo).dark
base_urlNoTarget webapp URL (e.g. 'http://127.0.0.1:10975'). Auto-detected from port registry if omitted.
script_yamlNoOptional YAML narration script. Defaults to auto-generated.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the pipeline stages (validate, voiceover, record, compose), parallel execution, output path (`data/videos/`), and side effects of file creation. It also explains theme behavior and base_url auto-detection. However, it does not mention potential runtime, network dependencies, or destructiveness, which would improve transparency.

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?

The description is well-structured with headings, bullet points for return format, and code examples. It is succinct (about 10 lines) with no redundant words. Every sentence contributes to understanding the tool.

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?

Given the tool's complexity (multi-stage pipeline with external calls), the description covers the purpose, parameters, behavior, output structure, and examples. An output schema exists (not shown but referenced), so the return format description suffices. The description feels complete for an AI agent to use this tool correctly.

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 adds meaningful context beyond the schema: it explains the theme values in terms of behavior (light mode toggle), clarifies auto-detection for `base_url`, and shows usage via examples. This adds significant value.

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 clearly states the verb 'Generate' and the resource 'demo video for a fleet repo'. It distinguishes itself from sibling tools (help, list, refine, script_draft, script_validate) by describing the full pipeline and final output, making it unambiguous that this is the main generation step.

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 implies usage through the pipeline breakdown and examples, but it does not explicitly state when to use this tool versus the siblings (e.g., 'Use demo_vid_script_draft first to draft a script'). While the context is clear, there is no explicit 'when to use' or 'when not to use' guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/demo-vid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server