Skip to main content
Glama

SMKlog Parcel Shipping Rates

Get live parcel shipping rates from a US origin

get_parcel_quote
Read-only

Live shipping rates for one parcel sent from a US origin — inside the US, or to Canada, the UK, Germany or Australia — across USPS, UPS and FedEx, and DHL Express on the German and Australian lanes. Describe the item in plain words and the packed box size and weight are estimated. Give exact dimensions and weight to skip the estimate. Returns up to five purchasable services, each as one checkout total with the SMKlog fee inside it (the fee is itemized only on the checkout receipt) and, where the carrier publishes one, its own counter price for the same parcel beside it.

Not every request is priced. A shipment past parcel limits or described as a pallet or freight load returns mode not_a_parcel with no rates: SMKlog does not arrange pallet or freight shipments. More than one box returns mode multiple_boxes with no rates: one label per box, so quote each box with quantity 1. Shipping labels are bought on smklog.com, not through this tool.

Choosing between the tools: use this one to answer what a shipment would cost. Then hand the quote_id it returns to create_checkout_link once the human has settled on shipping this exact parcel, so the pair costs one carrier call rather than two. Use get_price_index instead for typical or historical prices: it is free, while this tool spends a rate-limited carrier call every time.

Parameter rules:

  • weight_lb, length_in, width_in and height_in count only as a set of four, each above zero. Leave any one out and all four are ignored in favor of the estimate, so never send weight alone.

  • One label per box. quantity counts units of the item: units that fit one box are priced as that box (two books go in one carton), and units that need more than one box return mode multiple_boxes, as does any quantity above 1 sent with exact dimensions, since those describe a single box. A box past the largest parcel any carrier here takes (150 lb, 108 in on the longest side, 165 in of length plus girth; USPS stops lower, and only services that take the box are listed) or a product described as a pallet or freight load (a pallet of, LTL, truckload, shipping container) returns mode not_a_parcel. Neither carries rates.

  • product is the item itself, up to 200 characters. A bare route ("to Canada"), a bare weight ("7 lbs") or a question is refused as product_not_recognized before any carrier is called.

  • from_zip must be a real 5-digit US ZIP (ZIP+4 is trimmed to five), or the call fails with invalid_us_zip.

  • to_zip follows to_country: a 5-digit ZIP for US, otherwise that country's own postal code handed to the carriers as typed. A to_country outside US, CA, GB, DE and AU is refused as international_unsupported_online, so do not retry it with a different box.

  • Allowance: 80 calls an hour per client, shared with the public /quote route.

Input Schema

NameRequiredDescriptionDefault
to_zipYesDestination postal code: a 5-digit ZIP for the US, or the destination country's own postal code, e.g. M5V 2T6 for Toronto or SW1A 1AA for London.
productYesPlain-words item description, e.g. "65 inch flat screen TV in original box".
from_zipYesOrigin US ZIP code, 5 digits. The origin is always in the United States.
quantityNoHow many of the item ship together. Default 1.
width_inNoPacked box width, inches.
height_inNoPacked box height, inches.
length_inNoPacked box length, inches.
weight_lbNoPacked weight, pounds. Decimals allowed.
to_countryNoTwo-letter destination country: US (default), CA, GB, DE, AU.US

Output Schema

