Skip to main content
Glama

Set composition settings

set_comp_settings

Update multiple composition settings in one call, changing only supplied keys and returning changed keys plus new values; width/height edits do not move layers.

Instructions

Change any composition settings in one call; only passed keys change. Returns the list of changed keys and the new settings. Note: changing width/height here does NOT move layers (use resize_comp to scale content, crop_comp_to_region to crop).

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_comp_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoRename the comp.
widthNoWidth in px (4-30000). Layers are not moved.
heightNoHeight in px (4-30000). Layers are not moved.
bgColorNoBackground color.
draft3dNoDraft 3D mode.
durationNoComp duration (seconds, 'Nf' or timecode). For layer-aware changes use set_comp_duration.
rendererNo3D renderer: 'classic3d', 'advanced3d', 'cinema4d', or a raw id from get_comp_info.renderers (e.g. 'ADBE Advanced 3d').
dropFrameNoDrop-frame timecode (29.97/59.94 fps).
frameRateNoFrames per second (1-999).
motionBlurNoComp motion blur switch (enables blur for layers with their MB switch on).
pixelAspectNoPixel aspect ratio, e.g. 1 or 0.9.
shutterAngleNoShutter angle in degrees (0-720).
shutterPhaseNoShutter phase in degrees (-360 to 360).
frameBlendingNoComp frame blending switch.
hideShyLayersNoHide layers whose shy switch is on in the timeline.
displayStartTimeNoTimecode/frame number the comp timeline starts at (seconds).
resolutionFactorNoPreview resolution: 'full'|'half'|'third'|'quarter', a factor (2 = half) or [x,y].
preserveNestedFrameRateNoPreserve frame rate when nested or in render queue.
preserveNestedResolutionNoPreserve resolution when nested.
motionBlurSamplesPerFrameNoMotion blur samples per frame (2-64).
motionBlurAdaptiveSampleLimitNoAdaptive sample limit (16-256).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations mark it as non-read-only and non-destructive, and the description adds important behavior beyond them: partial updates, returned changed keys/new settings, and the non-obvious fact that width/height changes do not move layers. It omits permission or undo details, but covers key side-effect boundaries.

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 update semantics; the return behavior and caveat follow logically. No wasted wording.

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 22-parameter mutation tool, the description covers the essential contract: partial updates, return shape, and the most important side-effect boundary. The rich schema carries the per-parameter detail, and annotations cover the safety profile, so no major gap remains.

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 per-field meanings are already supplied. The description still adds the cross-parameter partial-update contract ('only passed keys change') and repeats the width/height no-layer-movement caveat with routing to resize/crop tools.

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 ('Change') and resource ('composition settings'), plus partial-update scope ('only passed keys change') and explicitly distinguishes width/height behavior from resize_comp and crop_comp_to_region.

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 explicit alternatives for the risky width/height case: resize_comp for scaling content and crop_comp_to_region for cropping. It does not provide comprehensive when-to-use guidance for the other settings, but the core exclusions are clear.

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