Skip to main content
Glama

ldraw_inspect_part

Inspect a single LDraw .dat part at a chosen color and rotation, returning its transformed LDU bounding box and a supersampled isometric PNG with color-coded axis arrows.

Instructions

Inspect a single LDraw .dat part at a given color and 3x3 rotation matrix. Returns its transformed LDU bounding box and a 2x-supersampled isometric 3D PNG with +X (Red), -Y Up (Green), and +Z (Blue) axis arrows.

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": {
      "datFile": "<datFile>"
    },
    "name": "ldraw_inspect_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
matrixNo9-number 3x3 rotation matrix 'a b c d e f g h i' (default identity)1 0 0 0 1 0 0 0 1
yawDegNoCamera azimuth angle in degrees (default -35)
datFileYesLDraw .dat filename (e.g. '3001.dat', '3895.dat', '3709b.dat')
pitchDegNoCamera elevation angle in degrees (default 30)
colorCodeNoLDraw color code (default 15 White)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it states the tool returns a transformed LDU bounding box and a 2x-supersampled isometric PNG, and it explains the axis-arrow color convention so output can be interpreted. Gaps remain around failure behavior for an unknown .dat filename and rendering cost/latency.

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

Conciseness5/5

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

Two sentences, zero waste, front-loaded with the operation and then the return value. Every clause carries information an agent would otherwise have to infer.

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?

For a 5-parameter, non-mutating inspection tool with no annotations and no output schema, the description covers inputs, transform semantics, and output artifacts well enough to invoke correctly. It stops short of explaining error conditions or how the returned PNG/bbox should be consumed downstream.

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%, with every parameter documented in-schema (including matrix format and defaults), so the baseline is 3. The description restates only color and the 3x3 matrix and adds nothing about the camera yawDeg/pitchDeg parameters, so it contributes no meaning beyond 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 ("Inspect") plus specific resource ("a single LDraw .dat part") and it scopes the operation to one part with a color and rotation, which separates it from a whole-model renderer. It never names a sibling such as ldraw_lookup_part or ldraw_render_step, so an agent must infer the distinction rather than being told.

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: 'single part', 'at a given color and 3x3 rotation matrix' suggests per-part visualization/measurement, and the call is clearly read-only inspection. There is no explicit when-to-use statement, no when-not-to-use, and no pointer to the alternative tool for looking up part metadata.

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