Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FAL_KEYNoKey for 3D model generation from an image (Fal.ai).
BRAVE_API_KEYNoWeb search key for the Idea Engine (used if SERPER_API_KEY is not set).
TRIPO_API_KEYNoKey for 3D model generation from an image (Tripo3D).
OPENAI_API_KEYNoOpenAI cloud LLM key for plans and ideas.
SERPER_API_KEYNoWeb search key for the Idea Engine (takes priority over BRAVE_API_KEY).
DUP_LLM_API_KEYNoCloud LLM key for plans and ideas.
DEEPSEEK_API_KEYNoDeepSeek cloud LLM key for plans and ideas.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_decksA

Entry point for discovering deck files: lists decks/*.json with slug, file path, slide count, language and aspect ratio. Read-only and idempotent. Call it first to get the exact deck path that plan_video_pack, deck_doctor, critique_deck and render_deck expect. Returns {decks: [...]} where each item has file, slug, lang, aspect and slides (or error for an unreadable file).

generate_ideasA

Generate 1..7 structured video concepts for a topic (hook, genre, aspect ratio, theme, slide blueprint). Mode 'template' is offline and deterministic. Modes 'ollama', 'cloud' and 'deepseek' call an LLM and return an error if the backend or API key is missing (no silent fallback to templates). Read-only: writes nothing to disk. Returns {ok, source, topic, lang, ideas}. Use it for brainstorming from a topic; for an existing deck use critique_deck. Pass a returned idea object to idea_to_deck to create a deck.

idea_to_deckA

Save one idea object from generate_ideas as a validated deck JSON at decks/.json. Writes a file and refuses to overwrite an existing deck unless overwrite=true (IdeaDeckExistsError). Returns {ok, slug, path, slides}. Next steps: deck_doctor, then render_deck. Use this instead of hand-writing deck JSON.

critique_deckA

Run the Director Advisor on a deck JSON and return a score (0..100) plus concrete add, remove and upgrade suggestions for slides. Read-only; never modifies the deck. Use it for creative and structural quality. For technical render readiness use deck_doctor; to apply safe automatic fixes use auto_fix_deck.

auto_fix_deckA

Apply safe, deterministic Director Advisor fixes (9:16 bold captions, director_preset, missing outro_3d) to a deck. Dry-run by default: returns {ok, changes, critique, written} and leaves the file untouched; write=true saves the fixed deck in place. Only the three fix types listed here are applied. Run critique_deck first to see the suggestions, and deck_doctor before rendering.

plan_video_packA

Validate a deck and return a multi-format build plan: 16:9 main video, optional 9:16 Short, optional translation and a 1280x720 thumbnail. Read-only planning step: it renders nothing and writes nothing. Use it before render_deck or build_publish_pack to see what will be produced. For an actual render use render_deck.

render_thumbnailA

Render a 1280x720 cover PNG with the Remotion DupThumbnail composition and write it to the out path. Returns {ok, out, bytes, props}; raises an error if Remotion fails or no file is produced. Title, subtitle, badge and theme come from the arguments; missing values default from deck when it is given. Requires the local Remotion/Node toolchain. Cover image only: use preview_stills for slide frames and render_deck for the video.

audit_deck_claimsA

Verify factual claims in a deck against a source repository: numeric values, code symbols, file:line citations and safety invariants. Read-only. Returns {ok, hard_ok, verified_hits, evidence_errors, safety_warnings, unverified_symbols, unverified_numbers}; ok is false when any claim is unverified, except runtime approximations. Use it before publishing a factual deck; critique_deck and deck_doctor do not check facts.

make_short_cutdownA

Build a validated 9:16 vertical Short (about 60 s) from a 16:9 deck: keeps at most max_slides slides, shortens text and adds no new claims. Dry-run by default: returns the Short deck; write=true saves it to decks/-short.json. Use it for Shorts only; the full video comes from render_deck.

run_media_qaA

Run the fail-closed Media QA Gate on a rendered MP4: ffprobe format, video and audio checks, loudness (LUFS) and true peak, dead air, black and frozen frames. Read-only. Returns {ok, hard_fails, checks, sha256, width, height, duration_sec, audio, video}; ok is false when any hard check fails. A missing ffprobe or ffmpeg makes the call return an error (isError), not ok:false. Run it after render_deck finishes (poll render_status until finished).

pronunciation_dictionaryA

Read or update the Russian TTS pronunciation dictionary (lowercase Latin token -> Cyrillic spelling, stored in config/pronunciation.json). Call with no arguments to read current overrides and total entries. Pass add to merge entries; existing tokens are replaced. Use it before render_deck to fix mispronounced terms.

build_publish_packA

Generate YouTube chapters, social post copy, LinkedIn copy and metadata.json from deck_resolved.json, which build_deck.py creates during a render. Run it after a successful render. Writes four files into out/ with the slug in their names, overwriting existing files with the same names. Returns their paths (chapters, post_copy, linkedin, metadata). Same input gives the same output.

deck_doctorA

Pre-render diagnostics without rendering: schema check, Cyrillic in EN decks, missing screenshots or music, overwrite risk, length and render-time estimates. Read-only. Returns {ok, errors, warnings, estimates}. Run it before render_deck; render_deck refuses when errors are present.

render_deckA

Start a full MP4 render in the background. Run deck_doctor first: this tool refuses when deck_doctor reports errors, or when out/.mp4 exists and overwrite is false. Returns {started, pid, log, mp4, warnings, estimates}. Poll progress with render_status, then run run_media_qa.

render_statusA

Poll a background render started by render_deck, identified by slug. Returns status (not_started, running or finished), exit_code (null while running), mp4_exists, mp4_bytes and tail (the last 12 non-empty log lines). Read-only; safe to call repeatedly. Call it between render_deck and run_media_qa. A slug with no started render returns not_started.

preview_stillsA

Render one PNG per slide into out/_stills/ to check layout before a full render. Synchronous: can take up to 15 minutes. Use only_slide (e.g. s5) to render a single slide. include_images=true also returns up to 8 PNGs inline as image content, downscaled to 1280 px wide or tall (originals stay on disk); anything not inlined is counted in images_omitted. Use render_deck for the video and render_thumbnail for the cover image only.

get_slideA

Read one slide from a deck file by its id (e.g. s5) without changing anything. Returns {ok, path, index, slide, slide_count, slide_ids}: the slide object as stored, its 0-based position and all slide ids. Read-only. Call it before update_slide to see the current fields.

update_slideA

Shallow-merge fields into one slide of a deck file (e.g. change title or voice_text). A null value removes that field; the slide id cannot be changed. Dry-run by default: write=false returns the validated result without touching the file; write=true saves atomically. Refuses any edit whose resulting deck fails validate_deck, including missing assets. Returns {ok, written, path, slide_id, changed_fields, slide_count, slide_ids}.

insert_slideA

Insert a new slide object into a deck file after the slide named by after_id (empty string inserts it first). The slide needs a unique id and the fields its type requires; the resulting deck must pass validate_deck. Dry-run by default: write=true saves atomically. Returns {ok, written, path, slide_id, slide_count, slide_ids}.

remove_slideA

Remove one slide from a deck file by id. Refuses to remove the last slide. Dry-run by default: write=true saves atomically. The preview includes the removed slide object so it can be restored with insert_slide. Returns {ok, written, path, removed_slide_id, removed_slide, slide_count, slide_ids}.

move_slideA

Move one slide to a new 0-based position (to_index is the final position) in a deck file. Only the order changes; slide content is untouched. Dry-run by default: write=true saves atomically. Returns {ok, written, path, slide_id, slide_count, slide_ids}.

Prompts

Interactive templates invoked by user choice

NameDescription
create-product-videoWalk through deck selection, validation, preview, render, Media QA and the publish pack, in that order.
audit-and-fixVerify a deck's factual claims against a source repo, then fix the failing slides with previewed edits.
make-shortBuild a vertical Short cutdown from a 16:9 deck, review it, then validate it.

Resources

Contextual data attached and managed by the client

NameDescription
themesTheme ids, labels and modes from theme_catalog.THEME_CATALOG.
templatesSlide type names accepted by the deck validator (build_deck.ALLOWED_TYPES).
deck-schemadocs/DECK_SCHEMA.md: the deck file format.
big-bang-cinema-real.json
caption-bold-demo.json
caption-karaoke-demo.json
dup-labs-solar-cinema.json
dup-labs-universe-director-cut-en.json
dup-labs-universe-director-cut.json
dup-labs-universe-imax.json
dup-market-radar-3026-cinema.json
dup-market-radar-3026.json
dup-market-radar-arena.json
dup-market-radar-cinema-3d.json
dup-market-radar-heart-3d.json
dup-market-radar-horizon-3026.json
dup-market-radar-signal-path.json
dup-protocol-cosmos-en.json
dup-protocol-cosmos.json
dup-protocol-kpi-trial.json
dup-protocol-story.json
dup-protocol.json
dup-skill-trust-plane.json
dup-tiktok-01-protocol.json
dup-tiktok-02-presenter.json
dup-tiktok-03-market-radar.json
dup-tiktok-04-skill-trust-plane.json
dup-tiktok-05-dup-lab.json
dup-tiktok-06-policy-gate.json
dup-tiktok-07-experimental.json
dup-tiktok-08-evidence-graph.json
dup_labs.json
quote-demo.json
radar-cosmic-v2.json
radar-cosmic-v3.json
radar-cosmic-v4-en.json
radar-cosmic-v4.json
radar-cosmic.json
radar-newtypes.json
radar-pro-en.json
radar-pro.json
radar-showcase-v2-short.json
radar-showcase-v2.json
radar-showcase.json
radar.json
studio-universal-demo-short.json
studio-universal-demo-v2-short.json
studio-universal-demo-v2.json
studio-universal-demo.json
ui-recording-demo.json

TDQS

A4.2/5.0

Scored across 21 tools

Disambiguation5/5

Every tool has a distinct resource+action, and descriptions explicitly steer agents away from the nearest neighbor (critique_deck vs deck_doctor vs audit_deck_claims vs auto_fix_deck, render_deck vs preview_stills vs render_thumbnail, get_slide vs update_slide vs insert/move/remove_slide). The quality/diagnostics cluster is the only dense area, but the boundaries are spelled out so misselection is unlikely.

Naming Consistency4/5

The dominant pattern is verb_noun (render_deck, update_slide, list_decks, run_media_qa, audit_deck_claims, build_publish_pack) and the slide CRUD family is perfectly regular (get/insert/remove/move_slide). A few deviations break the pattern: noun-only names (deck_doctor, pronunciation_dictionary) and noun_to_noun/odd verbs (idea_to_deck, make_short_cutdown). Still readable and largely predictable.

Tool Count4/5

21 tools is on the heavy side, but they map onto a genuine end-to-end pipeline (ideation, deck CRUD, validation, critique, render, QA, publishing) so most earn their place. A couple could plausibly merge (plan_video_pack overlaps deck_doctor estimates; critique_deck/auto_fix_deck are adjacent), which keeps it just under a 5.

Completeness4/5

Coverage is strong: full slide lifecycle (list/get/insert/update/remove/move), deck creation from ideas, validation, critique, fact audit, render+status+QA, stills, thumbnail, short cutdown and publish pack. Minor gaps remain: no deck-level metadata edit or deck delete, no create-empty-deck, and no way to cancel or abort a running render.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues