Skip to main content
Glama

ldraw_verify_step

Visually verify a single LDraw build step against a reference instruction image using a Vision LLM. Returns compact PASS JSON or detailed LDU discrepancy diagnosis with side-by-side PNG.

Instructions

Independently verify an LDraw step against a reference instruction image using a configured Vision LLM (Gemini or OpenAI-compatible). Returns compact JSON on PASS (zero image bloat) or LDU discrepancy diagnosis + side-by-side PNG on FAIL.

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": {
      "stepNumber": "<stepNumber>",
      "instructionImagePath": "<instructionImagePath>"
    },
    "name": "ldraw_verify_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
yawDegNoCamera azimuth angle in degrees (default -35)
ldrPathNoPath to .ldr or .mpd file
pitchDegNoCamera elevation angle in degrees (default 30)
extraRulesNoOptional model-specific or set-specific inspection rules appended to the QA prompt
ldrContentNoInline LDraw content (if ldrPath not provided)
stepNumberYes1-based global step number to verify
isolateSubmodelsNoAuto-hide main build when stepNumber is inside a submodel .ldr (default true)
alwaysReturnImageNoAttach side-by-side image even when status is PASS (default false to save context)
instructionImagePathYesPath to the reference LEGO instruction page PNG/JPG/WebP for this step

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?

No annotations are supplied, so the description carries the full burden, and it does real work: it discloses the conditional return shape (compact JSON on PASS with 'zero image bloat', LDU discrepancy diagnosis plus side-by-side PNG on FAIL) and the external Vision LLM dependency. It still omits cost/latency implications, credential failure behavior, and error modes for a 9-parameter tool that calls a remote model.

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, front-loaded with the action and mechanism, then the conditional output contract. The PASS/FAIL split is compressed into a single clause with no filler.

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 9-parameter tool with no annotations and no output schema, the description covers the essential unknowns: what it does, the external model dependency, and what is returned in each outcome. Remaining gaps (credential prerequisites, cost, side effects) are modest but non-trivial for a tool that makes paid remote calls.

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 every parameter including yawDeg, pitchDeg and extraRules is already documented in the schema. The description adds no syntax, format, or interaction detail (e.g. ldrPath vs ldrContent precedence) beyond what structured fields provide, so 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?

States a specific verb and resource: 'Independently verify an LDraw step against a reference instruction image', plus the mechanism (configured Vision LLM, Gemini or OpenAI-compatible) and the output contract. It is clearly distinct from the render/inspect siblings by the 'verify' verb, though it never names an alternative to contrast with.

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: the tool is for QA verification of a step against a reference instruction image, and the 'configured Vision LLM' phrase hints at a prerequisite. There is no explicit when-to-use versus ldraw_render_step, no guidance on when verification is unnecessary, and no mention that it requires external LLM credentials or incurs latency/cost.

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