Skip to main content
Glama

Built-in Flow Templates

lab_flow_vorlagen
Read-only

Use when the person wants one of FilmLab's built-in flow templates (Only a Dream; One Figure, Five Worlds; Weird Summer) laid over the shots of a scene, or asks which templates exist. Each template is the same chain for every shot: a prompt node lays the template's rule on the shot's prompt (lab_prompt_transform with a custom instruction), then an image from that prompt, then a clip from that image with the start-image check on (the run stops until the person approves the start image). Without vorlage_id it lists the templates (name, description, the rule, the tools per shot, the clip length); with vorlage_id alone it returns that one. With vorlage_id and shots it builds the workflow the FilmLab app builds for a scene run: shots are ALL shots of the scene in scene order — scene_ref is sb_ plus the shot's scene_number from the project's shot list, hat_clip: true marks a shot that already has a clip (it is not built again but stays context for the shots after it). With characters the image runs as img-to-img and costs more; lab_flow_angebot prices each node and names its character count (figuren). This tool costs nothing and generates nothing. Without project_id it needs no account. Next step: pass the returned workflow UNCHANGED to lab_flow_angebot with the project id, name the price to the person and wait for their yes, then call lab_flow_starten with the same workflow and the angebot_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lab_flow_vorlagen"
  }
}

Input Schema

NameRequiredDescriptionDefault
shotsNoALL shots of the scene in scene order; only the shots without hat_clip are built
szeneNoThe scene the shots belong to
project_idNoProject id (lab_list_projects). With it the tool reads who is in each shot from the project's shot list, matches the names to the project's character sheets and binds each reference image to the shot's image and clip. Needs an account.
vorlage_idNoTemplate id from the list (call without arguments to see them)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "Project id (lab_list_projects). With it the tool reads who is in each shot from the project's shot list, matches the names to the project's character sheets and binds each reference image to the shot's image and clip. Needs an account.",
      +  "type": "string"
      +}
    • addedInput schema / properties / shots / items / properties / character_refs
      Added value: +{
      +  "description": "Character sheet ids (positive integer strings) of the characters in this shot, bound as character_refs to its image and clip. Overrides what the shot list names for this shot; [] binds none. Checked against the project when project_id is given.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description goes far beyond that by stating the tool costs nothing, generates nothing, and needs no account without project_id. It also discloses that hat_clip shots are not rebuilt but remain context, that the downstream run halts until the person approves the start image, and that characters make the image img-to-img and more expensive.

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?

Sizing is justified by the three-mode behavior and the required hand-off chain, and the trigger condition is front-loaded while the next steps come last. It is dense, semicolon-chained prose that takes effort to parse, but almost no sentence is filler and the mode/parameter mapping is stated precisely.

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 4-parameter tool with a nested `shots` array, no output schema, and a mandatory downstream chain, the definition covers entry conditions, all three invocation modes, cost and account implications, and the exact follow-on calls. An agent has everything needed to select it, populate the nested shot objects, and route the result onward.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so 3 would be the baseline, but the description adds operative meaning the schema cannot: `shots` must be ALL shots in scene order, `scene_ref` is `sb_` plus the shot's scene_number, and `project_id` triggers reading cast from the shot list and binding reference images. It also explains what changes when `vorlage_id` and `shots` are combined.

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 first sentence names the specific resource (FilmLab's built-in flow templates, with the three templates enumerated) and the specific operation (laying a template over the shots of a scene, or listing what exists). It then disambiguates the three modes by parameter: no `vorlage_id` lists, `vorlage_id` alone returns one, `vorlage_id` plus `shots` builds the scene workflow.

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?

The opening 'Use when the person wants ...' clause states the trigger condition explicitly, including the secondary case ('or asks which templates exist'). The closing 'Next step' names the exact successor tools (lab_flow_angebot, then lab_flow_starten), what to pass unchanged, and the human approval step in between.

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