Skip to main content
Glama

create_shot

Create a new shot in an edit. Optionally provide a prompt to auto-create a linked MediaDocV2 for image generation. When videoPrompt is omitted, it falls back to the visual image prompt only. Dialogue is never appended automatically.

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>",
      "sceneId": "<sceneId>"
    },
    "name": "create_shot"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoPosition in shot order
editIdYesThe edit ID
promptNoImage prompt for AI generation (visual description ONLY — do NOT include dialogue text). Will create a linked MediaDocV2.
volumeNoShot video audio volume
clipEndNoSource clip trim end in seconds; defaults to duration
sceneIdYesThe scene ID this shot belongs to
dialogueNoVisible on-screen character speech for this shot. Stored separately for intentional lip-sync/TTS use. Do not use for off-screen narration or captions.
durationNoEditorial shot duration in seconds. Five seconds is only a compatibility fallback. For planned edits, choose and pass the duration that fits this shot's narration or story beat.
clipStartNoSource clip trim start in seconds
mediaRefsNoFine-grained shot media refs for image/video/start/end/reference frame tabs
speedRampNoVariable playback speed curve
startTimeNoTimeline start time in seconds; usually derived by the editor
rawDurationNoFull raw source duration in seconds
videoPromptNoVideo/motion prompt for camera movement and action. Include speech only when visible on-screen character lip-sync is intentionally required. Never include off-screen narration.
workspaceIdYesThe workspace ID
imageMediaIdNoExisting image media reference
taggedAssetsNoAsset IDs to tag in this shot
videoMediaIdNoExisting video media reference
playbackSpeedNoShot playback 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
    • removedInput schema / properties / speedRamp / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does disclose non-obvious side effects: supplying prompt creates a linked MediaDocV2, videoPrompt falls back to the image prompt, and dialogue is never auto-appended. It stops short of covering ordering/linkage side effects (linkStartToPrevEnd, linkEndToNextStart) or any auth/permission requirements for a mutating 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?

Three short sentences, front-loaded with the core action and then the secondary behaviors; no filler. The final sentence ('Dialogue is never appended automatically') is slightly cryptic without the schema, but it earns its place as a warning.

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

Completeness3/5

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

For a 22-parameter, nested-object create tool with no annotations and no output schema, the description covers only the prompt/dialogue family of parameters. The schema is fully described, so trims, speedRamp, mediaRefs, and linkage flags are documented in structured data, but the description gives no orientation on the create payload as a whole or what is returned.

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 baseline is 3. The description goes beyond that by explaining a cross-parameter relationship the schema documents only in isolation: the videoPrompt→prompt fallback and the rule that dialogue is stored separately and never merged into prompts, which disambiguates prompt/videoPrompt/dialogue usage.

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?

The description opens with a specific verb+resource ("Create a new shot in an edit") and adds the key optional behavior (prompt auto-creating a linked MediaDocV2). It does not distinguish itself from the sibling create_shot_with_media, so an agent cannot tell from the description alone which creation tool to pick.

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?

Usage is only implied: 'Optionally provide a prompt' hints at when the auto-generation path applies, and the videoPrompt fallback is clarified. There is no explicit when/when-not guidance, no prerequisites (must editId/sceneId already exist), and no routing to create_shot_with_media or add_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.