Skip to main content
Glama

check_airtight_path

Verify an enclosed-flow part has a single connected void joining inlet to outlet, detecting blocked paths, hidden leaks, or pinched bottlenecks.

Instructions

Functional check for an enclosed-flow part (a vacuum adapter, manifold, duct): is there a single connected void joining the inlet to the outlet, bounded by solid everywhere else? This catches what check_shape cannot — a watertight solid can still have a blocked flow path or a hidden leak. Inspection only: measures, returns no handle, mutates nothing.

handle: the part to inspect. inlet / outlet: a face reference naming each port OPENING (the rim face around the hole) — an f_* tag, 'FaceN', int index, or a role/name declared with annotate_face (e.g. "inlet"). Both ports are sealed with cap solids and the negative-space void is analysed. min_aperture_mm2: optional minimum acceptable bottleneck cross-section; a connected-but-pinched path (a near-zero 'almond slit') then fails. pad_mm: optional bounding-box margin (default max(2.0, 0.05*diagonal)).

Returns a dict (lengths mm, areas mm², volumes mm³): ok (bool) connected AND not leaky AND aperture >= threshold status (str) 'airtight' | 'bottleneck' | 'blocked' | 'leaky' connected (bool) one void joins inlet and outlet leaky (bool) with both ports capped the cavity still reaches ambient, so an unintended opening exists min_aperture_mm2 (float|null) narrowest section of the flow void bottleneck_point ([x,y,z]|null) a point on the narrowest section plane flow_void_volume_mm3 (float|null) volume of the connecting void void_components (int) number of void solids (ambient + enclosed) inlet / outlet (str) the resolved 'FaceN' references pad_mm (float) the margin used

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inletYes
handleYes
outletYes
pad_mmNo
min_aperture_mm2No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and does so: 'Inspection only: measures, returns no handle, mutates nothing' discloses the safety profile. It further explains the mechanism (both ports sealed with cap solids, negative-space void analysed) and the meaning of each status value, which is behavior an agent could not infer from the schema.

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?

Long but front-loaded: the purpose sentence comes first, then per-parameter and per-return-field blocks. Given 0% schema coverage and no output schema, the length is largely earned. The 'Returns a dict' block is dense but structured; only minor trimming (e.g. parenthetical elaborations) would be possible.

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?

With no annotations, no output schema, and 0% param coverage, the description supplies everything an agent needs: inputs with formats and defaults, the capping/analysis method, the full return dict with field types and meanings, and the pass/fail semantics via `ok` and `status`. Nothing material is missing for correct invocation or interpretation.

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

Parameters5/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 compensate and it does fully: `handle` is the part to inspect; `inlet`/`outlet` are defined as rim-face references with the four accepted forms (f_* tag, 'FaceN', int, annotate_face role); `min_aperture_mm2` sets a bottleneck threshold with the 'almond slit' failure case; `pad_mm` documents its default formula. Each param gets meaning beyond the bare schema types.

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 precise verb+resource ('functional check for an enclosed-flow part') and names the exact question it answers (single connected void joining inlet to outlet). It explicitly distinguishes itself from the sibling `check_shape` — 'catches what check_shape cannot' — so an agent can route between them without opening either 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 a clear selection rule against the closest sibling (`check_shape`) via the watertight-vs-flow-path distinction, and notes the tool is inspection-only. It does not enumerate when NOT to use it (e.g. open-channel or non-enclosed parts), leaving that to inference.

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

Deploy Server

Other Tools