Calculate letter postage
calculate_letter_postageCalculate USPS retail postage for letters, postcards, and large envelopes by weight and destination, including nonmachinable surcharges, quantity totals, and Forever stamps per piece.
Instructions
Retail postage for one letter, postcard or large envelope (flat) by weight, to the US, Canada, Mexico or any other country, with the nonmachinable surcharge for square or rigid cards, the total for a quantity, and the number of Forever stamps per piece. Letters up to 3.5 oz, US large envelopes up to 13 oz.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_letter_postage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Default "letter". | |
| quantity | No | Number of identical pieces, for example 40 holiday cards. Default 1. | |
| weight_oz | No | Weight in ounces. Default 1. | |
| destination | No | "US" (default), "Canada", "Mexico" or another country name. | |
| nonmachinable | No | True for square, rigid, lumpy or vertical letters and cards (adds the surcharge). |