Skip to main content
Glama

CAD Oracle

Check assembly fit

check_assembly_fit
Read-onlyIdempotent

Verify CSG assembly interference, pairwise clearances with closest-point witnesses, and axis-aligned insertion sweeps. Minimal example: {"parts":[{"name":"a","model":{"type":"box","size":[10,10,10]}},{"name":"b","model":{"type":"translate","vector":[12,0,0],"child":{"type":"box","size":[10,10,10]}}}]}

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": {
      "parts": "<parts>"
    },
    "name": "check_assembly_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsYes
pair_rulesNo
timeout_msNo
insertion_checksNo
min_clearance_mmNo

Output Schema

NameRequiredDescriptionDefault
fit_okYes
statusYes
verifiedYes
pair_resultsYes
insertion_resultsYes
distance_search_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real behavioral value by naming the three analyses and hinting that clearance results come back with closest-point witnesses, but it is silent on execution bounds (the schema's 5000ms default / 8000ms cap), part-count limits, and what happens on timeout or non-convergence.

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?

Two sentences: capability statement front-loaded, then a compact runnable example. Nothing is padded, though the example's JSON dominates the length and only covers the simplest case rather than the parameters that most need illustration.

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

Completeness2/5

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

The output schema and annotations relieve the description of return-value and safety duties, but this is a genuinely complex tool — 5 parameters, a deeply nested CSG node union type, zero schema coverage — and the description documents only the trivial 'parts' case. Key behaviors like keepout roles and pair_rules constraints are absent, so an agent would have to reverse-engineer the schema to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it only partly does so. The minimal example usefully illustrates the 'parts' entry shape (name + model with box/translate), but pair_rules, insertion_checks (direction semantics), timeout_ms, min_clearance_mm defaults, max 16 parts, and the 'keepout' role option are all left entirely to raw schema inspection.

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 (verify) with three concrete capabilities: CSG assembly interference, pairwise clearances with closest-point witnesses, and axis-aligned insertion sweeps. This is far more specific than any sibling (verify_printability, optimize_sheet_layout), so an agent can distinguish it on substance even without an explicit sibling call-out.

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

Usage Guidelines3/5

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

Usage is implied by the capability list — you would call it when you need interference/clearance/insertion analysis of a multi-part assembly — but there is no explicit when-to-use framing, no when-not, and no routing to verify_printability for printability questions despite that being the nearest alternative. The minimal example aids invocation but not tool selection.

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