Skip to main content
Glama

What your box bills at

sellerprofit_box_billing
Read-onlyIdempotent

Works out the billable weight of one box with USPS (Priority Mail, Ground Advantage), UPS (Daily Rates and Retail Rates) and FedEx, from its outside size in inches and its actual weight, with each carrier's 2026 dimensional weight rules: sides rounded up to whole inches, cubic inches ÷ the divisor (139 for USPS since July 12, 2026, only for boxes over 1 cubic foot; UPS 139 Daily, 166 Retail; FedEx 139), rounded up to a pound, and the larger of that and the actual weight. It fits a seller who asks why a label cost more than the weight suggests, whether a box is too big, what dimensional weight a box has, or whether a smaller box would bill less. Takes lengthIn, widthIn, heightIn and weightLb or weightOz; optionally otherBox (a second box size) to compare. UPS and FedEx bill a large box (over 96 in long or over 130 in length plus girth) at least 90 lb; USPS prices by weight up to 108 in length plus girth (Ground Advantage commercial takes up to 130 in at a flat oversized price), and its row shows no billable weight past that; a box over 165 in length plus girth is refused. Returns per carrier the size weight, the billable weight, whether it bills on actual or size weight, and the largest box that still bills on the actual weight; USPS Ground Advantage cubic fit as information; warnings; and notes. No label prices (they depend on zone and account); divisors can differ by account. Dated carrier rules with sources. Free, no sign-in. Takes numbers only; nothing is stored.

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": {
      "lengthIn": "<lengthIn>",
      "widthIn": "<widthIn>",
      "heightIn": "<heightIn>"
    },
    "name": "sellerprofit_box_billing"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthInYesWidth, inches, measured on the outside of the box (decimals are fine: 15.2).
heightInYesHeight, inches, measured on the outside of the box (decimals are fine: 15.2).
lengthInYesLength, inches, measured on the outside of the box (decimals are fine: 15.2).
otherBoxNoOptional: a second (usually smaller) box to compare, inches, at the same weight. Adds what it bills at and the pounds it changes with each carrier.
weightLbNoThe packed box's actual weight, pounds (3.2 is 3.2 lb), up to 70. Or send weightOz.
weightOzNoThe packed box's actual weight in ounces (16 oz is 1 lb). Or send weightLb.

Output Schema

NameRequiredDescriptionDefault
boxYes
fixYesWhen a carrier bills on size: the largest box that bills on the actual weight with each one, in plain words.
linkYesOpens the matching page on sellerprofitdoctor.com. Carries none of the figures sent.
textYes
notesYesWhat the weights leave out and why, in plain words: no label prices, divisors that depend on the account, carriers re-measure.
ratesYesWhich carrier rules the weights use, as of when, and where they come from.
otherBoxYesWith otherBox only: the second box at the same weight.
warningsYesThings worth knowing about this box (rounding takes it over 1 cubic foot; USPS size limits and fees; UPS and FedEx large packages).
weightLbYesThe actual weight, pounds, to 3 decimals.
weightOzYesThe actual weight, ounces.
assumptionsYes
billableRangeYesBillable weight across the carrier rows that price this box by weight.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / assumptions / items / properties / isDefault / description
      Previous value: -"True when the value isn't the seller's own number or tap. Tell the seller, and ask for theirs."New value: +"True when the value isn't the seller's own number or tap: a default their own figure would replace."
    • changedOutput schema / properties / notes / description
      Previous value: -"What the weights leave out and why, in plain words: no label prices, divisors that depend on the account, carriers re-measure. Tell the seller."New value: +"What the weights leave out and why, in plain words: no label prices, divisors that depend on the account, carriers re-measure."
    • changedOutput schema / properties / warnings / description
      Previous value: -"Things about this box to tell the seller (rounding takes it over 1 cubic foot; USPS size limits and fees; UPS and FedEx large packages)."New value: +"Things worth knowing about this box (rounding takes it over 1 cubic foot; USPS size limits and fees; UPS and FedEx large packages)."
  2. Changed2 schema fields changed
    • addedOutput schema / properties / link
      Added value: +{
      +  "description": "Opens the matching page on sellerprofitdoctor.com. Carries none of the figures sent.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "weightOz",
      -  "weightLb",
      -  "box",
      -  "otherBox",
      -  "billableRange",
      -  "fix",
      -  "warnings",
      -  "text",
      -  "notes",
      -  "assumptions",
      -  "rates"
      -]New value: +[
      +  "weightOz",
      +  "weightLb",
      +  "box",
      +  "otherBox",
      +  "billableRange",
      +  "fix",
      +  "warnings",
      +  "text",
      +  "notes",
      +  "assumptions",
      +  "link",
      +  "rates"
      +]
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds substantial behavioral context: oversize thresholds (96 in long, 130 in L+girth, USPS 108/130 in, 165 in refusal), 90 lb minimums, that divisors vary by account, no label prices, free/no sign-in, and that nothing is stored. This is well beyond what the structured fields convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is one dense ~250-word run-on paragraph mixing carrier rules, edge cases, outputs and caveats with no structural breaks. Nearly every fact earns its place, but the lack of segmentation hurts scanability.

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?

Despite an existing output schema, the description anticipates the multi-carrier, multi-rule complexity by covering return contents, cubic-fit info, warnings/notes, and the caveats (account-specific divisors, no pricing). Nothing an agent needs to call and interpret it is missing.

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 coverage is 100%, so the baseline is 3, but the description adds meaning: it identifies lengthIn/widthIn/heightIn plus weightLb-or-weightOz as the inputs and explains otherBox as a second (usually smaller) box compared at the same weight. That clarifies intent beyond the per-field schema text without duplicating it.

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?

States a specific verb and resource — computing the billable (dimensional) weight of one box under USPS, UPS and FedEx 2026 rules — from outside dimensions and actual weight. 'No label prices' cleanly separates it from rate/fee siblings like sellerprofit_rates, so an agent can place it without ambiguity.

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?

Gives explicit when-to-use scenarios: a seller asking why a label cost more than the weight suggests, whether a box is too big, what dim weight a box has, or whether a smaller box would bill less. It does not name a specific sibling alternative or a when-not condition, so it stops short of the top tier.

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.