Skip to main content
Glama

set_storyboard

Destructive

Build a video storyboard as a horizontal timeline of shots, with script lines, filming notes, and frame sketches, so you can brainstorm and revise scenes visually.

Instructions

Write the session's storyboard: the video as a row of shots that the user sees as a horizontal timeline of sketches on the Storyboard tab, each with its script lines. Use it with the storyboard skill when the user brainstorms a video idea. Replaces the earlier storyboard. Each shot covers one or two script paragraphs: 'say' is those lines word for word from script.md, 'do' is how to film or build it in one short line, 'sketch' is what the frame shows (people, props, framing, the camera move or the motion as arrows; never text in the frame). A sketch already drawn is kept; a new or changed sketch is drawn in the background, about 30 s. redraw=true draws a shot again with the same sketch text. With no image key, nothing is drawn and the answer says so: ask the user for a key, or pass your own sketch as the shot's 'image'. 'video' puts a real clip on the shot instead of a sketch (a file from list_broll, or a file in the session such as edits/x.mp4 or a still such as generated/x.png); the app shows its frame and plays it on hover. 'variants' puts several clips or stills on one shot (A, B, C... in that order) for the user to choose from: the shot shows as a stack; the user flips through them and picks one; 'video' is the one in the video (default the first). Left out, the shot keeps its variants. A new Higgsfield or Replicate clip for a shot keeps the old one as a variant. The user records takes per shot and comments on shots: get_session's 'storyboard' lists each shot's id, section, takes and open comments. 'format' is the video's shape: the cards and sketches use it.

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": {
      "session": "<session>",
      "shots": "<shots>"
    },
    "name": "set_storyboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
shotsYesThe shots in order: [{id, section, kind, say, do, sketch, seconds, video, variants, image, redraw}].
formatNoThe video's shape as W:H, any shape: 16:9 (YouTube, a landscape launch video), 9:16 (Reels, Shorts, TikTok), 4:5 (LinkedIn feed), 1:1, 21:9 (cinema), 4:3, 3:4... Set it on the first call; later calls keep it. A new format draws every sketch again in that shape.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only flag it as a destructive, open-world write; the description goes far beyond that. It discloses sketch generation timing (~30 s, background), the no-image-key fallback and what the answer says, redraw semantics, variant stacking and selection behavior, that a new Higgsfield/Replicate clip preserves the old as a variant, and that ids preserve user takes and comments — critical context for a destructive replace.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and almost every sentence carries real information, but it is a single dense paragraph mixing sketch drawing, video, variants, takes/comments and format, with no visual structure for scanning. Several clauses restate the input schema's own parameter descriptions rather than adding to them.

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 destructive multi-mode write tool with no output schema, this covers the full lifecycle: idempotency via id reuse, destructive replacement, async sketch drawing, fallback when no image key exists, variant retention, and where to read takes/comments. Nothing an agent needs in order to call it correctly appears missing.

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 adding behavioral meaning the schema lacks — 'Left out, the shot keeps its variants', 'redraw=true draws a shot again with the same sketch text', format persistence ('Set it on the first call; later calls keep it') and that a new format redraws every sketch. A few fields (section, sketch, say) are only echoed from the schema.

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?

Opens with a specific verb and resource: 'Write the session's storyboard: the video as a row of shots'. The scope is defined concretely (shots with say/do/sketch, shown as a horizontal timeline on the Storyboard tab), so an agent knows exactly what this mutates and how the result is presented.

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?

Gives a clear trigger ('Use it with the storyboard skill when the user brainstorms a video idea') and a lifecycle note ('Replaces the earlier storyboard'), plus routes the agent to get_session for shot ids, takes and comments. It doesn't explicitly name sibling setters as alternatives, but the usage condition is unambiguous.

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