Skip to main content
Glama

Inspect a .mogrt file

inspect_mogrt_file
Read-onlyIdempotent

Reads a .mogrt file directly to reveal its template title, author app, duration, frame rate, dimensions, fonts, and editable controls with defaults, without placing it in Premiere Pro.

Instructions

Read a .mogrt file's definition without placing it: template title, author_app ("aefx" = made in After Effects, "ppro" = made in Premiere Pro), duration (seconds), frame_rate, width, height, fonts, and controls (each editable field with name, type text/checkbox/slider/color/point/group and its default value). Reads the file directly; Premiere is not needed. Only After Effects templates can be edited by script after placing (set_mogrt_text, set_mogrt_parameter); Premiere-made ones keep their default text. Use list_mogrt_parameters for a template already on the timeline.

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": {
      "file_path": "<file_path>"
    },
    "name": "inspect_mogrt_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesThe .mogrt file. Absolute path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond them: it reads the file directly with no Premiere dependency, and it discloses the AE vs Premiere author_app distinction that determines whether later edits will take effect. It does not cover failure modes (missing/invalid file) or how large templates are handled, which keeps it from a 5.

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?

Front-loaded with the core action and output list, and the inline glosses on 'aefx'/'ppro' and control types are genuinely useful rather than padding. It is a dense single block, however, and the routing guidance at the end would be easier to parse as a separate sentence.

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?

With no output schema, the description carries the return-value burden and does so thoroughly by listing every field including nested control metadata. For a one-parameter read tool whose annotations already cover safety, nothing an agent needs in order to call it correctly is missing.

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?

There is a single parameter and the schema already documents it fully ('The .mogrt file. Absolute path.'), so the high coverage baseline applies. The description adds no further path syntax, extension constraints, or examples, leaving the schema to carry the parameter entirely.

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 ('Read a .mogrt file's definition without placing it') and then enumerates exactly what is returned: title, author_app, duration, frame_rate, dimensions, fonts, and the control list with types and defaults. It also distinguishes itself from the sibling that inspects templates already on the timeline.

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 gives the use case (inspect before placing, no Premiere required) and the alternative with its selecting condition: 'Use list_mogrt_parameters for a template already on the timeline.' It further routes the agent by noting that only AE-made templates can be edited afterward via set_mogrt_text/set_mogrt_parameter.

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