Metrology Fit Search
metrology_fit_searchFind ISO 286 hole- or shaft-basis fits that keep clearance within a specified window for nominal sizes 3–500 mm, returning ranked candidates or closest misses.
Instructions
Reverse lookup of ISO 286 fits: which standard fits keep the clearance between min_clearance and max_clearance at a nominal size from 3 to 500 mm. Clearance = hole size - shaft size, so give interference as a negative length, e.g. min '-0.05 mm', max '-0.001 mm'. A fit qualifies when its minimum clearance is at least min_clearance and its maximum clearance is at most max_clearance. Searches the 10 preferred fits (default) or a wider 'common' set, on hole basis (H holes) or shaft basis (h shafts). Candidates come best first, ranked by larger tolerances (a cost proxy), then by closeness to the window centre. If nothing fits, the closest misses are returned with how far outside the window they lie.
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": {
"nominal": "<nominal>",
"min_clearance": "<min_clearance>",
"max_clearance": "<max_clearance>"
},
"name": "metrology_fit_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | 'hole' (default): H holes with shafts c..u, e.g. H7/g6. 'shaft': h shafts with holes C..U, e.g. G7/h6 | hole |
| fit_set | No | 'preferred' (default): the 10 preferred fits of the basis. 'common': every hole grade 6 to 11 paired with shaft letters c..u at the same or one finer grade | preferred |
| nominal | Yes | Nominal size of hole and shaft with unit, e.g. '25 mm'. Range 3 to 500 mm. | |
| max_results | No | Maximum number of candidates returned, 1 to 50 | |
| max_clearance | Yes | Largest clearance the assembly tolerates, with unit, e.g. '0.05 mm'. Must not be below min_clearance; negative values are interference. | |
| min_clearance | Yes | Smallest clearance the assembly tolerates, with unit, e.g. '0 mm', '0.007 mm'. Negative means interference: '-0.03 mm' allows up to 0.03 mm of interference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |