Skip to main content
Glama

set_film

Configure render film settings for transparent backgrounds and Cycles pixel filter width, supporting alpha compositing and control over image softness.

Instructions

Set film options: transparent background and pixel filter.

Args: transparent: Render the world background as transparent, for compositing or product cut-outs. Needs PNG or EXR output to keep the alpha. transparent_glass: Cycles only. Let the background show through glass and other transmissive surfaces when transparent is on. filter_width: Cycles pixel filter width in pixels, 0.01 to 10.0. 1.5 is Blender's default; lower is sharper, higher is softer.

Returns: Dict with the film settings after the change.

Input Schema

NameRequiredDescriptionDefault
transparentNo
filter_widthNo
transparent_glassNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: engine gating (Cycles only), the prerequisite that alpha only survives with PNG/EXR output, a bounded range (0.01–10.0), and Blender's default of 1.5 with the sharp/soft tradeoff explained. It also states the return shape. It omits that these are persistent scene/render settings affecting every subsequent render and whether changes are reversible.

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?

The docstring Args/Returns layout is slightly boilerplate, but every line contributes concrete information and the headline sentence front-loads the purpose. No filler or redundancy across entries.

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?

Three parameters, all documented, with engine and output-format dependencies spelled out, and an output schema exists so the return contract does not need elaboration. Remaining gap is workflow placement: not knowing whether film settings must be set before rendering or whether they interact with the world background setup.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate entirely, and it does: all three parameters get meaning, conditional applicability, units, valid range, and default values. The filter_width guidance ('lower is sharper, higher is softer') conveys the practical effect, not just the type.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Set film options') and immediately enumerates the two affected aspects: transparent background and pixel filter. An agent can distinguish this from render-config siblings like set_render_engine or set_output_format. It stops short of naming a closely related sibling such as set_world_background, which also controls what shows behind the scene.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage conditions are embedded in the parameter notes rather than stated up front: 'Needs PNG or EXR output to keep the alpha' and 'Cycles only' for transparent_glass give real gating rules. However there is no explicit statement of when to prefer this over alternatives (e.g. world background vs. transparent film) and no note on when it should be applied in a render workflow.

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