Skip to main content
Glama

Add a text title

add_text_title

Adds a text title and optional subtitle to a Premiere Pro timeline by placing an After Effects template, setting duration and position when native text layers are unavailable.

Instructions

Put a text title on the timeline in one call: places a title template, sets its text (and subtitle), its duration and optionally its position. Premiere Pro's scripting API cannot create native text layers (Graphics > New Layer > Text), and Premiere-made templates such as Basic Title do not expose their text, so the title is an After Effects template: by default Premiere's bundled "[AE] Sports Package/Sports Text Background.mogrt" (Title + Subtitle). Any After Effects template with a text field works as template_path (see find_mogrt_files with details=true). Returns the clip, text and subtitle (read back), text_field, position and template_path. Edit it later with set_mogrt_text.

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": {
      "text": "<text>"
    },
    "name": "add_text_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesTitle text (the template's first text field). Use "\n" for a line break.
timeNoStart, in seconds of sequence time. Default 0.
durationNoLength of the title, in seconds. Default 5.
positionNoMotion > Position of the clip, normalised [x, y] (0-1 of the frame): [0.5, 0.5] = unchanged centre, [0.5, 0.8] moves the graphic down. Default: the template's own placement.
subtitleNoText for the template's second text field, if it has one. Default empty.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
template_pathNoAnother .mogrt made in After Effects (absolute path); its first text field receives text. A Premiere-made template or one without a text field fails with UNSUPPORTED before anything is placed. Default: the bundled Sports Text Background template.
video_track_indexNo0-based video track (0 = V1). Default 1 (V2). Missing tracks are added.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only cover the safety profile (readOnly=false, destructive=false, idempotent=false), so the description adds real value: it names the default template, discloses that the write is atomic on failure ("fails with UNSUPPORTED before anything is placed"), and lists what is returned (clip, text, subtitle read back, text_field, position, template_path). It does not discuss side effects such as added tracks or behaviour when a sequence is missing, though the schema covers the track detail.

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 action and result are front-loaded in the first sentence, followed by rationale and the return shape. It is a single dense paragraph but nearly every clause carries information; the bundled template path is verbose yet necessary.

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?

For a 9-parameter, non-idempotent mutation with no output schema, the description supplies the missing return-value contract, the failure mode, the default template, and the follow-up editing tool. An agent has everything needed to call it correctly.

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 100%, so the schema already carries parameter meaning; the description only adds the identity of the default template_path and the fact that any AE template with a text field is acceptable. Baseline 3 is appropriate since it complements rather than duplicates 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?

"Put a text title on the timeline in one call" gives a concrete verb+resource, and the description immediately enumerates the composite operation (place template, set text/subtitle, duration, position). It is clearly distinguishable from set_mogrt_text (post-hoc editing) and find_mogrt_files (template discovery).

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?

It states the context of use (Premiere cannot create native text layers, so an AE .mogrt is required), routes the agent to find_mogrt_files with details=true for template selection, and routes follow-up edits to set_mogrt_text. It also states a hard precondition: Premiere-made or text-less templates fail with UNSUPPORTED. It stops short of explicit when-not-to-use guidance beyond that constraint.

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

Deploy Server

Other Tools