NameRequiredDescriptionDefault
modeNoQuote mode: parcel_label_ready when rates are listed; not_a_parcel, multiple_boxes or parcel_restricted when they are not
ratesYesUp to five purchasable services. Not cheapest first: they are ranked by best value, each rate scored as its checkout total in cents plus 175 per business day of transit (30 days when the carrier quotes none), lowest score first, and a rate that publishes a carrier counter price may lead a near-tie within 50 cents or 2 percent. Sort by amount yourself when you want the cheapest.
packageNoThe packed box the rates were computed for
quote_idNoHandle to this quote, good for 15 minutes. Pass it to create_checkout_link as quote_id and that call spends no second carrier call. Null when no rate came back, or when the handle could not be stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / quantity / description
      Previous value: -"Identical parcels in this shipment. Default 1."New value: +"How many of the item ship together. Default 1."
  2. Changed2 schema fields changed
    • changedOutput schema / description
      Previous value: -"Live rates for the shipment. Empty rates with mode \"freight_manager\" means a person prices it."New value: +"Live rates for the shipment. Empty rates come with a mode that says why: not_a_parcel (SMKlog does not arrange pallet or freight shipments), multiple_boxes (quote each box on its own) or parcel_restricted."
    • changedOutput schema / properties / mode / description
      Previous value: -"Quote mode; \"freight_manager\" routes to a human review"New value: +"Quote mode: parcel_label_ready when rates are listed; not_a_parcel, multiple_boxes or parcel_restricted when they are not"
  3. Changed3 schema fields changed
    • changedOutput schema / properties / rates / items / properties / amount / description
      Previous value: -"Checkout total, USD"New value: +"Checkout total, USD, SMKlog fee inside"
    • removedOutput schema / properties / rates / items / properties / carrier_amount
      Removed value: -{
      -  "description": "Negotiated carrier cost, USD",
      -  "type": "number"
      -}
    • removedOutput schema / properties / rates / items / properties / service_fee
      Removed value: -{
      -  "description": "SMKlog fee, USD",
      -  "type": "number"
      -}
  4. Changed1 schema field changed
    • changedOutput schema / properties / rates / description
      Previous value: -"Purchasable services, cheapest first"New value: +"Up to five purchasable services. Not cheapest first: they are ranked by best value, each rate scored as its checkout total in cents plus 175 per business day of transit (30 days when the carrier quotes none), lowest score first, and a rate that publishes a carrier counter price may lead a near-tie within 50 cents or 2 percent. Sort by amount yourself when you want the cheapest."
  5. Changed1 schema field changed
    • changedOutput schema / properties / rates / items / properties / carrier / description
      Previous value: -"USPS, UPS or FedEx"New value: +"USPS, UPS, FedEx or DHL"
  6. Changed14 schema fields changed
    • changedInput schema / properties / from_zip / description
      Previous value: -"Origin 5-digit US ZIP. The origin is always in the United States; there is no lane that starts abroad."New value: +"Origin US ZIP code, 5 digits. The origin is always in the United States."
    • changedInput schema / properties / height_in / description
      Previous value: -"Packed box height in inches."New value: +"Packed box height, inches."
    • addedInput schema / properties / height_in / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / length_in / description
      Previous value: -"Packed box length in inches. Supply all three dimensions AND weight_lb to skip the estimate."New value: +"Packed box length, inches."
    • addedInput schema / properties / length_in / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / product / description
      Previous value: -"Plain-words item description, e.g. \"65 inch flat screen TV in original box\""New value: +"Plain-words item description, e.g. \"65 inch flat screen TV in original box\"."
    • changedInput schema / properties / quantity / description
      Previous value: -"How many identical parcels ship together, priced as separate labels. Defaults to 1."New value: +"Identical parcels in this shipment. Default 1."
    • changedInput schema / properties / to_country / description
      Previous value: -"Two-letter destination country. Omit for a domestic shipment. Sold online: US, CA, GB, DE, AU. Any other country is refused with international_unsupported_online rather than priced, so do not retry it with a different box."New value: +"Two-letter destination country: US (default), CA, GB, DE, AU."
    • addedInput schema / properties / to_country / enum
      Added value: +[
      +  "US",
      +  "CA",
      +  "GB",
      +  "DE",
      +  "AU"
      +]
    • changedInput schema / properties / to_zip / description
      Previous value: -"Destination postal code. A 5-digit ZIP when to_country is US or omitted; otherwise that country's own postal code, e.g. M5V 2T6 for Toronto or SW1A 1AA for London."New value: +"Destination postal code: a 5-digit ZIP for the US, or the destination country's own postal code, e.g. M5V 2T6 for Toronto or SW1A 1AA for London."
    • changedInput schema / properties / weight_lb / description
      Previous value: -"Packed weight in pounds. Optional; estimated from the description when omitted."New value: +"Packed weight, pounds. Decimals allowed."
    • addedInput schema / properties / weight_lb / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / width_in / description
      Previous value: -"Packed box width in inches."New value: +"Packed box width, inches."
    • addedInput schema / properties / width_in / exclusiveMinimum
      Added value: +0
  7. Changed1 schema field changed
    • addedOutput schema / properties / quote_id
      Added value: +{
      +  "description": "Handle to this quote, good for 15 minutes. Pass it to create_checkout_link as quote_id and that call spends no second carrier call. Null when no rate came back, or when the handle could not be stored.",
      +  "type": "string"
      +}
  8. Changed4 schema fields changed
    • changedInput schema / properties / from_zip / description
      Previous value: -"Origin 5-digit US ZIP"New value: +"Origin 5-digit US ZIP. The origin is always in the United States; there is no lane that starts abroad."
    • changedInput schema / properties / quantity / description
      Previous value: -"How many identical parcels ship together. Defaults to 1."New value: +"How many identical parcels ship together, priced as separate labels. Defaults to 1."
    • addedInput schema / properties / to_country
      Added value: +{
      +  "default": "US",
      +  "description": "Two-letter destination country. Omit for a domestic shipment. Sold online: US, CA, GB, DE, AU. Any other country is refused with international_unsupported_online rather than priced, so do not retry it with a different box.",
      +  "type": "string"
      +}
    • changedInput schema / properties / to_zip / description
      Previous value: -"Destination 5-digit US ZIP"New value: +"Destination postal code. A 5-digit ZIP when to_country is US or omitted; otherwise that country's own postal code, e.g. M5V 2T6 for Toronto or SW1A 1AA for London."
  9. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, openWorld, non-idempotent), and the description adds what they cannot: 80 calls/hour shared with the public route, the SMKlog fee baked into the total and itemized only on the receipt, labels bought on smklog.com rather than here, and the precise mode values (not_a_parcel, multiple_boxes) returned when no rates exist.

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?

Long, but front-loaded and organized into prose plus a bulleted parameter-rules block, with almost no filler. The freight/multi-box exclusions repeat slightly between the opening paragraph and the quantity bullet, which keeps it short of a 5.

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?

For a 9-parameter, open-world, rate-limited tool with an output schema, everything needed to call it correctly is present: lane coverage, box limits (150 lb, 108 in side, 165 in length+girth), error modes, rate limit, and where checkout actually happens.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds material semantics: the four dimension fields only count as a set, quantity counts units of the item with one label per box, product is capped at 200 chars and rejects bare routes/weights as product_not_recognized, and from_zip is trimmed and validated as a real US ZIP.

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?

Names the exact resource (live parcel shipping rates), the scope (one parcel, US origin), the supported destinations and carriers, and distinguishes itself from get_price_index and create_checkout_link by name. An agent can file this correctly without opening the schema.

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

Usage Guidelines5/5

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

Explicit routing: use this to answer what a shipment would cost, hand the quote_id to create_checkout_link, and use get_price_index for typical/historical prices because it is free while this spends a rate-limited carrier call. It also states when-not (pallet, freight, multi-box) and the non-retryable international_unsupported_online case.

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.