Skip to main content
Glama

Get a shipping quote

get_shipping_quote
Read-onlyIdempotent

Get live shipping prices for one parcel from several carriers (Canada Post, UPS, FedEx and others). No account needed. Give the origin and destination postal or ZIP codes and the weight in kilograms (convert pounds and inches first); the box size is optional and a 30 x 20 x 10 cm box is assumed when it is missing. Returns up to 6 of the cheapest services with price and estimated transit time, and a link that opens the same quote on the website, where the label can be bought. Prices are the public rates at the moment of the quote. If the user is signed in, compare_shipping_rates returns their own account prices instead.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the answer. Defaults to the user's locale, then to the site's language.
width_cmNoOptional. Box width in centimetres.
height_cmNoOptional. Box height in centimetres.
length_cmNoOptional. Box length in centimetres.
to_postalYesDestination postal or ZIP code, e.g. "M5V 2T6".
weight_kgYesParcel weight in kilograms. Must be greater than 0.
to_countryNoDestination country, ISO alpha-2. Defaults to "CA".
from_postalYesOrigin postal or ZIP code, e.g. "H2X 1Y1".
from_countryNoOrigin country, ISO alpha-2. Defaults to "CA".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the read-only annotations, it discloses that no account is needed, prices are public rates at quote time, and the response includes up to six cheapest services with price, transit time, and a website link for buying the label. This gives the agent useful behavioral context for interpreting and presenting results.

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 front-loaded with the core purpose, then adds only relevant usage and return details. Despite being several sentences, each part contributes useful information for invoking or interpreting the tool.

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?

With no output schema, the description adequately explains what is returned: up to six cheapest services, price, estimated transit time, and a quote link. Together with the annotations and fully documented schema, an agent has enough context to call and present this tool correctly.

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 schema already documents each parameter. The description still adds meaningful guidance beyond the schema, especially unit conversion for weight and dimensions and the default 30 x 20 x 10 cm box assumption when dimensions are omitted.

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 states a specific verb and resource: get live shipping prices for one parcel from several named carriers. It clearly distinguishes this from compare_shipping_rates by positioning that sibling as the account-price alternative.

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?

It explicitly says when to use this tool: public rates, no account needed, origin/destination postal codes and weight required. It also names the alternative when the user is signed in: compare_shipping_rates returns their own account prices instead.

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