Skip to main content
Glama

Regenerate Keyframe

regenerate_keyframe

Re-rolls a single keyframe panel without disturbing the others. Replaces only the keyframe at shot_index. Optional prompt_override redirects that one panel.

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": {
      "storyboard_id": "<storyboard_id>",
      "shot_index": "<shot_index>"
    },
    "name": "regenerate_keyframe"
  }
}

Input Schema

NameRequiredDescriptionDefault
shot_indexYes0-based index of the shot in the storyboard plan.
image_modelNoImage model id. Default: the shot's image_model_hint, else the first image model the account can use.
storyboard_idYesId of your storyboard (from plan_storyboard).
prompt_overrideNoPrompt for this panel instead of the one built from the plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / image_model / description
      Added value: +"Image model id. Default: the shot's image_model_hint, else the first image model the account can use."
    • addedInput schema / properties / prompt_override / description
      Added value: +"Prompt for this panel instead of the one built from the plan."
    • addedInput schema / properties / shot_index / description
      Added value: +"0-based index of the shot in the storyboard plan."
    • addedInput schema / properties / storyboard_id / description
      Added value: +"Id of your storyboard (from plan_storyboard)."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is known; the description usefully adds that the blast radius is limited to one panel and that prompt_override only affects that panel. It is silent on whether the call costs credits or returns an async job (a get_job sibling exists), which are the operationally important unknowns for an image regeneration.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and its scope, then the parameter nuance. Nothing is redundant with the title and every clause carries information.

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

Completeness4/5

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

With a fully documented 4-parameter schema and annotations covering the mutation/safety profile, the description covers what an agent needs: the action, the single-panel scope, and the override behavior. The remaining gap is cost/latency or job semantics for an image-generating mutation, which the definition does not address.

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%, including a defaulting rule for image_model and a precise meaning for prompt_override, so the baseline of 3 applies. The description's 'redirects that one panel' largely restates the schema's own wording rather than adding new meaning.

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?

Uses a specific verb and resource ('Re-rolls a single keyframe panel') and pins the scope to one item ('Replaces only the keyframe at shot_index'). That wording implicitly and effectively separates it from the bulk keyframe-generation sibling, so an agent can route correctly without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Without disturbing the others' establishes the clear context of redoing one panel of an existing storyboard rather than generating a whole set. It gives no explicit exclusion or named alternative, so it falls short of a 5, but the usage trigger is unambiguous.

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.