Skip to main content
Glama

ldraw_pack_mpd

Bundle an LDraw .ldr/.mpd file with LDConfig.ldr colours and all recursive .dat dependencies into one offline-ready .mpd compatible with Three.js LDrawLoader.

Instructions

Bundle an LDraw .ldr/.mpd file with LDConfig.ldr colours and all recursively referenced .dat parts/subparts/primitives into a single 100% offline-ready .mpd file compatible with Three.js LDrawLoader.

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": {
      "inputLdrPath": "<inputLdrPath>",
      "outputMpdPath": "<outputMpdPath>"
    },
    "name": "ldraw_pack_mpd"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputLdrPathYesPath to source .ldr or .mpd file
outputMpdPathYesDestination path for self-contained .mpd file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavior beyond the name: recursion into all referenced parts, inclusion of the colour config, and the loader compatibility target. It is silent on write semantics that matter for a file-producing tool — whether outputMpdPath is overwritten, what happens when a referenced part is missing, and whether directories are created.

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?

A single dense sentence with the action front-loaded and every qualifier earning its place — the recursive dependency scope and the Three.js loader target both change how an agent would call it. No filler or redundant restatement of the title.

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 two-parameter packaging tool with no output schema, the description fully characterizes the artifact produced and the compatibility target. The only meaningful gap is failure/overwrite behavior for the destination path, which an agent would want to know 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 coverage is 100% and both parameters are self-documenting, so the baseline applies. The description reinforces the role of each path (source vs. destination self-contained output) but adds no format, path-resolution, or relative-path conventions beyond the schema text.

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?

Specific verb (bundle) plus resource (.ldr/.mpd source into a self-contained .mpd), and it names the full dependency set being pulled in (LDConfig.ldr colours, recursive .dat parts/subparts/primitives). This clearly distinguishes it from siblings like ldraw_inspect_part or ldraw_render_step, which read or render rather than package.

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

Usage Guidelines4/5

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

Gives clear triggering context: use it when you need a '100% offline-ready' MPD for the Three.js LDrawLoader, which implies the before/after point in a workflow. It stops short of explicit exclusions or naming an alternative for cases where bundling isn't wanted, so it lands just below the top band.

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