Skip to main content
Glama

Kexlo

Shipping quote from China

get_shipping_quote
Read-onlyIdempotent

All-in DDP price for shipping one ecommerce order from Kexlo's warehouse in China to a destination country, by packed weight, product category and optional box size: the same public answer as the Kexlo shipping calculator. Returns the price, the estimated delivery in business days, the chargeable weight, what is included and a link to the answer.

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": {
      "country": "<country>",
      "weight_kg": "<weight_kg>"
    },
    "name": "get_shipping_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
box_cmNoOptional box size in centimetres (rounded up to 5 cm). Light, bulky parcels are priced on volumetric weight.
countryYesDestination as a two-letter ISO country code, for example US, GB, CA, AU, DE or FR.
categoryNoProduct category: general (most products), apparel, cosmetics, battery (electronics with built-in batteries) or supplements.general
currencyNoCurrency of the answer: USD (default), EUR, GBP, CNY or AUD.USD
weight_kgYesPacked weight of one order in kilograms, 0.01 to 30. Priced in 50 g steps, rounded up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the description only needs to add operational context, which it does by enumerating the return payload (price, business-day delivery estimate, chargeable weight, inclusions, answer link) and by disclosing that light bulky parcels are priced on volumetric weight. It does not discuss rounding of the money amount or currency conversion behaviour, but the important behavioural shape is covered.

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 with a colon introducing the return payload, so the purpose and outputs arrive in the first read. No filler, though the sentence is long and the trailing return-value clause could be split for scannability.

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

Completeness4/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 carries the burden of describing returns and does so explicitly, covering price, delivery days, chargeable weight, inclusions and a link. Combined with the annotations' safety profile and full schema coverage, an agent has enough to invoke it correctly; only edge behaviours like out-of-range weight handling are unaddressed.

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 the schema already documents country format, weight range and rounding, category enum meanings, currency options and box-size semantics. The description only restates that pricing keys off packed weight, category and optional box size, adding the volumetric-weight caveat that is already present in the box_cm field. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a concrete verb-and-resource pairing: computes an all-in DDP price for shipping one ecommerce order from Kexlo's Chinese warehouse to a destination, parameterised by weight, category and optional box size. It also pins the result to the public Kexlo calculator, which makes the scope tangible. It stops short of naming a sibling such as get_destination_rates, so differentiation is inferred rather than stated.

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 implied by 'the same public answer as the Kexlo shipping calculator' and by the 'one ecommerce order' scoping, which tells an agent this is a per-order landed-cost estimate. There are no explicit when-not conditions, no prerequisites, and no routing to alternatives like get_destination_rates or get_cost_index.

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