walmart-ca-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HEADLESS | No | Run headless Chrome. Not recommended. | false |
| CHROME_PATH | No | Chrome binary path. Auto-detected by default (/usr/local/bin/chrome in Docker). Use one build for the profile. | |
| WALMART_LANG | No | Language setting: en or fr. | en |
| LOGIN_TIMEOUT_MS | No | How long the login helper waits for you to sign in. | 1800000 |
| WALMART_DEBUG_DIR | No | Directory for screenshots and HTML of failed pages, and raw delivery-slot data. May include account details. | |
| WALMART_PROFILE_DIR | No | Chrome profile directory. In Docker the default is /profile. Holds the signed-in session: keep it private. | ./profile |
| BROWSER_IDLE_CLOSE_MS | No | Close Chrome after this long without calls. Set to 0 to keep it open. | 600000 |
| WALMART_NAV_TIMEOUT_MS | No | Page load timeout in milliseconds. | 45000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_productsA | Search products on Walmart.ca. Returns name, price (CAD), stock, rating, seller (Walmart or marketplace), delivery estimate and product id. Prices are for the store shown in "store". Sponsored results are left out unless asked for. |
| get_product_detailsA | Full details for one Walmart.ca product: price, stock, seller, specifications, description, variants and images. Accepts a product id from search_products or a walmart.ca product URL. |
| session_statusA | Check that Walmart.ca is reachable, whether the bot check is blocking requests, whether the browser profile is signed in, and which store prices are shown for. Returns no account details. |
| get_my_itemsA | Products the signed-in account has bought before (Walmart.ca "My Items" / reorder page): current price, unit price, stock and how often bought (e.g. "Bought 5+ times"). Filter by category (as listed in "categories"), by words in the name, or to in-stock items. Use add_to_cart with an item id to reorder. |
| get_ordersA | Recent Walmart.ca orders for the signed-in account, newest first: order id, date, total, item count, and per delivery/pickup group the status and item names with quantities. Filter by date ("last-3-months", "last-6-months", "year-0" = this year, "year-1" = last year, ...), "returned", or in-store purchases; the valid ids come back in "filters". Item lists here are as ordered; use get_order_details for what was actually received (unavailable / substituted items), item prices and the order breakdown. |
| get_order_detailsA | One Walmart.ca order: each item with product id, quantity, price and what happened to it: Received, Received (price adjusted to actual weight), Substitute received, Refunded (no need to return), Unavailable (not charged; "charged": false). Walmart does not say which ordered item a substitute replaced. Also a per-shipment summary ("7 items received", "1 unavailable item") and subtotal, savings, fees, tax, tip and total. Payment and address details are not returned. |
| track_orderA | Live status of an order: status message (e.g. "Arriving by 3:40pm"), step tracker (Placed / Preparing / On the way / Delivered), delivery or pickup window, delay flags, driver/live header when Walmart shows one, carrier tracking for shipped items, and whether the slot can still be changed or the order cancelled. Without orderId, checks the 10 most recent orders and tracks any not yet delivered. |
| get_cartA | List the items in the signed-in Walmart.ca cart: product id, name, quantity, price, line total and seller, plus item count, subtotal and fees. Saved-for-later items are not included. Needs a signed-in profile. |
| add_to_cartA | Add a product to the signed-in Walmart.ca cart (adds to any quantity already there). Does not check out or place an order. Returns the cart line and the new subtotal. Needs a signed-in profile. |
| set_cart_quantityA | Set an item already in the signed-in cart to an exact quantity (0 removes it). Use add_to_cart for items not yet in the cart. Returns the new line total and cart subtotal. |
| remove_from_cartB | Remove a product (all units) from the signed-in Walmart.ca cart. Saved-for-later items are not touched. |
| get_flyerA | Items in the current Walmart.ca flyers for the profile's store: name, brand, flyer price (e.g. "$2.44", "$3.97/lb", "From $9.97"), regular price, deal (e.g. Rollback), category, details and valid-to date. "id" is the Walmart product id (works with add_to_cart / get_product_details). Defaults to the main weekly flyer; others (Private Brands, Holiday Gifting, ...) are listed in "flyers". Filter by words in the name/description or by category (as listed in "categories"). Cached for an hour. |
| get_my_dealsA | Cross-check My Items (products the account has bought before) against every current flyer for the store. "onSale": exact matches by product id, with flyer price, regular price, deal and how often bought. "possibleMatches": flyer items that look like a usual item by brand and name (flyer items often cover several products, e.g. "Sealtest 5% or 10% cream") - worth checking. Use add_to_cart with myItem.id to buy. |
| get_delivery_slotsA | Time slots for the signed-in cart (Walmart lists 7 days; default returns 3 from the first bookable day): per day, each slot window, price (Walmart+ prices shown as $0 with the regular price), kind (scheduled, or express/"now" options when Walmart offers them, usually same day) and slotId. Also the cart's current mode, store and reserved slot. mode picks pickup or delivery slots (default: the cart's current mode; viewing does not change the cart). The cart must have items. |
| reserve_slotA | Reserve a pickup or delivery time slot for the cart (slotId from get_delivery_slots; pass the same mode). Reserving a slot of the other method also switches the cart to it. Walmart holds a reservation for a limited time (heldUntil); it does not place an order. |
| set_fulfillment_modeA | Switch the signed-in cart between pickup and delivery (without choosing a time). The cart must have items. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Each tool targets a distinct resource+action pair, and the descriptions actively draw the boundaries (get_orders = ordered items, get_order_details = what was actually received, track_order = live shipment status; get_flyer = browse current flyers, get_my_deals = cross-reference against purchase history). Cart tools are cleanly split into read/add/set-quantity/remove with explicit cross-references. No two tools appear to do the same thing.
Nearly everything follows a snake_case verb_noun pattern (search_products, get_cart, add_to_cart, set_cart_quantity, remove_from_cart, reserve_slot, track_order). The only deviation is session_status, which drops the verb, and get_my_items / get_my_deals use possessive phrasing, but the overall convention is highly predictable.
16 tools is at the upper end of the comfortable band, but each one maps to a real step in the shopping lifecycle (discover, inspect, cart, fulfillment, order history). Nothing looks redundant or padded, though it sits just past the typically-scoped 3-15 range.
Search, product, cart CRUD, flyer/deals, delivery slots and order history/tracking are all well covered, so the browse-to-cart-to-slot flow is complete. However, there is no checkout/place-order tool (the descriptions explicitly stop at the cart), no order cancellation despite track_order reporting eligibility, and no way to change the store used for pricing — real dead ends for the assistant's stated workflow.