Skip to main content
Glama

Render Preview

render_preview
DestructiveIdempotent

Render a PNG preview of selected or all visible geometry, framed and isolated without changing the scene. Use it after each build step to inspect progress and catch issues early.

Instructions

Render a PNG of objects (and children) or all visible geometry, framed, others hidden, the scene unchanged. Returns: its path (open it, or inline). WHEN TO CALL: after each build step.

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

Input Schema

NameRequiredDescriptionDefault
pathNo*.png, only over a PNG (default render_dir)
viewNoDefault three_quarter
styleNoclay, random use workbench
viewsNoSeveral, in one PNG
engineNoDefault auto: cycles (CPU); eevee needs GPU
inlineNoReturn the image too
marginNoFraming slack (1.1)
azimuthNoDegrees, front 0, right 90
contextNoShown, not framed
markersNoReturn their pixels
objectsNoDefault all visible
samplesNoDefault 32
timeoutNoSeconds (120)
lightingNoDefault studio
elevationNoDegrees up
projectionNoDefault perspective
resolutionNoPixels (768)
ortho_scaleNoMetres on long side
transparentNoBackground
hide_from_cameraNoUnseen, still casting shadows

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The description usefully discloses that the scene is unchanged, that non-rendered geometry is hidden, and that it returns a path (optionally inline). However, annotations declare destructiveHint=true while the text only asserts the scene is untouched; the description never explains that the destructive aspect is writing/overwriting a PNG file at 'path', leaving an apparent tension for the agent.

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?

Very front-loaded and waste-free: purpose, return value, and call timing in three short clauses. Some phrasing is so compressed that it is ambiguous ('Returns: its path (open it, or inline)'), which slightly undercuts clarity.

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 a 20-parameter tool with no output schema, the definition covers purpose, return value, and call timing but omits engine cost/performance implications, file overwrite behavior, and timeout expectations. It is adequate alongside a fully documented schema but thin for the tool's complexity.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds real meaning for two parameters, clarifying that 'objects' includes children and that everything else is hidden, but the other 18 parameters (engine cost, timeout, framing, markers-vs-context) are left entirely to the schema.

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?

Specific verb+resource: 'Render a PNG of objects (and children) or all visible geometry'. The scope distinction between rendering a subset versus all visible geometry is stated, so the tool's purpose is unmistakable, though no sibling is named for contrast.

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?

'WHEN TO CALL: after each build step' gives one concrete trigger, but there are no when-not conditions, no guidance on choosing preview versus other scene-inspection siblings (e.g. get_scene), and no mention of cost/time tradeoffs between engines that would affect when to call it.

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