Skip to main content
Glama

enqueue_generate_shots

Break the storyboard frames into camera shots via the LLM. Use this when the user wants to (a) generate shots for the first time after storyboards exist, or (b) regenerate the shot list for one or more scenes. Storyboards must already exist for the targeted scenes. Pass sceneIds to scope; omit to cover every scene with a storyboard frame. Set replace: true to regenerate — this DELETES existing shots in the targeted scenes before inserting new ones. By default (replace omitted) the runner ADDS shots and may produce duplicates if shots already exist for a scene, so when regenerating you almost always want replace: true. This tool does NOT generate shot images — call enqueue_generate_storyboards (or the per-shot image flow) afterwards if the user wants images regenerated too.

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": {
      "movieId": "<movieId>"
    },
    "name": "enqueue_generate_shots"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
replaceNoWhen true, delete existing shots in the targeted scenes before inserting the new ones. Use this when the user asks to "regenerate" / "redo" shots. Defaults to false.
sceneIdsNoOptional list of scene ids to shoot. Omit to cover every scene with a storyboard frame.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 it well: it discloses that replace=true DELETES existing shots, that the default ADDS and can create duplicates, and that storyboards must pre-exist. The remaining gap is async semantics — an 'enqueue' tool presumably returns a job to poll, but the description never says so, even though cancel_job is a sibling.

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?

Front-loaded with the purpose, then usage conditions, then parameter mechanics, with the destructive warning capitalized in the right place. A minor cost: 'Pass sceneIds to scope; omit to cover every scene with a storyboard frame' duplicates the schema description nearly word for word.

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

Completeness3/5

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

No output schema and no annotations mean the description must cover return behavior, and it does not — there is no indication of a job handle, job status, or how to know when shots are ready. For an asynchronous enqueue-style mutation, that is a meaningful omission, though the destructive/default behavior is thoroughly covered.

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 coverage is 100%, so the baseline is 3. The description does add real meaning beyond the schema by explaining the interaction between replace and duplicate creation, and the scoping effect of omitting sceneIds, but it largely restates the sceneIds schema text verbatim.

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 resource ('Break the storyboard frames into camera shots via the LLM') and explicitly distinguishes itself from the storyboard and shot-image tools, so an agent can separate it from siblings like enqueue_generate_shot_image without reading schemas.

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?

Gives explicit when-to-use conditions — first-time generation after storyboards exist, or regeneration for specific scenes — plus a prerequisite (storyboards must already exist) and an explicit when-not-to-use note ('does NOT generate shot images'). That is close to a complete routing rule.

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