Skip to main content
Glama

Find packaging for an item

find_packaging_for_item
Read-onlyIdempotent

Use when the buyer has item dimensions and needs a fitting box or mailer. Required arguments are item_length_in, item_width_in, item_depth_in, item_weight_lb, and use_case. Canonical use_case values are mailer|box|fragile|apparel|ecommerce; free text such as 'shipping ceramic mugs' is accepted and mapped to the closest canonical context. Returns up to 5 curated SKUs ranked by fit with price, stock, URL, and cart-continuity fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
use_caseYesPackaging context that guides fit ranking. Canonical values: mailer, box, fragile, apparel, ecommerce. Free text (e.g. 'shipping ceramic mugs') is accepted and mapped to the closest canonical context.
item_depth_inYesItem depth/height in inches.
item_width_inYesItem width in inches.
item_length_inYesItem length in inches.
item_weight_lbYesPacked item weight in pounds; use 0 when unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / use_case / description
      Previous value: -"Packaging context that guides fit ranking."New value: +"Packaging context that guides fit ranking. Canonical values: mailer, box, fragile, apparel, ecommerce. Free text (e.g. 'shipping ceramic mugs') is accepted and mapped to the closest canonical context."
    • removedInput schema / properties / use_case / enum
      Removed value: -[
      -  "mailer",
      -  "box",
      -  "fragile",
      -  "apparel",
      -  "ecommerce"
      -]
  2. Changed5 schema fields changed
    • addedInput schema / properties / item_depth_in / description
      Added value: +"Item depth/height in inches."
    • addedInput schema / properties / item_length_in / description
      Added value: +"Item length in inches."
    • addedInput schema / properties / item_weight_lb / description
      Added value: +"Packed item weight in pounds; use 0 when unknown."
    • addedInput schema / properties / item_width_in / description
      Added value: +"Item width in inches."
    • addedInput schema / properties / use_case / description
      Added value: +"Packaging context that guides fit ranking."
  3. Changed5 schema fields changed
    • removedInput schema / properties / item_depth_in / description
      Removed value: -"Item depth/height in inches."
    • removedInput schema / properties / item_length_in / description
      Removed value: -"Item length in inches."
    • removedInput schema / properties / item_weight_lb / description
      Removed value: -"Packed item weight in pounds; use 0 when unknown."
    • removedInput schema / properties / item_width_in / description
      Removed value: -"Item width in inches."
    • removedInput schema / properties / use_case / description
      Removed value: -"Packaging context that guides fit ranking."
  4. Changed5 schema fields changed
    • addedInput schema / properties / item_depth_in / description
      Added value: +"Item depth/height in inches."
    • addedInput schema / properties / item_length_in / description
      Added value: +"Item length in inches."
    • addedInput schema / properties / item_weight_lb / description
      Added value: +"Packed item weight in pounds; use 0 when unknown."
    • addedInput schema / properties / item_width_in / description
      Added value: +"Item width in inches."
    • addedInput schema / properties / use_case / description
      Added value: +"Packaging context that guides fit ranking."
  5. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the bar for additional context is lower. The description adds valuable behavioral detail: returns up to 5 curated SKUs ranked by fit, with price, stock, URL, and cart-continuity fields, and explains free-text mapping for use_case. This goes beyond structured data and informs expected output and flexibility.

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 two sentences long, front-loaded with the trigger condition and required arguments, followed by the output specifics. Every sentence adds functional value; there is no fluff or redundant context.

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 there is no output schema, the description compensates by explaining the return shape (up to 5 curated SKUs with price, stock, URL, and cart-continuity fields) and the free-text use_case behavior. It does not address no-match scenarios, but the sibling tool explain_no_exact_match likely covers that, making this sufficiently complete for a read-style tool.

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 baseline is 3. The description repeats the use_case canonical values and free-text mapping exactly as in the schema, and lists all parameter names, but adds no new semantics beyond the schema. The parameters are self-explanatory, so this is adequate but not enhanced.

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 identifies the tool's purpose: find packaging for an item based on dimensions. It uses a specific verb ('find') and resource ('packaging for an item'), and distinguishes itself from siblings like check_inventory or get_pricing by focusing on dimension-based fit ranking. The title and first sentence together make the scope 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 explicitly states when to use the tool: when the buyer has item dimensions and needs a fitting box or mailer. It does not name alternative tools or exclusions, but the condition is clear and practical. A stronger version would contrast with pack_calculator or search_products, but the given guidance is sufficient for a competent agent.

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.