Skip to main content
Glama

Part details

part_info
Read-onlyIdempotent

Retrieve size, connection points, and available colors for a LEGO part before placing it; returns plain text with dimensions, connection counts, and LDraw color codes.

Instructions

Details of one part: size, connection points and real colours.

Use it before placing a specific part, to know how big it is, how it connects (studs, anti-studs, bars, bar holes, clips, hinge fingers, ball joints, from the LDCad connection data) and which colours exist for it at the part source. Returns plain text: description, size in studs and plates, a count of each connection type, and the colour names with LDraw codes. To find a part number first, use search_parts. Read-only.

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": {
      "part": "<part>"
    },
    "name": "part_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
partYesLDraw part number, e.g. '3001' or '32607'
sourceNoPart source: 'lego' (official LEGO parts and colours, default) or 'gobricks' (GoBricks moulds, colours and prices)lego

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / part / description
      Added value: +"LDraw part number, e.g. '3001' or '32607'"
    • addedInput schema / properties / source / description
      Added value: +"Part source: 'lego' (official LEGO parts and colours, default) or 'gobricks' (GoBricks moulds, colours and prices)"
    • addedInput schema / properties / source / enum
      Added value: +[
      +  "lego",
      +  "gobricks"
      +]
  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 cover readOnly/idempotent/non-destructive/closed-world, so the description is not needed for safety. It still adds real context beyond them: the provenance of connection data (LDCad), the distinction between LEGO official colours and GoBricks moulds with prices, and the plain-text return shape. The trailing 'Read-only' merely restates an annotation, which keeps it from a 5.

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?

Front-loads the one-line purpose, then a single sentence covering use case, connection vocabulary, and return contents. The parenthetical list of connection types is long but earns its place by telling the agent what queries the data can answer. Minor redundancy: return contents are described here even though an output schema exists.

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?

For a two-parameter read tool with full schema coverage, annotations, and an output schema, nothing an agent needs is missing: purpose, prerequisite step, return contents, and the meaning of the source switch are all present. The tool can be invoked correctly from this description alone.

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% and both parameters are fully documented in-schema, including the enum values and default, so the baseline is 3. The description only adds the loose phrase 'at the part source' tying the colour list to the source parameter; it gives no extra syntax or format guidance for 'part'.

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?

Opens with a specific verb+resource: 'Details of one part', then enumerates the exact facets covered (size, connection points, real colours). It is clearly distinguishable from search_parts, which is described as the lookup-by-name step rather than the detail step.

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?

States the decision point explicitly ('Use it before placing a specific part') and routes the agent to the sibling that must run first ('To find a part number first, use `search_parts`'). It also tells the agent when the 'gobricks' source matters by noting that source carries moulds, colours and prices.

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