Skip to main content
Glama

Inspection Plan

inspection_plan
Read-only

Generate a per-feature inspection plan for a drawing page, listing nominal, limits, and a tolerance-matched measuring method for each dimension and GD&T control.

Instructions

The characteristic list for a drawing page as data: every dimension, feature control frame, and feature note, ballooned, with nominal, limits, and a suggested measurement method per row.

The method follows the tolerance rather than a guess: the gauge-maker's ratio:1 rule (default 10:1 — the instrument must resolve a tenth of the tolerance band) walked down a per-family instrument ladder, so a loose feature isn't sent to the CMM and a tight bore isn't signed off with a caliper. A bore takes the pin/bore gauge ladder (a micrometer can't reach inside one); a GD&T control referencing a datum frame is CMM work; a datum-free form control is surface-plate work. The required resolution is exact arithmetic, the instrument mapping is shop convention — hence fidelity='correlation'.

Returns {ok, characteristics, count, by_method, unmeasurable, retired, next_balloon, fidelity, band_pct, basis}. ok=False means a characteristic cannot be inspected as drawn — an untoleranced size the inspector has no limits to accept or reject against (code no_tolerance), or a band finer than any instrument on its ladder (code no_instrument) — with unmeasurable naming which and why.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
ratioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond the readOnlyHint/openWorldHint annotations, explaining the 10:1 gauge-maker's ratio rule, the per-family instrument ladder, the GD&T/datum routing logic, and exact failure modes (no_tolerance, no_instrument) with the `unmeasurable` field. It also enumerates the full return payload, so an agent knows exactly what will happen.

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?

The description is dense but not padded: the first sentence states the deliverable, the middle paragraph justifies the method, and the final paragraph defines the return envelope and failure codes. It is front-loaded and every sentence earns its place.

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?

No output schema exists, and while the description lists all return keys and thoroughly explains ok=False and `unmeasurable`, secondary keys like by_method, retired, next_balloon, band_pct, and basis are left to inference. For a complex planning tool this is almost complete, but a brief clarification of those remaining fields would remove all ambiguity.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are only two parameters, so the description must carry the load. It interprets `ratio` as the gauge-maker's resolution ratio with a default of 10:1 and clarifies that the mapping is exact arithmetic; `page` is identified as the drawing page being characterized, though its exact identifier format is left implicit.

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 opens with a precise definition: 'The characteristic list for a drawing page as data' and enumerates exactly what is included: every dimension, feature control frame, feature note, ballooned, with nominal, limits, and a suggested measurement method per row. This clearly distinguishes it from report/annotation-style sibling tools like fai_report or balloon_drawing.

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?

The description does not explicitly name alternatives or say 'use this instead of X,' but it gives strong contextual signals about when this tool is appropriate: it applies to a drawing page, follows a tolerance-to-instrument mapping, and returns a plan with unmeasurable reasons. This is clear context, though explicit exclusions would earn a 5.

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