Skip to main content
Glama

update_shot

Edit a single shot's prompts, type, character list, or clip length. Use when the user asks to tweak a specific shot. Pass only the fields you want to change. Call it once per shot the user asked to change. In the studio chat a change to the picture text (image_prompt) or the characters redraws that shot's picture in the same action, on the film's picture model at its usual per-picture price; a line under your reply says which pictures are redrawn (and their price) and which are not, so do not list them or call enqueue_generate_shot_image for them. It does not render the scene video (enqueue_generate_scene_video, priced first).

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": {
      "movieId": "<movieId>",
      "shotId": "<shotId>"
    },
    "name": "update_shot"
  }
}

Input Schema

NameRequiredDescriptionDefault
shotIdYesShot id (uuid) from list_shots.
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
shot_typeNoNew shot-type label (e.g. "wide establishing", "close-up").
charactersNoNew list of character names appearing in this shot.
keepPictureNotrue only when the user asked for a wording change and to keep the picture as it is (a typo, a rephrase): the picture is then not redrawn and nothing is charged. Default: a change to image_prompt or characters redraws the picture.
image_promptNoNew image generation prompt.
video_lengthNoNew clip length in seconds.
video_promptNoNew video generation prompt.

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?

With no annotations supplied, the description carries the full burden and does so: it discloses the side effect that editing image_prompt or characters redraws the picture in the same action, that this is billed at the film's usual per-picture price, and that the UI already reports which pictures were redrawn so the agent must not enumerate them. That is unusually rich cost and side-effect disclosure for a mutation tool.

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?

Purpose is front-loaded in the first two sentences and every sentence carries information. The final two sentences are long, multi-clause run-ons bundling pricing, UI reporting, and video-rendering exclusion, which makes them harder to scan than the opening.

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 8-parameter mutation tool with no annotations and no output schema, the description covers the essentials an agent needs: patch semantics, the billing side effect, the UI's own reporting of redraws, and the boundary against the two generation siblings. Nothing required for a correct call is missing.

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 real meaning beyond the schema: "Pass only the fields you want to change" communicates patch semantics, and the keepPicture cost consequence (no redraw, nothing charged) is reinforced in prose that the schema only states tersely.

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?

Opens with a specific verb and resource ("Edit a single shot") and enumerates the editable fields: prompts, type, character list, clip length. It immediately distinguishes itself from the generation siblings by stating it "does not render the scene video" and by warning against calling enqueue_generate_shot_image.

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 trigger ("Use when the user asks to tweak a specific shot"), a call-cardinality rule ("once per shot the user asked to change"), and two negative exclusions naming the alternatives: don't call enqueue_generate_shot_image for redraws and use enqueue_generate_scene_video for video rendering.

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