Skip to main content
Glama

Generate a scene keyframe

generate_scene_frame
Destructive

A scene's key visual, from its action, camera, cast (their selected portraits), location plate and props. Cheap; approve it before the video. What it is follows the scene's key_visual: direct (the default: none, refused; the video goes straight from the references), frame (the opening frame; generate_scene_video starts from it, or uses it as a reference when voice samples are sent), storyboard / storyboard_3x3 (a comic page of 4–6 or 7–9 panels, each a camera setup; the video plays them in order as cuts). Every source picture must exist first (each cast portrait, the location plate, each prop image): otherwise MISSING_ASSETS lists them. Costs credits (see estimate_cost); the result arrives as a take: poll with get_jobs or wait_for_jobs.

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": {
      "scene_id": "<scene_id>"
    },
    "name": "generate_scene_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoA model id from list_models; omitted = the drama's default for this kind
notesNoExtra direction for this generation only (not saved to the story)
scene_idYesThe scene id (scn_…), from get_episode.
idempotency_keyNoAny unique string you choose; resending the same key returns the first job instead of paying twice

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=true) by disclosing that credits are consumed, that the result is asynchronous and arrives as a take requiring polling, and that a MISSING_ASSETS error is returned when cast portraits, the location plate, or prop images are absent. It also describes output structure (4–6 or 7–9 panel comic pages, played in order as cuts). The only missing piece is what happens on partial failure or how long generation typically takes, so 4 rather than 5.

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 and kept to a compact block with no filler sentences; the cost/polling line is correctly deferred to the end. Density is high, though the deeply nested parenthetical enumerating key_visual modes plus their downstream video behavior is harder to parse than a short list would be.

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 an async, credit-consuming generation tool with four params and an output schema, it covers the essentials an agent needs: prerequisites, refusal conditions, cost, polling path, and error signal. Return-value structure is left to the output schema, which is the right division of labor.

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 description coverage is 100%, so model, notes, scene_id, and idempotency_key are already fully documented in structured fields; the description does not add format or default detail for any of them. Its added meaning is contextual rather than parametric – the prerequisite assets and the key_visual gating that decides whether the call succeeds – which is useful but not parameter-level semantics. Baseline 3 applies.

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 ('A scene's key visual, from its action, camera, cast... location plate and props') and enumerates the key_visual modes it can produce (direct, frame, storyboard, storyboard_3x3). It explicitly contrasts itself with generate_scene_video by saying the video 'starts from it, or uses it as a reference', so an agent can separate the two siblings without opening a 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 explicit when-to-use and when-not-to-use guidance: 'approve it before the video', and key_visual=direct is refused outright ('none, refused; the video goes straight from the references'). It routes the agent to estimate_cost for pricing and to get_jobs / wait_for_jobs for retrieval, naming the alternatives rather than leaving them implicit.

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.