Skip to main content
Glama
Global Shopaholics MCP server

Global Shopaholics MCP server

by xuniwattoo

Total landed cost: item + fee + shipping + customs duties & import taxes

estimate_landed_cost
Read-onlyIdempotent

Estimate the total landed cost of US goods shipped internationally, including item price, shipping, customs duty, VAT/GST and fees, with a low–high range.

Instructions

Estimates what a buyer pays in total to get US goods delivered: item price, optional US sales tax, GS Assisted Purchase fee, live GS shipping (if package weight given) and import duty, VAT/GST and fees for the destination. Duty is per product category (phones, laptops, clothing, shoes, bags, cosmetics, perfume, watches, jewelry, toys, supplements, auto parts, tools, books and more) from GS's sourced rules for ${PROFILES.length} countries (Angola, Saudi Arabia, UAE, Australia, UK, all EU countries, Canada, Malaysia, Zambia, India, Algeria, Qatar, Pakistan, Nigeria, Brazil, South Africa, Japan, Korea and more), with de minimis thresholds, valuation basis (CIF/FOB), special courier regimes and who collects. Other countries use an external tariff lookup by HS code. Pass items[] (description and/or category or hs_code, unit price, quantity) for per-item results; the agent should infer the category. Returns a central estimate plus a low–high range, sources and last-checked dates. Use for 'how much will it cost in total to buy X in the US and get it to ', 'customs duty / VAT / import tax on a US order'. Results are ESTIMATES, not quotes.

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": {
      "destination_country": "<destination_country>"
    },
    "name": "estimate_landed_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoItem lines for per-category duty and tax. Recommended.
hs_codeNoOptional HS code for a single-item order (when items is omitted).
packageNoPackage for a live shipping quote.
categoryNoOptional category id for a single-item order (when items is omitted).
shipping_usdNoKnown shipping cost. Omit and pass package to fetch live GS rates.
payment_methodNoHow the GS invoice will be paid. Bank transfer or crypto: 0% standard assisted-purchase fee.card
item_categoriesNoDistinct product types (EU €3-per-category duty). Default 1.
items_total_usdNoTotal price of the items in USD (all quantities). Optional when items is given.
us_sales_tax_pctNoUS sales tax % if the store charges it. Default 0 (GS address is in Delaware: no sales tax).
assisted_purchaseNo'standard' if GS buys it for you; 'none' if the shopper buys and ships to their GS address.standard
preferred_carrierNoPick the cheapest service of this carrier (DHL, FedEx, UPS, USPS).
destination_countryYesISO 2-letter code or country name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, so the description adds real behavioral depth: per-category duty rules with de minimis thresholds, CIF/FOB valuation basis, special courier regimes, who collects the duty, and an external HS-code tariff lookup for unsupported countries. It also discloses the return shape (central estimate plus low–high range, sources, last-checked dates) and warns results are estimates, not quotes.

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?

Front-loaded with the core definition, which is good, but it then spends a large block enumerating ~19 countries and ~30 categories that are already encoded in the schema enums. It also leaks a literal template artifact '${PROFILES.length}' into the prose, which reads as an unrendered placeholder and undermines polish.

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?

For a 12-parameter tool with no output schema and nested objects, the description covers what an agent needs: cost components, which countries are rule-backed vs. lookup-based, the fallback path, and the return contents including confidence range and provenance dates. Only the estimate-vs-quote fallback (which sibling to use for a firm quote) is left implicit.

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 baseline is 3; the description earns above that by explaining the items[] vs. single category/hs_code duality ('when items is omitted') and that the agent should infer the category. It also clarifies that shipping is only live-fetched when a package weight is supplied, which the schema states less directly.

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?

Opens with a specific verb and resource: 'Estimates what a buyer pays in total to get US goods delivered', then enumerates the cost components (item price, sales tax, assisted-purchase fee, shipping, duty, VAT/GST). That scope clearly delineates it from a pure shipping-rate call, but it never names a sibling tool, so the 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 Guidelines4/5

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

Gives explicit trigger phrasings: 'how much will it cost in total to buy X in the US and get it to <country>' and 'customs duty / VAT / import tax on a US order'. Also sets the expectation boundary 'Results are ESTIMATES, not quotes', which implicitly steers quote requests elsewhere. No explicit when-not or named alternative is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.