Skip to main content
Glama

Replace the entire Clipkit project

set_project
Destructive

Replace or create an entire video project with a JSON source. Use this primary build tool to compose scenes and update many elements in one operation.

Instructions

Replace the entire project with the given source JSON, returning its project_id. This is the PRIMARY way to build: use it to create a composition or to add/change many elements at once. (To tweak a single element in an existing project, use edit_element / add_element / delete_element instead.) Pass an existing project_id to replace that project; omit it to create a new one (note the returned id). The input is validated against the @clipkit/protocol before being accepted; invalid inputs return an error. Shape: { width, height, duration, frame_rate, output_format, background_color?, fonts?, camera?, lights?, elements:[…] }; every element has a type plus base fields (id, x, y, width, height, time, duration, track, opacity, rotation, animations, keyframe_animations) and type-specific fields. For exact field names + types call get_schema (optionally with an element_type) — the runtime ignores unrecognized keys, and this tool flags any it does not recognize.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesA full Clipkit source object.
project_idNoWhich project to act on — the id returned by create_project / set_project / create_promo / load_project. Omit when working on a single local project.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNo
heightNo
durationNo
project_idYes
element_countYes
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description adds validation behavior ('validated against the @clipkit/protocol before being accepted'), error behavior ('invalid inputs return an error'), and unknown-key handling ('flags any it does not recognize'). These operational details give the agent expectations for side effects and failure modes.

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?

The description is robust but every sentence earns its place: core action, primary usage, alternatives, id behavior, validation, shape summary, and schema pointer. It is front-loaded with the most important information and structured logically.

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

Completeness5/5

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

Given the nested object structure and presence of an output schema, the description is exceptionally complete. It covers operation, when to use, parameter behavior, validation, and unknown-key handling. Return values are not described but that is covered by the output schema.

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 compensates by explaining the source shape ('{ width, height, duration, ... elements:[…] }') and project_id semantics ('Pass an existing project_id to replace that project; omit it to create a new one'). It also points to get_schema for exact fields, adding guidance without replacing 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?

Description opens with 'Replace the entire project with the given source JSON, returning its project_id,' a specific verb+resource statement. It distinguishes itself from sibling tools by declaring 'This is the PRIMARY way to build' and contrasting with edit_element/add_element/delete_element for single-element tweaks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('to create a composition or to add/change many elements at once') and when not to ('To tweak a single element in an existing project, use edit_element / add_element / delete_element instead'). Also clarifies project_id behavior: pass to replace, omit to create new.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clipkit-video/clipkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server