Skip to main content
Glama

Screenshot / Isolated Node

screenshot-isolated

Render a single Node3D in isolation from a chosen camera angle, auto-framed and lit, returning a PNG for inspection without mutating the scene.

Instructions

Render a target Node3D in ISOLATION (only the target is visible, in its own world) from a chosen camera angle, framed automatically to its bounding box, lit by a default directional light, and return the result as a PNG image for direct LLM inspection. Identify the target with 'nodeRef'. Choose the view with 'cameraView' (Front/Back/Left/Right/Top/Bottom). Pick a 'background' (SolidColor or Transparent) and, for SolidColor, a hex 'backgroundColor'. The target is rendered via a temporary off-screen copy, so the edited scene is never mutated. Output is a square 'resolution'x'resolution' PNG, capped to keep the response transportable. NOTE: rendering needs a real GPU — a Godot launched with '--headless' yields an empty image, surfaced here as a structured error rather than a blank PNG. The image otherwise exists only in this conversation: when the user wants the picture as a file, pass 'savePath' and the PNG is also written inside the project (the result states 'Saved to ').

Argument types — give these arguments as RQL values (as in rql-mutate): {key: value, …}, [a, b], "text", 1.5, true, ref("Node3D#12") from a query result, godot.find("Name"); leave out keys you do not need: NodeRef — a node: ref("Node3D#12") from a query, godot.find("Name"), an instance id, or its path below the scene root as text ("Level/Player")

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": {
      "nodeRef": "<nodeRef>"
    },
    "name": "screenshot-isolated"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeRefYesReference to the target Node3D to render in isolation (instanceId preferred, else path). RQL: NodeRef
paddingNoFraming multiplier around the object. 1.0 = tight fit, 1.5 = 50% extra space. Default: 1.2.
savePathNoOptional file to also write the PNG to when the user wants the picture as a file, inside the project: 'res://Screenshots/shot.png', 'Screenshots/shot.png' (relative to the project root) or an absolute path under it. Missing folders are created and .png is added when there is no extension. Refused: anything outside the project, user://, res://.godot/, this addon's folder, another extension, an existing file (it never overwrites). The image is still returned. Godot imports the PNG, so a .import file appears beside it.
backgroundNoBackground mode for the render: SolidColor (default) or Transparent.
cameraViewNoCamera angle relative to the target's bounding box. Default: Front.
resolutionNoOutput image resolution in pixels (width = height). Default: 512.
fieldOfViewNoCamera vertical field of view in degrees. Default: 60.
farClipPlaneNoFar clip plane distance. Default: 4000.
nearClipPlaneNoNear clip plane distance. Default: 0.05.
backgroundColorNoHex background color (e.g. '#404040'). Used only when background is SolidColor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.38.0
    • addedInput schema / properties / savePath
      Added value: +{
      +  "description": "Optional file to also write the PNG to when the user wants the picture as a file, inside the project: 'res://Screenshots/shot.png', 'Screenshots/shot.png' (relative to the project root) or an absolute path under it. Missing folders are created and .png is added when there is no extension. Refused: anything outside the project, user://, res://.godot/, this addon's folder, another extension, an existing file (it never overwrites). The image is still returned. Godot imports the PNG, so a .import file appears beside it.",
      +  "type": "string"
      +}
  2. Addedv0.35.1

TDQS

A3.8/5.0
Behavior5/5

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

The description carries substantial behavior beyond the annotations: rendering happens on a temporary off-screen copy so the scene is never mutated, output resolution is capped for transportability, the image otherwise exists only in the conversation, and savePath refuses out-of-project paths, never overwrites, and leaves a .import file. The GPU/--headless failure mode being surfaced as a structured error is exactly the kind of operational detail annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core behavior is front-loaded in a dense opening sentence, but the trailing 'Argument types — give these arguments as RQL values' block and the repeated NodeRef explanation overlap the schema and lengthen the definition considerably. The final NodeRef sentence also ends with an unbalanced quote, a small structural blemish.

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?

With 10 parameters, no output schema and no destructive annotations, the description covers what an agent needs: what is rendered, how framing and lighting are handled, what the return is, and why a render might fail. Only the relative positioning against the other screenshot tools is absent.

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 schema already documents every parameter including defaults and savePath constraints. The description restates nodeRef forms (ref, godot.find, path) and the cameraView/background/backgroundColor choices, adding little that the schema does not already carry, so the baseline 3 applies.

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?

The first sentence states a specific verb and resource: render a target Node3D in ISOLATION with a PNG result, which implicitly separates it from the camera/viewport screenshot siblings via the isolation framing. Sibling names are never mentioned explicitly, so the agent must infer the split from the parenthetical 'only the target is visible, in its own world'.

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?

Useful situational guidance is present: pass 'savePath' when the user wants a file, and headless launches produce a structured error instead of a blank image. However, nothing says when to choose this over screenshot-camera or screenshot-viewport, which are the closest alternatives, so the routing decision is left to inference.

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