Skip to main content
Glama

Molding Pack Check

pack_check
Read-only

Determine whether a part fits in a given carton and compute billable weight from actual and dimensional weight.

Instructions

Check a part against a shipping carton + compute billable weight. part_bbox_mm/carton_mm are [l,w,h] mm; fits allows reorientation (sorted-dim compare). void_fraction = 1−vol(part)/vol(carton); dim_weight_kg = vol(carton cm³)/dim_factor (default 5000 metric DIM); billable_weight_kg = max(actual, dimensional). Returns {fits, void_fraction, dim_weight_kg, actual_mass_kg, billable_weight_kg, pass}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mass_gYes
carton_mmYes
dim_factorNo
part_bbox_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true and openWorldHint=false. The description goes beyond by detailing the algorithm (sorted-dim compare for reorientation), defining void_fraction and billable_weight calculations, and listing the return object fields. It clearly discloses that it computes dimensional weight and uses a default DIM factor of 5000. This adds value beyond the annotations without contradiction.

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 a single dense paragraph that front-loads the primary purpose, then provides necessary formula details and output fields. Every sentence adds value; there is no filler. The structure is efficient and scannable.

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?

Given the tool's moderate complexity (4 params, no output schema), the description fully explains inputs, the algorithm, and the return object. It lacks explicit mention of units for mass_g (assumed grams from param name) and any error conditions, but these are minor. The description is complete enough for an agent to call correctly without 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%, so the description carries the full burden. It explains the semantics of part_bbox_mm and carton_mm as [l,w,h] mm arrays, mentions the default dim_factor of 5000, and implies mass_g is the actual mass (used to compute billable weight). It covers 3 of 4 parameters explicitly; dim_factor is described via the formula. This is strong compensation for the schema's lack of descriptions.

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 clearly states the verb ('Check'), the resource ('a part against a shipping carton'), and the additional output ('compute billable weight'). It distinguishes itself from siblings like 'moldability_screen' or 'fit_check' by focusing on packaging/carton criteria. The scope is unambiguous.

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 explains the core functionality and formulas, but does not explicitly state when to use this tool versus alternatives or when not to use it. It implies usage for packaging/billable-weight assessment, but lacks explicit exclusions (e.g., 'Use fit_check for clearance analysis instead'). The context is clear enough for an agent to infer.

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