MCP server for integrating with walmart products backend API
The server defines 10 e-commerce tools with complete input schemas and basic descriptions. However, descriptions are minimal (most under 100 chars), lack actionable context for LLM decision-making, and do not explain prerequisites or error recovery. Parameter descriptions are mostly present but sparse. Output schemas are not documented, responses are JSON strings without structured format specification. Error handling exists in code but is not reflected in tool definitions. Tool naming follows verb_noun convention (get_, add_, remove_, apply_, place_) which is correct, but lacks specificity around cart state management workflows. The server accepts reasonable parameters but lacks idempotency guarantees and confirmation mechanisms for irreversible operations (place_order). Most tools are read-only (5/10) which reduces complexity, but the write tools (add_to_cart, apply_coupon, place_order) lack safeguards outlined in the error-handling and confirmation-request patterns.
Add a product to the shopping cart with specified quantity
Apply a discount coupon to the shopping cart
Fetch all available coupons and discount codes
Fetch all items currently in the shopping cart
Fetch order history and transaction details
Fetch all products from a specific category. Available categories: smartphones, tv, shoes, healthcare, electronics, fitness
Filter smartphones by maximum price. This endpoint specifically filters smartphones only.
Place an order with the current cart items
Output schemas are not documented. Tool responses return JSON strings with {success, data, message, error, timestamp} structure, but this is not declared in tool definitions. LLMs cannot predict response shape for downstream processing or chaining.
Descriptions are too generic and lack actionable context. Examples: 'Fetch all items currently in the shopping cart' (40 chars), 'Fetch all available coupons and discount codes' (45 chars). These do not explain WHEN to call this tool, how it differs from related tools, or what the LLM should do with the result. Baseline: good descriptions are 100-200 chars.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 5 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 42 | - | v1 |
Remove the applied coupon from the shopping cart
Remove a product from the shopping cart
place_order tool lacks confirmation or dry-run mechanism. It is an irreversible operation (RISK=IRREVERSIBLE) with no input parameters and no safeguards. The tool definition does not warn that this action is destructive or request confirmation. An agent could accidentally trigger an order without user consent.
No idempotency guarantees declared for write operations (add_to_cart, remove_from_cart, apply_coupon, remove_coupon, place_order). Agents retry on network failures, without idempotency hints, repeated calls could duplicate cart additions or place multiple orders. Tool definitions should include 'idempotent' annotations.
Missing parameter descriptions for optional/defaulted parameters. Example: add_to_cart has 'quantity' with description 'Quantity of the product to add (default: 1)', this is present but vague on format. remove_from_cart has 'removeAll' (boolean, default: false) with a description that could be clearer: 'Whether to remove all quantities' does not explain if this means delete the item entirely vs decrement to 0 vs something else.
Error handling exists in implementation (makeHttpRequest, createResponse) but is NOT reflected in tool definitions. Definitions do not document what errors could occur (404, timeout, invalid coupon) or what the LLM should do next. Pattern recovery-guide requires this.
Tool definitions lack discovery guidance. There is no help_text or related_tools hint. An LLM faced with a large product catalog cannot easily discover what categories are available, it must infer from get_products_by_category enum. There is no search_products or filter_by_price_range tool to handle complex queries.