Skip to main content
Glama

Edit a project

edit_project
Destructive

Change the project. Changes apply in order, all or none. update_project: its name, details, master volume, and whether speech is made after each edit. The voiceover: insert_voiceover adds a block of text or SSML, or a pause, after or before a voiceover item, else at the end; update_voiceover changes a block's text, voice, voice settings or pauses, or a pause's length; move_voiceover moves an item next to another on its voice track, the items between closing up; delete_voiceover removes one. The picture and sound, in the shapes read_video_guide gives: add_block, update_block and delete_block for elements, video, images and audio; add_animation, update_animation and delete_animation; set_canvas; set_style and delete_style; set_font and delete_font; set_variable and delete_variable; set_script and delete_script, custom JavaScript the export runs. New items get ids of their own: give each a ref, and later changes in the same call can use the ref as its id. Blocks whose text, voice or settings change need speech again. Read read_video_guide before your first picture or sound change.

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

Input Schema

NameRequiredDescriptionDefault
changesYes
projectIdYesA project id from list_projects or create_project

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / changes / items / properties / action / anyOf
      Previous value: -[
      -  {
      -    "const": "update_project",
      -    "type": "string"
      -  },
      -  {
      -    "const": "insert_voiceover",
      -    "type": "string"
      -  },
      -  {
      -    "const": "update_voiceover",
      -    "type": "string"
      -  },
      -  {
      -    "const": "move_voiceover",
      -    "type": "string"
      -  },
      -  {
      -    "const": "delete_voiceover",
      -    "type": "string"
      -  },
      -  {
      -    "const": "add_block",
      -    "type": "string"
      -  },
      -  {
      -    "const": "update_block",
      -    "type": "string"
      -  },
      -  {
      -    "const": "delete_block",
      -    "type": "string"
      -  },
      -  {
      -    "const": "add_animation",
      -    "type": "string"
      -  },
      -  {
      -    "const": "update_animation",
      -    "type": "string"
      -  },
      -  {
      -    "const": "delete_animation",
      -    "type": "string"
      -  },
      -  {
      -    "const": "set_canvas",
      -    "type": "string"
      -  },
      -  {
      -    "const": "set_style",
      -    "type": "string"
      -  },
      -  {
      -    "const": "delete_style",
      -    "type": "string"
      -  },
      -  {
      -    "const": "set_font",
      -    "type": "string"
      -  },
      -  {
      -    "const": "delete_font",
      -    "type": "string"
      -  },
      -  {
      -    "const": "set_variable",
      -    "type": "string"
      -  },
      -  {
      -    "const": "delete_variable",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "const": "update_project",
      +    "type": "string"
      +  },
      +  {
      +    "const": "insert_voiceover",
      +    "type": "string"
      +  },
      +  {
      +    "const": "update_voiceover",
      +    "type": "string"
      +  },
      +  {
      +    "const": "move_voiceover",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_voiceover",
      +    "type": "string"
      +  },
      +  {
      +    "const": "add_block",
      +    "type": "string"
      +  },
      +  {
      +    "const": "update_block",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_block",
      +    "type": "string"
      +  },
      +  {
      +    "const": "add_animation",
      +    "type": "string"
      +  },
      +  {
      +    "const": "update_animation",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_animation",
      +    "type": "string"
      +  },
      +  {
      +    "const": "set_canvas",
      +    "type": "string"
      +  },
      +  {
      +    "const": "set_style",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_style",
      +    "type": "string"
      +  },
      +  {
      +    "const": "set_font",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_font",
      +    "type": "string"
      +  },
      +  {
      +    "const": "set_variable",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_variable",
      +    "type": "string"
      +  },
      +  {
      +    "const": "set_script",
      +    "type": "string"
      +  },
      +  {
      +    "const": "delete_script",
      +    "type": "string"
      +  }
      +]
    • addedInput schema / properties / changes / items / properties / script
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "set_script: { id, code }, custom JavaScript that runs in the export (not the editor preview or frame previews); it replaces the script with that id. Given gsap, tl (the timeline), root, duration, onFrame(draw), which calls draw(time) each frame, and el(id), which finds a block or element by its id or a ref from this call.",
      +  "properties": {},
      +  "type": "object"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true, non-idempotent, non-read-only; the description adds genuinely new behavior: the whole call is atomic ("all or none"), changes execute in listed order, new items can be addressed by a `ref` defined earlier in the same call, and edited blocks require re-synthesis of speech. It also flags a required prerequisite read before picture/sound edits.

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?

The critical behavior (atomic, ordered) is front-loaded in the first sentence, and the action catalog is compressed into telegraphic semicolon lists that fit a 20-action tool. Density is high and the colon-prefixed action names read like tool names, which costs some readability, but nearly every clause carries information.

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 destructive batch mutation with no output schema, the description covers atomicity, ordering, ref linkage, speech regeneration, and the guide prerequisite. The remaining gap is the return value — it never says whether the response surfaces the generated ids for new items, which an agent needs in order to chain a follow-up call in a later request.

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 50% at the top level, but the nested schema itself is densely described, so the description's job is mostly framing — which it does by grouping the 20 flat action enum values into voiceover actions versus picture/sound actions, and by explaining the ref-then-id pattern and the ordering guarantee. It does not add detail about individual field payloads (e.g. block, animation, variable shapes), leaving those to the schema.

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?

Opens with a specific verb+resource ("Change the project") and then enumerates the full scope: project fields, voiceover operations, and picture/sound operations by action family (add_block/update_block/delete_block, set_canvas, set_style, set_script, etc.). An agent can tell this is the single mutation surface for a project and distinguish it from siblings like read_project, export_project or update_avatar without opening the schema.

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 a concrete prerequisite ("Read read_video_guide before your first picture or sound change") and a downstream condition ("Blocks whose text, voice or settings change need speech again"), plus the ordering rule that later changes can reference earlier refs. It does not state when to prefer this tool over an alternative path for voiceover edits, so it stops short of full when/when-not guidance.

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.