Skip to main content
Glama
Tetragon
by wckdboy

audit_build_geometry

Run a B-Rep clash scan and optional room enclosure check on an immutable build, reusing prior audit data to skip unchanged solids and catch issues before final exports.

Instructions

Run native FreeCAD OpenCASCADE B-Rep clash scan (and optional room enclosure check) on an immutable build. Automatically reuses the latest prior all-storey audit JSON so unchanged solids are skipped in seconds. Aim for 0 clashes before exporting final SVG/PDF sheets or photoreal renders.

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": {
      "project_id": "<project_id>"
    },
    "name": "audit_build_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsNo
build_idNo
project_idYes
scan_storeyNoall
include_roomsNo
reuse_previousNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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, and it does disclose meaningful behavior: native OCCT B-Rep scanning, reuse of the prior all-storey audit JSON to skip unchanged solids, and a seconds-scale incremental run. It never states that the run emits a new audit JSON artifact (only implied by 'reuses the latest prior'), nor permissions, failure modes, or cost on a cold full scan.

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?

Three sentences, zero filler, and the core action is front-loaded ahead of the caching behavior and the workflow guidance. Dense but readable, with each sentence carrying distinct 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?

For a complex geometry job with six undocumented parameters, no annotations, and no output schema, the description covers the action, cost profile, and intended workflow but leaves the parameter space and the result artifact underspecified. An agent could pick the tool but would be guessing on jobs, build_id, and storey scoping.

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 coverage is 0% across six parameters, so the description must compensate, and it only partially does: 'optional room enclosure check' maps loosely to include_rooms and the reuse sentence hints at reuse_previous and an all-storey default for scan_storey. Nothing explains jobs, build_id, or project_id, and no parameter is named outright.

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: a FreeCAD OpenCASCADE B-Rep clash scan on an immutable build, with an optional room enclosure check. The scope (all-storey vs single storey, clash + enclosure) is concrete enough that an agent can distinguish this from the authoring/scheduling siblings without opening the schema.

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 real workflow context: run it and aim for 0 clashes before exporting SVG/PDF sheets or producing photoreal renders, which tells the agent where this fits in the pipeline. It stops short of exclusions or alternatives (e.g. when to target a single storey, or when re-running without reuse is warranted).

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