Skip to main content
Glama

Update Film Project

update_film_project
DestructiveIdempotent

Update a film project: save the script (logline + shots), advance status, attach generated assets, or change the cast/theme.

Shots: pass the full shots array to replace the shot list (e.g. when first saving the script), OR patch_shots to merge changes into existing shots by id (e.g. after generating one shot's storyboard/clip). Save a requested resolution on each shot. If omitted, the film uses 720p or the closest tier the shot's model offers. When rendering with generate_video, pass the model, duration and resolution returned in the preview; these are the settings used for its estimate.

Status values: drafting → script_ok → storyboard_ok → rendering → preview_ok → final. Set status to reflect approval gates as the user approves. Each update may move status forward by at most one step (or keep it, or move it back for revisions), so skipping a gate is rejected.

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": {
      "id": "<id>"
    },
    "name": "update_film_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesFilm project id from create_film_project or list_film_projects.
nameNoNew project title.
briefNoNew creative brief.
shotsNoFull validated shot list; replaces the existing list.
statusNoApproval stage; moves forward one stage per call.
loglineNoThe film's one-line premise.
theme_idNoBrand theme id.
audio_urlNoFull narration track URL
patch_shotsNoValidated partial shot updates merged by stable id.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
assembled_urlNoFinal stitched film URL
character_idsNoCharacter ids for the cast.
budget_projectNoTie this film to a budget project (slug, id or name); null removes it.
target_duration_sNoTarget total film length in seconds; fractional values are rounded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description corroborates that by stating the full `shots` array replaces the existing list, so the destructive path is disclosed where it matters. It also adds non-obvious constraints absent from annotations: one-stage-per-call status advancement, back-stepping allowed for revisions, and gate skipping rejected. Missing is any statement about what the call returns or failure/partial-update behavior.

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?

Front-loaded summary sentence, then two short labeled paragraphs ('Shots:' and 'Status values:') that each address exactly one ambiguity. No filler, no restatement of the schema field list.

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 14-parameter mutation tool with no output schema, the description covers the two genuinely ambiguous parameters and the status lifecycle, which is enough to call it correctly. A small gap remains: it refers to settings 'returned in the preview' without stating where the preview comes from, implying the agent must use get_film_project and should be told so.

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 earns more by explaining the semantic relationship between the two shot parameters (replace vs merge-by-id) and by giving the defaulting rule for per-shot resolution plus the instruction to reuse the preview's model/duration/resolution in generate_video. The status enum values are spelled out in order, which clarifies the enum beyond the schema's flat list.

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?

The opening sentence names a specific verb (update) plus the resource (film project) and enumerates the four updateable surfaces: script, status, generated assets, cast/theme. An agent can tell immediately this is the mutation path for an existing project rather than creation or retrieval.

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?

Strong guidance on the ambiguous choice inside the tool: full `shots` replacement for first-time script saves versus `patch_shots` merge-by-id after generating a single storyboard or clip. Status transitions are also framed as approval gates with an explicit rejection rule for skipping. It stops short of contrasting with siblings like create_film_project or delete_film_project, which the 'update' verb mostly makes obvious.

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.