Skip to main content
Glama

ldraw_render_step

Render an LDraw .ldr or .mpd model up to a chosen step as a 2x-supersampled isometric PNG, optionally save it, stitch a reference image, or isolate submodels.

Instructions

Render an LDraw .ldr or .mpd model up to a specific stepNumber into a 2x-supersampled 3D isometric PNG with bounding-box diagnostics, optional side-by-side reference stitching, and Sub-Build Isolation (0 FILE <submodel>.ldr).

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

Input Schema

NameRequiredDescriptionDefault
yawDegNoCamera azimuth angle in degrees (default -35)
ldrPathNoPath to .ldr or .mpd file
pitchDegNoCamera elevation angle in degrees (default 30)
showAxesNoDraw +X (Red), -Y Up (Green), +Z (Blue) axes from origin (0,0,0)
ldrContentNoInline LDraw content (if ldrPath not provided)
stepNumberNo1-based global step number to render up to (omit for final step)
savePngPathNoOptional file path to save the rendered PNG on disk
isolateSubmodelsNoAuto-hide main build when stepNumber is inside a submodel .ldr (default true)
highlightCurrentStepNoFade previous steps slightly so newly added parts in stepNumber stand out
instructionImagePathNoOptional path to reference instruction PNG to stitch side-by-side
transparentBackgroundNoRender with transparent RGBA background instead of white

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden, and it does disclose meaningful traits: 2x supersampling, bounding-box diagnostics, optional stitching, and sub-build isolation behavior. However, it never states what the call actually returns (inline image vs. saved file path vs. text diagnostics), nor whether the 'diagnostics' accompany the image or are conditional, leaving a notable gap for an 11-parameter tool.

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?

A single front-loaded sentence that starts with the action and packs the differentiating capabilities, with no filler or restated name. It is dense to the point of being hard to parse in one pass (three parenthetical qualifiers stacked at the end), which keeps it just short of a 5.

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 11-parameter rendering tool with no annotations and no output schema, the description covers the rendering pipeline and its options reasonably well. It is missing the return contract (image vs. diagnostics vs. saved path) and any note on prerequisites like library availability or cost of rendering, which an agent needs before invoking.

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 ranges, making 3 the baseline. The description reinforces stepNumber, savePngPath/stitching, and isolateSubmodels but adds no semantics for parameters like transparentBackground, highlightCurrentStep, or the yaw/pitch camera angles beyond what the schema says.

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?

Names a specific verb and resource: 'Render an LDraw .ldr or .mpd model up to a specific stepNumber into a 2x-supersampled 3D isometric PNG.' It also enumerates distinguishing output features (bounding-box diagnostics, side-by-side reference stitching, Sub-Build Isolation), which separates it from siblings like ldraw_verify_step or ldraw_pack_mpd that operate on the same file types.

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 is only implied: rendering 'up to a specific stepNumber' and the isolateSubmodels note hint at producing instruction step images. There is no explicit when-to-use vs. when-to-prefer-another-tool guidance (e.g., render vs. verify vs. pack), and no stated preconditions such as needing a resolvable part library.

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