Skip to main content
Glama

blender_setup_camera

Create or configure a Blender camera with focal length, sensor width, position, rotation, and depth-of-field autofocus, and optionally set it as the active render camera.

Instructions

Create or configure camera parameters (focal length, sensor, depth of field).

Parameters: camera_name: Identifier for the camera object (default: "Camera"). location: World position coordinates [x, y, z]. rotation: Euler orientation angles [rx, ry, rz] in radians. focal_length: Lens focal length in millimeters (e.g. 24, 35, 50, 85). sensor_width: Physical sensor width in millimeters (36.0 = Full Frame). dof_target: Object name to autofocus on. dof_fstop: Lens aperture f-stop for depth of field blur (default: 2.8). set_active: Set camera as the active rendering camera for the scene.

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": "blender_setup_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationNo
rotationNo
dof_fstopNo
dof_targetNo
set_activeNo
camera_nameNoCamera
focal_lengthNo
sensor_widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and leaves major gaps: it never states what happens on a name collision (create duplicate vs. mutate existing), what the call returns, whether Blender must be running/connected, or whether the operation is idempotent. It does add real value by specifying units (mm, radians) and default focal length and camera name, but says nothing about failure modes or side effects on the scene.

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-loaded purpose sentence followed by a clean parameter list; each line is short and scannable. Minor waste in repeating defaults already visible in the schema, and there is no closing note on returns or side effects where one would earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with no annotations and no output schema, the parameter documentation is complete but the behavioral story is thin. An agent still lacks the return value and the create-vs-update conflict semantics, which are exactly the things structured fields do not supply here.

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 description coverage is 0%, so the description must compensate, and it largely does: it documents all 8 parameters, adding units (mm, radians), examples (24/35/50/85), and the helpful 36.0 = Full Frame reference. It loses a point for restating JSON defaults verbatim and for not explaining array element order for location beyond [x, y, z] style hints.

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?

Description opens with a specific verb and resource: "Create or configure camera parameters," and enumerates the sub-domains (focal length, sensor, depth of field). An agent can tell this is the camera-creation/config tool rather than a lighting or transform tool, but nothing explicitly distinguishes it from siblings like blender_camera_track_to or blender_transform_object.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given. It is unclear whether this creates a new camera when the named one already exists, whether it should be used before or after scene setup, or how it relates to blender_camera_track_to for aiming. The only implicit cue is the set_active flag's role in rendering.

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