Skip to main content
Glama

Precheck Part

precheck_part
Destructive

See what a CAD file's calculation will do before it starts: free, never billable. Send the STEP file as base64 (gzip accepted) and optional drawings. ARCNM reads it the way the calculation will and answers how an assembly splits into made parts, catalogue parts and parts left out, how many calculations it starts, how many the plan pays for (metered_max) and the overage it may cost. Usually answers within seconds; while status is received, read it again with get_precheck. A drawing its names did not match goes to its part with attach_drawing (precheck_id and the row's component_key). Start it with upload_and_quote, passing precheck_id and its revision: the calculation is what was shown, and max_overage_cents caps what it may cost past the plan. A precheck nobody starts is deleted with its files after 24 hours.

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": {
      "cad_file_b64": "<cad_file_b64>",
      "cad_filename": "<cad_filename>"
    },
    "name": "precheck_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idNoGroups the files of one drop; they are answered in position order.
drawingsNoDrawings of the assembly or its parts.
positionNoOrder of this file in its drop.
cad_sha256NoSHA-256 of the file itself (before base64 and any gzip), hex. When sent, the file is refused with 422 checksum_mismatch unless it arrived with exactly this digest — nothing is stored or calculated then.
part_numberNoThe part number it will be started under.
cad_file_b64YesBase64 (or a data: URI) of the STEP file; gzip-compressed is accepted.
cad_filenameYese.g. frame.step — used for format detection.
cad_content_typeNoMIME type of the file, when known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / cad_sha256
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^[0-9a-fA-F]{64}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "SHA-256 of the file itself (before base64 and any gzip), hex. When sent, the file is refused with 422 checksum_mismatch unless it arrived with exactly this digest — nothing is stored or calculated then.",
      +  "title": "Cad Sha256"
      +}
    • addedInput schema / properties / drawings / items / properties / sha256
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^[0-9a-fA-F]{64}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "SHA-256 of the file itself (before base64 and any gzip), hex. When sent, the file is refused with 422 checksum_mismatch unless it arrived with exactly this digest — nothing is stored or calculated then.",
      +  "title": "Sha256"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false; the description earns credit by explaining the destructive behavior concretely ('a precheck nobody starts is deleted with its files after 24 hours'), the cost model (free, metered_max, overage), and typical latency. It does not address idempotency/re-submission behavior, which matters given idempotentHint=false.

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?

Front-loaded with purpose and cost, then workflow, then expiry — a sensible ordering. It is dense and the multi-tool workflow sentences make it long, but nearly every clause carries operational information; only the base64/gzip restatement duplicates the schema.

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 output schema, the description explains what the answer contains (assembly split into made parts, catalogue parts and excluded parts; counts of calculations started, plan-paid metered_max and overage). Combined with latency, expiry and next-step routing, an agent has everything needed to call and interpret it.

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 100%, so the schema already documents base64/gzip, filename, sha256 mismatch handling and batch_position grouping. The description mostly restates the base64/gzip input and spends its parameter talk on attach_drawing's precheck_id/component_key, which are not parameters of this tool. Baseline 3.

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?

Opening clause gives a specific verb and resource: 'See what a CAD file's calculation will do before it starts', plus the defining property 'free, never billable'. It is clearly distinguished from get_precheck (re-reading a received precheck) and upload_and_quote (actually starting the calculation).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing for every downstream step: re-read with get_precheck while status is 'received', send unmatched drawings to attach_drawing with precheck_id and component_key, and start via upload_and_quote passing precheck_id and revision. It also states the cap semantics (max_overage_cents) rather than leaving them implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.