Skip to main content
Glama

Set sequence frame size

set_sequence_frame_size
Idempotent

Set a sequence's frame size in pixels, such as 1080x1920 for vertical video, while keeping existing clips at their scale and position. Preview size matches by default.

Instructions

Set a sequence's frame size in pixels, for example 1080x1920 for vertical video. Existing clips keep their scale and position; nothing is reframed (use auto_reframe_sequence for a reframed copy). By default the preview file size is set to the same size. Returns the frame and preview size read back and any not_applied settings.

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": {
      "width": "<width>",
      "height": "<height>"
    },
    "name": "set_sequence_frame_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYesNew frame width in pixels, 16-16384.
heightYesNew frame height in pixels, 16-16384.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
match_preview_sizeNoAlso set the preview file size to width x height. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantive behavior beyond the annotations: existing clips keep their scale and position, nothing gets reframed, and the preview file size defaults to the same size. It also discloses what the call returns (frame and preview size read back, plus not_applied settings), which is valuable since there is no output schema.

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?

Three tight sentences, front-loaded with the core action and example, then the non-obvious side effect, then the return contract. Every sentence carries information an agent needs before calling.

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 simple five-parameter mutation with no output schema, the description covers the effect on existing content, the default preview coupling, the alternative tool, and the return payload. Nothing material 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?

Schema coverage is 100%, with each parameter already documented including ranges and the match_preview_size default, so the baseline is 3. The description's note that the preview size defaults to the same size reinforces match_preview_size but largely restates the schema rather than adding new semantics.

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 ("Set a sequence's frame size in pixels") and immediately disambiguates with a concrete example (1080x1920 vertical video) plus an explicit boundary against auto_reframe_sequence. An agent can distinguish it from the many other set_* / *_frame_size siblings without opening the schema.

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?

Gives the key routing rule: this resizes the frame without reframing, and auto_reframe_sequence should be used when a reframed copy is wanted. That is a real when-to-use-this-vs-alternative signal, though there is no explicit prerequisite or when-not guidance (e.g., whether other sequence settings conflict).

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