Skip to main content
Glama

unmake file tools

Measure a 3D file and price the print

measure3d
Read-onlyIdempotent

Measure a 3D file and price the print. Reads a 3D or CAD file and returns its volume, surface area, bounding box and dimensions, a closed (watertight) check per part, and the weight and 3D-print cost for a material, infill and wall thickness (11 printing materials with densities from manufacturer data sheets, plus 6 solid stock metals for weight only), plus grams and cost for every material at the same settings. Use when: Someone needs the volume, weight or print cost of an STL/3MF/STEP/OBJ/GLB model, or to know whether it is closed. Not for: Slicing or exact print time (only a labelled rough estimate); drawings (DWG/DXF); point clouds. File types: stl, obj, ply, glb, gltf, 3mf, step, stp, iges, igs. Max 30 MB.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "measure3d"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the description's job is added context — which it delivers: per-part watertight check, the 11 print materials plus 6 stock metals for weight only, cost computed at the same settings for every material, and an explicit caveat that print time is only a labelled rough estimate. It falls short of 5 because the settings that drive cost (material names, infill and wall thickness ranges/units) are never specified, so an agent still cannot predict what the numbers assume.

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-loaded with purpose and outputs, then cleanly sectioned into use/not-for/file-types/limits; almost every clause carries information. The trailing 'plus grams and cost for every material at the same settings' redundantly restates the preceding clause and could be folded in.

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?

There is no output schema, and the description compensates well by naming every returned field and the shape of the materials table. It is nearly complete for a read-only measurement tool; the one real hole is the undefined `options` payload (material/infill/wall thickness names and units), which an agent needs in order to call it correctly.

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 the three file-input parameters (file_url preferred, filename, file_base64) are already documented and the description correctly implies the URL-preferred path with the 30 MB cap. However, the nested `options` object — which must carry material, infill and wall thickness — is left entirely opaque ('Tool options, if any (see the tool description)') and the description never enumerates its keys or value formats, so the most consequential parameter adds no meaning.

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?

States a specific verb and resource ('Measure a 3D file') and immediately enumerates the concrete outputs (volume, surface area, bounding box, dimensions, watertight check, weight, print cost). The 'Not for' clause explicitly excludes slicing/time-estimate, DWG/DXF drawings and point clouds, which separates it from adjacent siblings like dwg_to_dxf, drawing_compare and photo_measure.

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?

Uses explicit 'Use when:' and 'Not for:' framing, listing the triggering intents (need volume, weight, print cost, or closedness of an STL/3MF/STEP/OBJ/GLB) and the exclusions with reasons. The supported file-type list and the 30 MB cap further pre-qualify the call.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources