Skip to main content
Glama

fit_clip

Frame a timeline clip as fill or fit, zoom in, and set focusX/focusY to choose which source area stays visible; useful for portrait footage in landscape or punching in on a subject.

Instructions

Frame a clip in the sequence: fill (cover the frame, cropping) or fit (show it all), zoom further in, and choose which part of the source stays in view. Use it for portrait footage in a landscape sequence (focusY picks the slice) or to punch in on a subject.

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": {
      "clip": "<clip>"
    },
    "name": "fit_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesTimeline clip id (from list_timeline)
modeNofill
zoomNoPercent on top of fill/fit; 150 = punch in 1.5x
focusXNo0 = left edge, 1 = right edge of the source
focusYNo0 = top, 1 = bottom of the source; e.g. 0.35 keeps heads in a portrait clip
projectNoPath to the .fcproj project file; omit to edit the FilmCraft app connected with connect_app

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false, so the agent knows this mutates state but nothing more. The description explains the visual effect of each mode but is silent on reversibility/undo, whether it applies immediately to the sequence, and what happens to prior framing settings. Useful semantic context, but the mutation-behavior gaps remain.

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 operation and its two modes front-loaded before the use-case sentence. Nothing is repeated from the schema and no sentence could be removed without losing 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 six-parameter mutation with no output schema and 83% schema coverage, the description covers the operation, the mode semantics, and the framing controls well. The gaps are the unexplained 'project' parameter fallback context and the lack of any statement about whether the change is immediate or reversible.

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 83%, so the baseline is 3. The description adds real value beyond it by giving the mode enum meaning (fill crops to cover, fit shows everything) — the schema lists those enum values with no description at all — and by restating focusY's role in practical terms ('picks the slice').

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?

Opens with a specific verb+resource+scope ('Frame a clip in the sequence') and immediately defines the two modes with plain-language meaning: fill = cover/crop, fit = show it all. This is clearly distinct from siblings such as set_speed, apply_effect, or trim_clip, so an agent can route correctly 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 two concrete when-to-use scenarios: portrait footage in a landscape sequence (with the focusY pointer) and punching in on a subject. It doesn't state when NOT to use it or name an alternative sibling, which keeps it from a 5.

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