AI-powered shopping assistant with multi-merchant orchestration that discovers UCP merchants, compares products, optimizes multi-vendor orders with LangGraph
14 tools with mixed quality. Naming is strong (verb-first, clear intent). Descriptions are present but vary: discovery/search tools have good context (100-150 chars), but mock merchant endpoints lack depth. Input schemas visible for all tools with proper types, but output schemas are undocumented. Parameters mostly described, but some lack constraints (e.g., limit ranges, enum values). Error handling and recovery guidance absent. No tool annotations (readOnlyHint/destructiveHint). Composition is reasonable, tools chain logically (discover → search → compare → optimize → checkout), but no batch variants or idempotency guarantees documented.
Create a comparison matrix for the requested items. For each item name, gathers matching products from all merchants, scores them, and identifies the best price, best shipping, and overall recommended option.
Complete a checkout session and create an order.
Create a checkout session with line items.
Discover UCP merchants from the provided or default URLs. Parallelises UCP manifest fetches across candidate merchant URLs and ranks the results by capability match.
Discover merchants and also return the list of failed URLs.
Execute checkouts at all merchants in the plan. Groups items by merchant, creates checkout sessions, updates them with shipping details, and completes the orders. Handles partial failures so that one merchant's error does not block others.
Output schemas undocumented. No tool returns a documented schema, LLMs cannot predict response structure for downstream chaining. E.g., discover_merchants returns MerchantInfo list, but fields (id, name, capabilities, base_url) are not specified.
Mock merchant tools (ucp_manifest, negotiate, search_products, create_checkout, update_checkout, complete_checkout, get_order, list_orders) lack error recovery guidance. No descriptions of failure modes, retryability, or user-fixable errors. E.g., create_checkout does not document what happens if line_items is empty or invalid.
Parameter constraints missing. search_products accepts limit (1-100, default 20) and offset (default 0) but descriptions do not state ranges. list_orders accepts limit and offset with no bounds. LLMs may pass invalid values (limit=999999, offset=-1).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | <=2025-11-25 | v2 |
Retrieve order details and status.
List all orders with optional filtering and pagination.
Simplified capability negotiation endpoint for UCP merchants.
Build an optimized split-order plan. Determines the cheapest way to purchase all items in the comparison matrix, potentially splitting the order across multiple merchants to minimise total cost (product price + shipping).
Search all merchants for the given queries. Executes queries in parallel across all merchants. Results are keyed by merchant ID.
Search the product catalog with full-text search, category filtering, and price range filtering.
Serve the UCP discovery manifest for a mock merchant.
Update a checkout session with shipping address, billing address, shipping method, and discount code.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). execute_checkouts and checkout mutation tools (create_checkout, update_checkout, complete_checkout) are marked WRITE in risk but lack destructiveHint annotation. Agents cannot distinguish safe retries from irreversible operations.
Duplicate/near-duplicate tools. discover_merchants and discover_merchants_with_failures differ only in failure reporting. This forces LLM to reason about which to call. Consolidate into one tool with optional include_failures parameter.