Skip to main content
Glama

Apply storyboard changes

apply_storyboard_spec

Edit a whole storyboard in one call: take get_storyboard format='spec', change scenes/shots/order/dialogue, and pass it back. Scenes and shots without an id are created, order follows the spec, prune hides what's left out (nothing is deleted). dryRun previews the changes; render='changed' re-renders edited shots within maxCredits.

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": {
      "spec": "<spec>"
    },
    "name": "apply_storyboard_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesThe desired storyboard, as returned by get_storyboard format='spec' and then edited.
pruneNoHide scenes and shots that exist but aren't in the spec. Without it, leaving any out is an error.
dryRunNoOnly report what would change.
renderNoAfter applying: 'none' (default), 'changed' re-renders edited/new shots, 'pending' also renders anything never rendered or failed.
maxCreditsNoCredit ceiling for the render step. Without enough, the render step only returns an estimate.
storyboardIdNoStoryboard to change. null = spec.storyboardId or the one open in the app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (non-readOnly, non-destructive), the description discloses the two traits that matter most: prune only hides and deletes nothing, and render='changed' triggers re-rendering that consumes credits bounded by maxCredits. The note that insufficient credits yields only an estimate is exactly the kind of side-effect context annotations cannot convey.

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?

Three dense sentences, front-loaded with the action and the workflow, then mechanics, then optional flags. No filler and no repetition of annotation content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a deeply nested spec-driven tool with no output schema, the description covers the essential mental model: what a spec is, how creation/ordering/hiding work, and what the optional flags do. It stops short of describing what a dryRun report or success response looks like, which matters slightly more without an output schema.

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 above that by adding behavior not in the schema, notably that ordering follows the spec and that omitted scenes/shots are hidden rather than removed. Some phrasing restates schema text (e.g. id-less scenes being created), and the undocumented 'version' parameter is left unaddressed.

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 opens with a specific verb and scope: 'Edit a whole storyboard in one call', and it explicitly names the round-trip source (get_storyboard format='spec'). This distinguishes it immediately from single-item siblings like add_storyboard_shot or update_storyboard_scene.

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?

It gives a clear workflow (read with get_storyboard format='spec', edit, pass back) and flags dryRun for previewing before committing. It does not explicitly say when to prefer this over per-shot tools like update_storyboard_shot, though 'in one call' and 'whole storyboard' imply the bulk case.

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