Skip to main content
Glama

Scale a clip to frame size by default

set_item_scale_to_frame_size
Idempotent

Enable Scale to Frame Size for a Premiere Pro project item so future timeline instances fit the sequence frame; existing timeline clips remain unchanged.

Instructions

Turn on Scale to Frame Size for a project item: every instance placed on a timeline afterwards is scaled to fit the sequence frame. Clips already on a timeline are not changed, and the scripting API offers no way to turn it off again for the project item.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_item_scale_to_frame_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing forward-only semantics (only future timeline placements are affected) and irreversibility (the scripting API offers no way to turn it off for the item). These are exactly the facts an agent needs before committing to a non-read-only call that idempotent/destructive hints alone would not convey.

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?

Two sentences, zero filler, with the core action stated first and the caveats (existing clips untouched, no undo) following. Every clause carries decision-relevant 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 single-target mutation with no output schema, the description covers effect, timing, and reversibility well. The only gap is that it is silent on how the three optional selectors resolve (e.g., first name match), which the schema covers but the description does not reinforce.

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 description coverage is 100%, so item_id, item_name, and item_path are already documented in the schema, including the preference for item_id. The description adds only the notion of "project item" as the target, not any per-parameter guidance such as precedence among the three optional selectors.

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 ("Turn on Scale to Frame Size for a project item") and pins the scope to project items rather than timeline clips, which distinguishes it from the clip-level siblings. The effect is spelled out concretely: instances placed on a timeline afterwards are scaled to the sequence frame.

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?

Clearly establishes the condition under which this tool applies (items not yet on a timeline) and states that clips already on a timeline are not changed, which implicitly routes those cases elsewhere. It does not name the clip-level alternative explicitly, but the when-to-use boundary is unambiguous.

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