Skip to main content
Glama

asm_clearance

Read-only

Measures minimum distance between paired top-level assembly solids, returns zero for contact, and flags interference to verify parts meant to join actually touch.

Instructions

Clearance between pairs of top-level components (component feature ids, as asm_assemble returns): the minimum distance between their solids, 0 when they touch, and whether they interfere. Use it to prove that parts meant to be joined (a weld, a mate) really make contact, which global interference cannot show.

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": {
      "pairs": "<pairs>"
    },
    "name": "asm_clearance"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
pairsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

readOnlyHint=true already tells the agent this is a safe read. The description adds genuine context beyond that—the distance semantics (0 on contact) and the included interference result—but says nothing about units, tolerance, cost on large assemblies, or behavior when a pair is invalid or non-adjacent.

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, front-loaded with the core definition and followed by the use case, with no filler. The first sentence is dense and slightly run-on, which costs a point but not comprehension.

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 return values need not be explained. However, with two poorly documented parameters and no note on where the file argument comes from or what happens with stale/invalid feature ids, an agent could still call this incorrectly.

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 coverage is 0%, so the description carries the burden. It does explain the shape of 'pairs': component feature ids as returned by asm_assemble, two per entry, which is valuable. The second parameter 'file' is never mentioned, so it leaves the agent guessing whether null means the active assembly—partial compensation only.

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 names a specific computation—minimum distance between solids of paired top-level components, zero when touching, plus an interference flag—rather than restating the tool name. It explicitly contrasts itself with global interference checking, so an agent can tell it apart from asm_interference 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?

It gives a concrete when-to-use scenario: proving that parts meant to be joined (weld, mate) actually make contact, and notes that global interference cannot show this. It does not name the alternative tool (asm_interference) or state exclusions beyond that functional contrast, so it falls just short of a 5.

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