Skip to main content
Glama

Propose Generation

lab_propose
Read-only

Propose a generation for the user to confirm: validates the parameters against the catalog, computes the price, and shows a card (widget hosts) or returns the same object as text. Video without a source image or clip uses text-to-video where the model supports it (lab_list_models: t2v). Every prompt goes through the Dreamer first: run it through lab_prompt_transform before proposing (lab_generate/lab_animate enforce this; proposals and batches do not yet). NOTHING runs until lab_run_proposal is called with the returned vorschlag_id — by the card's button, or by you after the user said yes. Without a measured price there is no vorschlag_id and no button: the answer then says so instead of offering an estimate as if it were a quote. Free.

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": {
      "kind": "<kind>",
      "project_id": "<project_id>",
      "prompt": "<prompt>"
    },
    "name": "lab_propose"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich kind of generation to propose
toolNoModel id, copied verbatim from lab_list_models. Omit to use the default for this kind — the card names it and prices it either way.
in_secNoVideo: start of the excerpt cut out of the reference clip, in seconds. Only together with out_sec and source_video_id.
intentNoVideo intent from the routing rules. Used to choose a model when tool is omitted and retained for Plan B; an explicit tool wins.
promptYesWhat to generate. The user can edit it on the card; lab_run_proposal takes the edited text as prompt_override without a new proposal. Video only: For a clip of 4 s or longer, write the action as timed beats, one per line under a '// Action Timing' header: '[0-2s] [CAM 01] <framing> -> [ACT] <action> -> [DIAL] <who>: "<line>" -> [AUDIO] <sound>'. The spans start at 0 and cover duration_seconds; keep the same CAM number while the camera does not cut. lab_prompt_transform (medium video) writes exactly this form. Murnau's SceneFlow lights each beat while the clip plays, and the crew judges it there.
familieNoVideo: pick the model ('seedance-2.0', 'seedance-2.5') instead of a route — the card then names and prices the route the server takes for this account, and the run is PINNED to it (a card promises one price, so no silent fallback). Mutually exclusive with tool and intent.
out_secNoVideo: end of the excerpt in the reference clip, in seconds. Must lie behind in_sec.
variantsNoImage: how many variants (default 1). Multiplies the price — the card shows the multiplication.
audio_urlNoVideo: URL of an existing audio track to lay under the clip. Independent of generate_audio.
scene_refNoScene label (e.g. 'SZ 04'). Stored on the row, so the result can be matched back to a shot list.
project_idYesProject id (from lab_list_projects)
referenzenNoVideo, clip path (source_video_id): typed references. The position IS the address — first image @Image1, first extra clip @Video2, first sound @Audio1. Image references are measured before sending and scaled up to the model's minimum rather than rejected.
resolutionNoResolution tier, exactly as listed for the model in lab_list_models. Omit for the model's default.
location_idNoLocation board id (from lab_list_locations) — anchors the shot in the same place.
aspect_ratioNoImage: aspect ratio as W:H, from the model's aspect_ratios in lab_list_models.
costume_refsNoThe costume plate of these characters goes along as an extra reference image — the outfit on an invisible mannequin, NO person. Every id must also be in character_refs. Needs a model whose max_references covers characters + plates. Each plate is one more reference and may cost credits.
end_image_idNoVideo: the completed image to land the clip on (last frame). Requires source_image_id. Only where lab_list_models says supports_end_frame.
camera_motionNoVideo: Structured camera move sent to the model itself — only models whose lab_list_models entry lists camera_motions. Prefer this over prose when a keyframe chain must MOVE rather than cross-fade.
character_refsNoCharacter ids (from lab_list_characters) whose reference image locks the cast's identity. Counted against the model's max_references and shown on the card by name.
generate_audioNoVideo: ask for the model's native audio. Only meaningful where lab_list_models says audio: schaltbar.
seed_image_urlNoImage: run img-to-img guided by this existing image URL. Shown on the card as the 'before'.
source_image_idNoVideo: optional completed image to animate (positive integer as string). Without a source image or clip, proposes text-to-video where supported (lab_list_models: t2v). Still required with character_refs or end_image_id.
source_video_idNoVideo: propose a run FROM A CLIP instead of a still — a generated video id (lab_animate/lab_job_status) or an asset key (lab_list_assets). Mutually exclusive with source_image_id; only for models that take a video reference (lab_list_models says v2v).
dreamer_signaturNoDreamer proof (lab_prompt_transform) for THIS prompt. Without it the proposal runs the Dreamer itself and the card shows its version — that card is what the person confirms.
duration_secondsNoVideo: clip length in seconds, inside the model's duration grid from lab_list_models. The card shows the DELIVERED seconds and says so when the provider snaps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / end_image_id / description
      Previous value: -"Video: the completed image to land the clip on (last frame). Only where lab_list_models says supports_end_frame."New value: +"Video: the completed image to land the clip on (last frame). Requires source_image_id. Only where lab_list_models says supports_end_frame."
    • changedInput schema / properties / source_image_id / description
      Previous value: -"Video: the completed image to animate (positive integer as string). Required for a video proposal — unless source_video_id proposes a clip instead."New value: +"Video: optional completed image to animate (positive integer as string). Without a source image or clip, proposes text-to-video where supported (lab_list_models: t2v). Still required with character_refs or end_image_id."
  2. Changed1 schema field changed
    • addedInput schema / properties / dreamer_signatur
      Added value: +{
      +  "description": "Dreamer proof (lab_prompt_transform) for THIS prompt. Without it the proposal runs the Dreamer itself and the card shows its version — that card is what the person confirms.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / prompt / description
      Previous value: -"What to generate. The user can edit it on the card; lab_run_proposal takes the edited text as prompt_override without a new proposal."New value: +"What to generate. The user can edit it on the card; lab_run_proposal takes the edited text as prompt_override without a new proposal. Video only: For a clip of 4 s or longer, write the action as timed beats, one per line under a '// Action Timing' header: '[0-2s] [CAM 01] <framing> -> [ACT] <action> -> [DIAL] <who>: \"<line>\" -> [AUDIO] <sound>'. The spans start at 0 and cover duration_seconds; keep the same CAM number while the camera does not cut. lab_prompt_transform (medium video) writes exactly this form. Murnau's SceneFlow lights each beat while the clip plays, and the crew judges it there."
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. Changed1 schema field changed
    • addedInput schema / properties / costume_refs
      Added value: +{
      +  "description": "The costume plate of these characters goes along as an extra reference image — the outfit on an invisible mannequin, NO person. Every id must also be in character_refs. Needs a model whose max_references covers characters + plates. Each plate is one more reference and may cost credits.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / familie
      Added value: +{
      +  "description": "Video: pick the model ('seedance-2.0', 'seedance-2.5') instead of a route — the card then names and prices the route the server takes for this account, and the run is PINNED to it (a card promises one price, so no silent fallback). Mutually exclusive with tool and intent.",
      +  "enum": [
      +    "seedance-2.0",
      +    "seedance-2.5"
      +  ],
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Video intent from the routing rules. Used to choose a model when tool is omitted and retained for Plan B; an explicit tool wins.",
      +  "type": "string"
      +}
  8. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Although readOnlyHint=true is supplied, the description goes well beyond it: it explains that proposing is free, that a measured price is required to mint a vorschlag_id, that variant counts multiply the displayed price, that a chosen familie pins the run so no silent fallback occurs, and that image references are scaled up rather than rejected. This is exactly the behavioral context annotations cannot carry.

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?

It is front-loaded and dense with useful routing information, and most sentences carry distinct obligations (validate, price, card/text, Dreamer prerequisite, execution hand-off). The standalone 'Free.' fragment and some parenthetical asides are slightly awkward, but no sentence is redundant.

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 25-parameter, multi-path proposal tool with no output schema, the description supplies the workflow contract, the return identity (vorschlag_id), the execution gate, and the price-integrity rule. Combined with the fully documented schema, an agent has everything needed to call it correctly.

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 a baseline of 3 applies, but the description adds cross-parameter logic not obvious from the fields alone: text-to-video is the default when no source image or clip is given, tool omission falls back to the default model per kind, and the reference position ordering is the address. It stops short of restating enum values and constraints that the schema already documents.

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 resource — 'Propose a generation for the user to confirm' — and immediately scopes it: parameter validation against the catalog, price computation, and a card-or-text output. It explicitly separates itself from lab_run_proposal (which actually executes), lab_generate/lab_animate (which enforce the Dreamer), and points to lab_list_models for model data.

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?

It names the prerequisite (run the prompt through lab_prompt_transform first, noting that proposals do not yet enforce this), the hand-off (nothing runs until lab_run_proposal is called with the returned vorschlag_id, by the card button or by the agent after user consent), and the fallback when no price is measurable. An agent knows exactly when to call this and what to do next.

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