Skip to main content
Glama

update_shot

Update an existing shot. Can change scene, order, timing, media refs, dialogue, motion prompt, and tagged assets. Only provided fields are changed.

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

Input Schema

NameRequiredDescriptionDefault
orderNoNew order position
editIdYesThe edit ID
shotIdYesThe shot ID
volumeNoVolume level (0-1)
clipEndNoClip end time, or null to clear
sceneIdNoMove shot to a different scene
dialogueNoVisible on-screen character speech for intentional lip-sync/TTS. Do not use for off-screen narration or captions.
durationNoNew duration in seconds
clipStartNoClip start time
mediaRefsNoComplete replacement list of fine-grained media refs
speedRampNoVariable speed curve, or null to clear
startTimeNoTimeline start time in seconds; usually derived by editor
rawDurationNoFull source duration in seconds
videoPromptNoVideo/motion prompt for camera movement and action
workspaceIdYesThe workspace ID
imageMediaIdNoNew image media reference, or null to clear
taggedAssetsNoUpdated tagged asset IDs
videoMediaIdNoNew video media reference, or null to clear
playbackSpeedNoPlayback speed multiplier
hideStartFrameNoHide/remove the Start Frame tab
linkEndToNextStartNoAuto-use next shot start frame as this shot end frame
linkStartToPrevEndNoAuto-use previous shot end frame as this shot start frame

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / mediaRefs / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / mediaRefs / items / properties / order / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / mediaRefs / items / properties / versionOverride / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / speedRamp / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "curve": {
      -        "description": "Cubic bezier control points [c1x,c1y,c2x,c2y]",
      -        "items": {
      -          "type": "number"
      -        },
      -        "maxItems": 4,
      -        "minItems": 4,
      -        "type": "array"
      -      },
      -      "enabled": {
      -        "description": "Whether variable speed ramping is active",
      -        "type": "boolean"
      -      },
      -      "endSpeed": {
      -        "description": "Playback speed at shot end",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "startSpeed": {
      -        "description": "Playback speed at shot start",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "enabled",
      -      "startSpeed",
      -      "endSpeed",
      -      "curve"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "curve": {
      +        "description": "Cubic bezier control points [c1x,c1y,c2x,c2y]",
      +        "items": {
      +          "type": "number"
      +        },
      +        "maxItems": 4,
      +        "minItems": 4,
      +        "type": "array"
      +      },
      +      "enabled": {
      +        "description": "Whether variable speed ramping is active",
      +        "type": "boolean"
      +      },
      +      "endSpeed": {
      +        "description": "Playback speed at shot end",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "startSpeed": {
      +        "description": "Playback speed at shot start",
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "enabled",
      +      "startSpeed",
      +      "endSpeed",
      +      "curve"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the one behavior an agent most needs: unspecified fields are left untouched. However, it omits mutation-relevant behavior such as permissions/authorization needs, whether timeline startTime is recomputed, and side effects of linkage flags (linkEndToNextStart / linkStartToPrevEnd) on neighboring shots. It also doesn't flag that mediaRefs is a complete replacement list rather than a merge — a destructive nuance only visible in the schema.

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?

Two short sentences, front-loaded with the verb and resource, with no filler. The partial field enumeration is the only soft spot: it is long enough to imply completeness while omitting several supported fields.

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

Completeness2/5

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

For a 22-parameter mutation tool with no annotations and no output schema, the definition is too thin: it says nothing about return shape, error/permission conditions, or how it interacts with the many sibling tools that edit shot sub-resources. The patch-semantics sentence is valuable but insufficient for a tool of this complexity.

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 the baseline is 3. The description groups the 22 parameters into readable categories (scene, order, timing, media refs, dialogue, motion prompt, tagged assets), which helps orientation, but the list is partial — volume, playbackSpeed, speedRamp, hideStartFrame and the link flags are unmentioned — and it adds no format or constraint detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Update an existing shot") and enumerates the classes of fields it can change, so the agent knows this is a broad field-patch tool for a shot. It does not differentiate from siblings that overlap heavily, notably move_shot_to_scene (sceneId is exposed here), update_shot_media_ref / add_shot_media_ref (mediaRefs are exposed here), and update_edit.

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

Usage Guidelines3/5

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

"Only provided fields are changed" implies partial-update (patch) usage, which is the main implied guidance. There is no explicit when-to-use versus the sibling tools that touch the same data — nothing tells the agent whether to move a shot via this tool's sceneId or via move_shot_to_scene, or whether to edit individual media refs here or through update_shot_media_ref.

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.