Skip to main content
Glama

BoxAudit — USPS Cubic & DIM-139 Shipping Box Optimizer

compare_box_leak

Detect USPS Cubic outer-wall tier bumps (+0.25 in corrugated walls), compare against smaller standard boxes, and project 90-day shipping savings with UPS/FedEx DIM-139 billable weight.

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": {
      "currentLengthIn": "<currentLengthIn>",
      "currentWidthIn": "<currentWidthIn>",
      "currentHeightIn": "<currentHeightIn>",
      "weightOz": "<weightOz>"
    },
    "name": "compare_box_leak"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneNoUSPS Zone 1-8 (default 5)
weightOzYesGross parcel weight in ounces (1-1120)
itemWidthInNoOptional product width in inches
itemHeightInNoOptional product height in inches
itemLengthInNoOptional product length in inches
monthlyOrdersNoMonthly orders using this box (default 200)
currentWidthInYesCurrent box inner width in inches (1-48)
currentHeightInYesCurrent box inner height in inches (1-48)
currentLengthInYesCurrent box inner length in inches (1-48)
fragilePaddingInNoOptional per-side fragile padding in inches (default 0.5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add real domain behavior: the +0.25 in corrugated outer-wall allowance and the UPS/FedEx DIM-139 billable weight basis for the savings projection. It still omits whether the tool is purely computational with no side effects, what rate assumptions drive the 90-day projection, and what the response contains.

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?

A single front-loaded sentence that leads with the primary action and packs three distinct computations with no filler. It is dense and jargon-heavy (DIM-139, tier bumps), but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter calculator with no annotations and no output schema, the description explains what is computed but not what is returned or how the comparison and savings figures are structured. A brief note on the response shape or the read-only nature of the operation would close the gap.

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 all ten parameters (including units, ranges, and defaults for zone, weightOz, and monthlyOrders) are already documented in the schema. The description adds conceptual meaning about how dimensions are treated (outer-wall tier bumps, DIM-139 weight) but no per-parameter semantics beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses three concrete verbs (detect, compare, project) tied to a specific resource domain: USPS Cubic outer-wall tier bumps, smaller standard boxes, and 90-day shipping savings. An agent can tell this is an analytics/estimation tool rather than a quoting tool. It does not, however, name or distinguish itself from the sibling quote_usps_cubic_box, which shares the same USPS Cubic domain.

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

Usage Guidelines3/5

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

Usage is only implied: the mention of comparing against smaller standard boxes and projecting savings suggests this is for box right-sizing decisions. There is no explicit statement of when to use this versus quote_usps_cubic_box, no prerequisites (e.g., that a current box spec and weight are required), and no exclusions.

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.

Resources