Skip to main content
Glama

Apply framing to the project

apply_framing
Destructive

Copy one clip's framing settings to an entire project for fixed-layout recordings, clearing per-clip overrides and re-rendering finished clips.

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 }.

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. Addedv0.23.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond destructiveHint=true, it discloses exactly what gets destroyed: every clip's own sections are cleared unless keepOverrides, and finished clips are re-rendered. It also notes forward behavior ("New clips get it too") and the response shape, which annotations alone would never convey.

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?

One front-loaded sentence that leads with the action and the applicability constraint, followed by the return shape. It is dense with parentheticals and nested clauses, but no sentence is filler.

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 destructive mutation with no output schema, it covers the source of truth, the clear/keep behavior, the re-render default, the effect on future clips, and the returned fields. An agent has everything needed to call it correctly and know the consequences.

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 100%, so the baseline is 3; the description earns above that by explaining the semantics of `at` (the clip's section at that point, else its first framed section) and how keepOverrides interacts with the project framing (other clips' sections "still win"). It adds meaning rather than restating field descriptions.

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 (mode, nudge, subject, crop) and make it the project's reframe/reframeAdjust. It also scopes the operation to recordings with a fixed layout, which separates it from per-clip tools like rerender_clip or update_clip.

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 a concrete when-to-use condition ("a recording whose layout never changes (a slide deck with a webcam tile, a fixed camera)"), which implicitly excludes variable-layout projects. It does not name an alternative tool for the case where layouts vary, so the routing is clear but not exhaustive.

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