Skip to main content
Glama

Edit the open project

edit_project
Destructive

Change the open project in place — the way to tweak an open effect: one undo step, only the layers it changes rebuilt, the result checked and drawn.

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": {
      "patch": "<patch>"
    },
    "name": "edit_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoDraw the sheets on a fixed world rectangle instead of a framing of everything that shows (one oversized layer shrinks the rest): "framing" — the open project's Framing — or { minX, maxX, minY, maxY } in world px, y up (a 1080×1920 screen centred on the effect: -540…540, -960…960). Kept for the session's next builds, patches too; "auto" goes back to framing everything.
patchYesChanges to the spec the latest get_project returned (after an edit, to the project as it is now) — paths as it names them, or a layer by its id ("#sparks.sizeMode", "#g.layers[-]"). Layers added, removed, changed, moved; the length; the Quick Tweaks; the events and durationAt; not the tempo variants, animations or the intro / idle / outro set (build_effect + open_in_editor for those).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / patch / description
      Previous value: -"Changes to the spec the latest get_project returned (after an edit, to the project as it is now) — paths as it names them. Layers added, removed, changed, moved; the length; the Quick Tweaks; the events and durationAt; not the tempo variants, animations or the intro / idle / outro set (build_effect + open_in_editor for those)."New value: +"Changes to the spec the latest get_project returned (after an edit, to the project as it is now) — paths as it names them, or a layer by its id (\"#sparks.sizeMode\", \"#g.layers[-]\"). Layers added, removed, changed, moved; the length; the Quick Tweaks; the events and durationAt; not the tempo variants, animations or the intro / idle / outro set (build_effect + open_in_editor for those)."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the bar is lower, yet the description still adds real operational facts: the edit is a single undo step, only the affected layers are rebuilt, and the result is checked and redrawn. That tells an agent the cost and recoverability of a mutation beyond what the annotations state.

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?

A single front-loaded sentence with no filler, opening with the action and following with the three behavioral facts that matter. The em-dash chain is dense but each clause earns its place; it sacrifices some readability for compactness.

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 destructive patch-application tool the description covers undo granularity and partial rebuild, which are the key risks. It does not state failure behavior on an invalid patch path, nor does it explain when to prefer a full build_effect rebuild, leaving the agent to infer that from the schema text.

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% and both the view and patch parameters are documented in depth in the schema (path syntax, copy semantics, supported vs unsupported targets, coordinate example). The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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?

"Change the open project in place" gives a specific verb plus resource, and the appositive "the way to tweak an open effect" signals this is the incremental-edit path rather than a rebuild. It is clear what the tool does, though the actual contrast with build_effect is only spelled out later in the schema, not in the description itself.

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?

"the way to tweak an open effect" implies the situation (an effect is already open and you want small changes), which is a usable hint. There is no explicit when-not or pointer to an alternative sibling in the description; the exclusions (tempo variants, animations, intro/idle/outro) appear only inside the patch parameter description.

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