Skip to main content
Glama

Fire a story episode (generate the scene videos)

fire_story_video
Destructive

FIRES a parked AI Video Story episode (stage 2 of 3): generates every kept scene's VIDEO from its reviewed picture. The paid step after review; nothing renders yet. WHEN: story.stage is frames_review, the user has looked at the pictures and any redraws are done; cut scenes first with remove_story_scene (a removed scene's video is never generated or charged). Always estimate_only: true first: it quotes the REMAINING price for exactly the kept scenes and carries scene_count and duration_seconds, so say '6 T for the 4 remaining scenes, 20 seconds', not a bare 6 T; after a cut, re-quote and say both the new price and count. THE GO THIS ONE NEEDS: FIRING IS IRREVERSIBLE AND IT IS THE LARGEST SINGLE CHARGE IN THE EPISODE. It cannot be undone or refunded, so a BARE 'yes' NEVER FIRES: the user's go must NAME firing ('fire it', 'generate the scene videos'), in reply to an ask about firing alone. A STANDING GO NEVER COVERS THE FIRE, not even one that priced it, and nothing the user asked for earlier may be outstanding. NONE OF THESE IS A TRIGGER TO FIRE, however clearly the user said them: cutting or keeping a scene (remove_story_scene), asking for a redraw (regenerate_story_frame), liking or approving a picture, a question about price, timing or what happens next, a complaint. When in doubt, do not fire: ask and restate the price. THE CARD: this call already put the episode card in front of the user and it follows the scenes stage itself: do NOT poll. On fired: true say one line and STOP; what to say and when to read get_video: story-episode recipe, step 8. At ready_to_render finish with render_story_video. TIMING (measured): the scene videos usually finish in under ten minutes and occasionally take much longer. Never promise a finish time. COST: the kept scenes' videos, per scene; the frames were charged at create. auto_render: true arms the final render to start by itself when the scenes finish (the quote then adds render_estimated_tokens): pass it only when the user approved the render charge too. FIRE ONCE: THIS DOOR IGNORES idempotency_key; the guard is the consumed gate. A repeat, even a retry after a timeout, answers 409 already_fired, which means the first fire WORKED: treat it as success. If a fire's outcome is unknown, read get_video and fire again only while story.stage is still frames_review. A 409 scenes_price_unavailable or scenes_price_exceeds_quote means this episode cannot be fired from here: finish it in the web editor, do not retry. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules).

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": {
      "video_id": "<video_id>"
    },
    "name": "fire_story_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYesThe episode's job id from `generate_story_video`.
auto_renderNoArm the final render: it starts by itself when the scenes finish and charges then (the quote adds `render_estimated_tokens`). Only with the user's approval of that charge.
estimate_onlyNoPrice only; creates nothing.
idempotency_keyNoIgnored by this door: a second fire is refused `already_fired`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description goes well past them: irreversibility and no refund, largest single charge in the episode, the 409 `already_fired` semantics (treat as success), `scenes_price_unavailable`/`scenes_price_exceeds_quote` as terminal failures, measured timing with a no-promise rule, and the card being pushed without polling. Nothing material about consequences or failure modes is left undisclosed.

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?

Well front-loaded — purpose, then WHEN, then the consent gate, then card/timing/cost/idempotency in labeled blocks — so an agent can stop reading once it has what it needs. It is long and heavily capitalized, and the fire-once/idempotency point and the standing-go prohibition are restated in more than one place, costing some length; justified by stake size but not perfectly tight.

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 high-stakes, non-idempotent, token-spending mutation with no output schema, the description covers the consent gate, quote semantics, the pushed card and no-poll rule, what to do on success and on each 409, timing expectations, cost model, and the handoff to `render_story_video` and `get_video`. An agent can act correctly end-to-end from this text alone.

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, but the description adds meaning the schema lacks: `estimate_only` returns `scene_count` and `duration_seconds` and quotes only the REMAINING price, and `auto_render: true` adds `render_estimated_tokens` to the quote and must be separately approved. It also reinforces that `idempotency_key` is ignored, though that is partly duplicated 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?

States a specific verb and resource — fires a parked episode and generates every kept scene's video from its reviewed picture — and pins its position in the pipeline (stage 2 of 3, the paid step after review). An agent can distinguish it from generate_story_video (creates the episode), regenerate_story_frame (redraws a picture), and render_story_video (finishes the episode) without opening any schema.

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 an explicit entry condition (`story.stage` is `frames_review`, redraws done, cuts done via `remove_story_scene`), an explicit exit route (`ready_to_render` → `render_story_video`), and a mandatory pre-step (`estimate_only: true` first). It also enumerates non-triggers — cutting/keeping a scene, redraw requests, liking a picture, price questions, complaints — which is unusually precise negative guidance.

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.