Skip to main content
Glama

Fit Class

fit_class
Read-only

Calculates ISO 286 hole and shaft limits for a fit code (e.g., H7/g6), returning clearances, deviations, and interference probability for mechanical design.

Instructions

ISO 286 limits for a fit code (e.g. 'H7/g6'), in mm. v1 covers a hole-basis H with shaft clearance letters (h, g, f, e). Returns {basic_size, fit, hole:{upper_dev,lower_dev,min,max}, shaft:{...}, fit_class, min_clearance, max_clearance, prob_interference}. Errors on an out-of-table size (>500 mm) or an unsupported code (non-H hole or interference shaft letter).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fitNoH7/g6
basic_sizeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the exact return shape, coverage limits (v1), and failure conditions. This tells an agent what will happen on unsupported inputs, which is precisely the behavioral context not present in the annotations or 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?

The description packs scope, return fields, and error behavior into two compact sentences. It is dense but every clause contributes; the only inefficiency is the long parenthetical list of outputs, which is necessary because no output schema exists.

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

Completeness4/5

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

With no output schema, the description compensates by enumerating the returned fields and specifying error cases. It leaves minor ambiguity about the extent of basic_size values and does not discuss alternatives, but for a two-parameter lookup tool it is nearly complete.

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 description coverage is 0%, so the description must compensate. It explains the fit code format via example and units ('in mm') and implies basic_size limits through the >500 mm error condition, but it does not explicitly describe basic_size as a positive number or elaborate on the meaning of all returned fields in relation to the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the operation as returning ISO 286 limits for a fit code and gives a concrete example ('H7/g6'), which makes the purpose unmistakable. It also scopes the supported cases (hole-basis H, clearance letters h/g/f/e), though it does not explicitly contrast it with sibling tools like fit_check.

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?

The description implies when it applies: hole-basis H fits with shaft clearance letters h/g/f/e, and it states what triggers an error (out-of-table size >500 mm, unsupported code). However, it never names an alternative tool or says when not to use it versus siblings such as fit_check or tolerance_stackup.

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