Skip to main content
Glama

Study a reference build

study_reference
Read-onlyIdempotent

Analyse a reference LEGO build file (.ldr, .mpd, .io) to learn its proportions and techniques, returning part count, footprint, height, SNOT share, colours, and top parts without changing the file.

Instructions

Analyse a reference LEGO build file to learn its proportions and techniques.

Use when the user gives an .ldr, .mpd or BrickLink Studio .io as a reference (not a photo: for photos use compare). Returns plain text: part count, footprint in studs, height, parts per covered stud, how hollow it is, the share of sideways (SNOT) and angled parts, part categories, main colours and the 30 most used parts. Read-only: does not change or save the file. To check whether that file is buildable use check.

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": {
      "path": "<path>"
    },
    "name": "study_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to a reference model: .ldr, .mpd or BrickLink Studio .io

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / path / description
      Added value: +"Path to a reference model: .ldr, .mpd or BrickLink Studio .io"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is structured data; the description only reinforces it with 'does not change or save the file'. What it genuinely adds beyond annotations is the output shape ('plain text') and the analytical facets computed - hollow-ness, SNOT share, angled parts, parts per covered stud - which tell an agent what questions this tool can answer. It does not mention cost, file-size limits, or failure modes for unresolvable paths, so it is strong but not exhaustive.

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?

It is front-loaded with purpose, then usage, then return contents, then the read-only guarantee and the sibling pointer, which is a sensible ordering for an agent skimming it. The enumerated metric list is long but each item is informative rather than filler; a small amount of tightening is possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a single-parameter read-only analysis and an output schema already exists, so return values need not be spelled out - yet the description still summarises them, which is generous. Nothing an agent needs in order to decide to call it, or to call it correctly with a path, is missing.

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?

There is a single required parameter with 100% schema description coverage, so the schema already carries its meaning and the baseline of 3 applies. The description restates the accepted file formats, matching the schema rather than extending it, and adds no new semantics such as relative-vs-absolute paths or handling of remote URLs.

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?

The description opens with a specific verb and resource ('Analyse a reference LEGO build file') and immediately scopes the goal to 'proportions and techniques', which tells an agent exactly what class of information it gets back. It also names the two siblings with adjacent responsibilities (compare for photos, check for buildability), so the tool is distinguishable without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger ('when the user gives an .ldr, .mpd or BrickLink Studio .io as a reference') and an explicit exclusion with the correct alternative ('not a photo: for photos use `compare`'). It further routes buildability questions to `check`, so both the when-to-use and when-not-to-use conditions are stated.

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