Skip to main content
Glama

Apply framing to the project

apply_framing
Destructive

Copy one clip's framing to the whole project for fixed-layout recordings. Clear per-clip overrides unless kept and re-render finished clips so new clips inherit it.

Instructions

Make one clip's framing the whole project's, for a recording whose layout never changes (a slide deck with a webcam tile, a fixed camera): the clip's section at at (else its first framed section) gives the mode and its nudge / subject / crop, which become the project's reframe and reframeAdjust; every clip's own sections are cleared (unless keepOverrides) and the finished clips re-render. New clips get it too. Returns { reframe, adjust, cleared, rerendered }.

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": {
      "clipId": "<clipId>"
    },
    "name": "apply_framing"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoSeconds from the start of the source: which section of the clip to copy (default: its first section that is not plain automatic)
clipIdYesClip whose framing to copy (from get_project or search_clips)
rerenderNoRe-render the finished clips now (default true)
keepOverridesNoLeave other clips' own sections in place; they still win over the project's framing (default false: clear them)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.23.0

TDQS

A4.6/5.0
Behavior5/5

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

With only destructiveHint=true supplied, the description carries real weight: it discloses that every clip's own sections are cleared unless keepOverrides, that finished clips re-render, that new clips inherit the framing, and that overrides still win over project framing. It also spells out the return payload, so the agent knows what is destroyed and what comes back.

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-loads the core action, then the scoping condition, then the side effects and return shape — a sensible order with no filler. The first sentence is dense with nested parentheticals, which costs a little readability, but each clause carries information.

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 4-parameter mutating tool with no output schema, the description covers the trigger condition, the section-selection fallback, the destructive side effects, the override escape hatch, re-render behavior, and the return fields. There is no material gap an agent would need filled before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds genuine meaning: `at` falls back to the first non-automatic framed section, and the copied section's mode/nudge/subject/crop map onto the project's reframe and reframeAdjust. That relationship between input and resulting state is not in 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?

States a specific verb and resource: copy one clip's framing section into the project-level reframe/reframeAdjust. It immediately scopes the applicable recordings (fixed layout, slide deck with webcam tile), which separates it from general project-mutation siblings like update_project_style or apply_layer_template.

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 an explicit when-to-use condition — recordings whose layout never changes — and the parenthetical examples make that concrete, implying the negative case (varying layouts) without naming an alternative tool. It lacks a direct 'use X instead' pointer, which keeps it below a 5.

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