Skip to main content
Glama

create_explainer

Generates a narrated explainer video from a topic and up to three sources, with script, visuals, captions and music in 16:9 or 9:16; returns a job ID to poll render status.

Instructions

Make a narrated explainer video from a topic and sources (a web page, PDF, arXiv paper, YouTube link, or a text or audio file): the script is written only from the sources, with narration, diagrams, Manim animation, stock footage, captions and music, in 16:9 and 9:16. kind 'animate' makes one continuous animation under the whole narration instead. It runs in the background: the call returns a job_id, so poll get_render_status until it is 'completed' or 'failed' (then 'outputs' lists the finished videos). The source text goes to the configured AI text provider and short footage search phrases to Pexels; nothing is posted. Use extract_clips to cut a video you already have and generate_short for an idea with no sources.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic": "<topic>"
    },
    "name": "create_explainer"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNocase = a sectioned explainer; animate = one continuous animation (equations, processes, algorithms).case
draftNoA quick, small render to check the result before the full one.
themeNoThe look of the whole video.dark
topicYesWhat the video explains, e.g. 'How binary search halves the work'. Required.
avatarNoA drawn presenter in the corner who talks with the narration: off, alex, maya, priya, sam, leo, nora (people), miso, luna (cats), biscuit (a dog), bolt (a robot), or the name of one saved in the ShortsFlow app.off
formatsNoVideo shapes to render, comma separated: 16:9, 9:16 (and 1:1 or 4:5). One shape renders faster.16:9,9:16
sourcesNoUp to 3 sources: web links, PDF or arXiv links, YouTube links, or file paths. Required for kind 'case'; optional for 'animate'.
templateNoThe kind of story for kind 'case': case, postmortem (what went wrong), history, explainer, recipe, news or animation.case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the call is asynchronous and returns a job_id, where progress is observable, and that outputs appear in 'outputs' when finished. It also discloses data egress (source text to the AI text provider, search phrases to Pexels) and the important negative fact that nothing is posted. It stops short of cost, duration or rate-limit expectations for a render job.

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?

The core action and accepted sources are front-loaded in the first clause, followed by behavior, data-flow and alternatives in a logical order. Sentences are dense with comma-separated lists, which is efficient but makes the single paragraph harder to scan; no sentence is truly wasted.

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 an 8-parameter tool with no output schema and no annotations, the description covers what is missing elsewhere: the async lifecycle and what the return value contains, the source-composition rule, and the sibling routing. Defaults and enumerations are left to the schema, which fully documents them, so nothing an agent needs to invoke this correctly is absent.

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 every parameter including kind, template, theme, avatar and sources is already documented in the schema. The description largely restates the schema's own wording (e.g. kind 'animate' as a continuous animation, sources required for 'case'), adding only framing rather than new meaning. Baseline 3 is appropriate when the schema does the heavy lifting.

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 and artifact ('Make a narrated explainer video') plus the accepted input types (web page, PDF, arXiv, YouTube, text or audio file) and the full output composition (narration, diagrams, Manim, stock footage, captions, music, 16:9 and 9:16). It explicitly contrasts itself with two siblings, so an agent can distinguish it from extract_clips and generate_short without opening a 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?

Names both alternatives and the condition that selects each: extract_clips 'to cut a video you already have' and generate_short 'for an idea with no sources'. It also gives the follow-up protocol (poll get_render_status until 'completed' or 'failed'), which an agent must follow after this call.

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