Skip to main content
Glama

CAD Oracle

Compile parametric part

compile_parametric_part
Read-onlyIdempotent

Compile a declarative CSG tree into a verified manifold mesh with exact metrics, orthographic blueprint SVG, optional section, and optional 3MF/STL base64 export. Units: mm, deg, +Z up. Minimal example: {"model":{"type":"box","size":[20,10,5]}}

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": {
      "model": "<model>"
    },
    "name": "compile_parametric_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
timeout_msNo
section_y_mmNo
section_z_mmNo
export_formatNonone
include_svg_viewsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
metricsYes
sectionYes
verifiedYes
blueprint_svgYes
artifact_bytesYes
artifact_base64Yes
artifact_formatYes
artifact_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 safety and determinism are covered. The description adds useful behavioral context beyond that: units are mm and degrees, +Z is up, the mesh is verified manifold, and section/export behavior is optional. It does not describe failure modes or timeout behavior, keeping it short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose, then units, then a minimal example, with no filler. The long first sentence is dense but every clause adds distinct output or capability information.

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

Completeness3/5

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

An output schema exists, so the description need not explain return values, and annotations cover the safety profile. However, for a tool with a deeply nested CSG schema, 14 node types, and 0% schema description coverage, the description omits timeout semantics, section axis meaning, and error behavior. It is adequate but not complete for the tool's complexity.

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 0%, so the description must carry parameter meaning, and it only partially does. It explains the CSG model input, units, optional section, optional export, and SVG views, but leaves timeout_ms, the distinction between section_y_mm and section_z_mm, and export enum values undocumented. The minimal example is helpful but not enough to fully compensate for the complex nested schema.

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 states a specific verb and resource: compiling a declarative CSG tree into a verified manifold mesh. It also names the concrete artifacts produced (metrics, blueprint SVG, optional section, optional 3MF/STL export), which clearly distinguishes it from siblings like verify_printability or check_assembly_fit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternatives among the sibling tools. The minimal example helps with invocation but does not tell an agent when this tool should be selected over verify_printability or check_assembly_fit.

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