Skip to main content
Glama

Insert element

insert_element

Adds a title, generator, or Fusion composition to a timeline at a chosen timecode and track without cutting or shifting existing clips; preview with a dry run first.

Instructions

Insert a title, generator or empty Fusion composition and, for Fusion titles such as Text+, set its text and look. It is added after the last clip and then moved to its place, so no other clip is cut or pushed. Examples: {"kind":"fusion_title","name":"Text+","text":"Hello","timecode":"01:00:05:00","track":2} | {"kind":"generator","name":"Solid Color"}

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "fusion_title",
      "name": "Text+",
      "text": "Hello",
      "track": 2,
      "timecode": "01:00:05:00"
    },
    "name": "insert_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
nameNoName in the Effects Library, e.g. 'Text+', 'Lower 3rd', 'Solid Color'
textNofusion_title: the text to show
styleNofusion_title: Text+ inputs, e.g. {Size: 0.06, Font: 'Open Sans', Center: [0.5, 0.15], Red1: 1}
trackNoVideo track; 0 = the first free track above the other clips
dry_runNotrue: only show the plan and get a confirm_token. false: do it, together with that token.
timecodeNoWhere it starts; empty = at the playhead
timelineNoHandle (tl:...) of the timeline to change, from list_timelines or state_snapshot.
confirm_tokenNoFrom the dry run of exactly this call. Works once, for five minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the element is appended after the last clip and then relocated, so existing clips are not cut or pushed, which is exactly the side-effect profile an agent needs for a non-readOnly, non-idempotent mutation. It does not mention the dry-run/confirm-token two-phase workflow, leaving that entirely to the schema.

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?

Two front-loaded sentences stating what happens and why it is safe for surrounding clips, followed by compact examples. The examples are somewhat redundant with the schema's examples field, which is the only wasted space.

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 9-parameter mutation tool with no output schema, the description covers purpose, placement semantics, and per-kind usage examples. The dry_run/confirm_token safety flow is absent from the prose, but the schema documents both fields thoroughly, so the gap is acceptable.

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 coverage is 89%, so parameters are largely documented already, and the description's two JSON examples restate the schema's own 'examples' array. It adds only a light clarification that 'text' and 'look' apply to Fusion titles such as Text+, which the schema already states per-property.

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 ('Insert a title, generator or empty Fusion composition') and enumerates the covered kinds, which maps onto the 'kind' enum. It also distinguishes itself from clip-appending siblings by explaining that the element is inserted into position rather than appended at the end.

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?

Makes clear which cases the tool serves (titles, generators, empty Fusion comps) and that Fusion titles can be populated with text and a look at insert time. It gives no explicit exclusions or comparison to alternatives like append_clips or fusion_templates, so the agent must infer when not to use it.

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