Resolve Prepack Quantities
resolve_prepack_quantitiesResolves an ordered quantity of a CLASS of goods into concrete prepack units (boxes/cartons), using that class's own logged prepack table -- a class-level lookup (e.g. "small metal fittings"), not a single article. Use resolve_quantities instead when you have a specific article number/name.
Check resolution_status first: "resolved" means units/tier are a real answer, safe to use directly. "not_found" means no prepack table matched the search text, or the matched table has no threshold rules logged -- units/tier are both null. Prepack tables never produce "ambiguous" results (unlike resolve_quantities) -- a table either resolves or it doesn't, there is no packaging-family choice to make.
When resolution_status is "resolved", tier is one of: "observed" (an exact match against a real logged threshold), "estimated" (interpolated between two real logged thresholds), or "verify" (extrapolated beyond the highest -- or below the lowest -- threshold ever actually logged for this table; still returns a real number, but flagged as needing a human's eyes before it's trusted).
Requires an MCP API key (Authorization: Bearer ) issued for a kubik.tools team. Looks the prepack table up by its own article_class text within that team's own Library -- never across teams.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your team's kubik.tools MCP API key (kubik_mcp_...). Required. | |
| quantity | Yes | The ordered quantity to resolve, in whole units of the class. Must be a positive number. | |
| article_class_query | Yes | Free-text search over the prepack table's own article_class label, e.g. 'small metal fittings' or 'cable ties'. |