Skip to main content
Glama

setup_project

Idempotent

Atomically create a project with ordered scenes, shots, exact supplied-media mappings, timing, style and existing audio tracks. Or append structure to an existing edit. Validate everything before writing. No media generation or approval occurs. Reuse idempotencyKey on retries to return the original IDs.

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>",
      "idempotencyKey": "<idempotencyKey>",
      "title": "<title>",
      "aspectRatio": "<aspectRatio>"
    },
    "name": "setup_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNo
titleYes
editIdNo
scenesNo
aspectRatioYes
audioTracksNo
workspaceIdYes
idempotencyKeyYes
defaultImageModelNogoogle-nano-banana-2-1
defaultVideoModelNogoogle-gemini-omni-1-2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed56 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / audioTracks / items / properties / key / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / audioTracks / items / properties / key / maxLength
      Added value: +160
    • addedInput schema / properties / audioTracks / items / properties / key / minLength
      Added value: +1
    • addedInput schema / properties / audioTracks / items / properties / key / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / audioTracks / items / properties / key / type
      Added value: +"string"
    • removedInput schema / properties / audioTracks / items / properties / mediaId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / audioTracks / items / properties / mediaId / maxLength
      Added value: +160
    • addedInput schema / properties / audioTracks / items / properties / mediaId / minLength
      Added value: +1
    • addedInput schema / properties / audioTracks / items / properties / mediaId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / audioTracks / items / properties / mediaId / type
      Added value: +"string"
    • removedInput schema / properties / defaultImageModel / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / defaultImageModel / maxLength
      Added value: +160
    • addedInput schema / properties / defaultImageModel / minLength
      Added value: +1
    • addedInput schema / properties / defaultImageModel / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / defaultImageModel / type
      Added value: +"string"
    • removedInput schema / properties / defaultVideoModel / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / defaultVideoModel / maxLength
      Added value: +160
    • addedInput schema / properties / defaultVideoModel / minLength
      Added value: +1
    • addedInput schema / properties / defaultVideoModel / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / defaultVideoModel / type
      Added value: +"string"
    • removedInput schema / properties / editId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / editId / maxLength
      Added value: +160
    • addedInput schema / properties / editId / minLength
      Added value: +1
    • addedInput schema / properties / editId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / editId / type
      Added value: +"string"
    • removedInput schema / properties / scenes / items / properties / key / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / scenes / items / properties / key / maxLength
      Added value: +160
    • addedInput schema / properties / scenes / items / properties / key / minLength
      Added value: +1
    • addedInput schema / properties / scenes / items / properties / key / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / scenes / items / properties / key / type
      Added value: +"string"
    • removedInput schema / properties / scenes / items / properties / locationRef / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / scenes / items / properties / locationRef / maxLength
      Added value: +160
    • addedInput schema / properties / scenes / items / properties / locationRef / minLength
      Added value: +1
    • addedInput schema / properties / scenes / items / properties / locationRef / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / scenes / items / properties / locationRef / type
      Added value: +"string"
    • removedInput schema / properties / scenes / items / properties / shots / items / properties / imageMediaId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / imageMediaId / maxLength
      Added value: +160
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / imageMediaId / minLength
      Added value: +1
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / imageMediaId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / imageMediaId / type
      Added value: +"string"
    • removedInput schema / properties / scenes / items / properties / shots / items / properties / key / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / key / maxLength
      Added value: +160
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / key / minLength
      Added value: +1
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / key / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / key / type
      Added value: +"string"
    • removedInput schema / properties / scenes / items / properties / shots / items / properties / taggedAssets / items / properties / assetId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / taggedAssets / items / properties / assetId / maxLength
      Added value: +160
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / taggedAssets / items / properties / assetId / minLength
      Added value: +1
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / taggedAssets / items / properties / assetId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / taggedAssets / items / properties / assetId / type
      Added value: +"string"
    • removedInput schema / properties / scenes / items / properties / shots / items / properties / videoMediaId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / videoMediaId / maxLength
      Added value: +160
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / videoMediaId / minLength
      Added value: +1
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / videoMediaId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / scenes / items / properties / shots / items / properties / videoMediaId / type
      Added value: +"string"
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing atomicity (all-or-nothing write), validate-before-write semantics, and the absence of media generation or approval side effects. It also explains the idempotencyKey contract concretely — reuse on retries returns the original IDs — which turns the idempotentHint annotation into actionable behavior. This is the kind of mutation-safety context annotations alone cannot convey.

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?

Four short sentences, front-loaded with the primary action before the alternative mode, then behavior, then a retry note. Nearly every sentence earns its place; the only mild density cost is that 'exact supplied-media mappings, timing, style' compresses several parameter groups into one clause.

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?

For a 10-parameter, no-output-schema mutation tool, the definition covers the essentials: what gets created, the append mode, atomic validation, and the retry/ID return contract. It leaves out failure behavior (what a validation error returns) and the ordering/limit rules for the nested scene and shot arrays, which an agent would want before constructing a large payload.

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 0% across 10 parameters, so the description must carry the load. It maps meaning onto several groups — scenes/shots ordering, supplied-media mappings, timing, style, existing audio tracks, and the idempotencyKey retry contract — but says nothing about workspaceId, aspectRatio, defaultImageModel/defaultVideoModel, or the key/duration semantics and maxItems limits that govern the nested arrays.

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 ('atomically create a project with ordered scenes, shots... audio tracks') and enumerates the constituent payload, so an agent knows this is a bulk structural builder rather than a single-entity creator like create_scene or create_shot. The second mode ('append structure to an existing edit') is named explicitly, which further separates it from sibling creation tools.

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?

Gives clear conditions: use it to build a project wholesale, or to append structure when an edit already exists (the editId path). The boundary 'No media generation or approval occurs' tells the agent this is not the step that renders or approves. It stops short of naming specific alternatives (e.g., add_shot_media_ref, create_edit) for incremental changes, so it is clear context without explicit exclusions.

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.