mcp-commerce-evals
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Demo bicycle-parts store with invented brands and a synthetic catalog. Typical flow: search_products to find candidates, get_product for detail when choosing between them, check_availability for the quantity the buyer wants, then create_cart and hand the checkout_url to the buyer. The buyer pays on that page; no tool takes payment. Do not guess part numbers: copy them from search results.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_availabilityA | Check whether specific quantities can ship now. Send one to twenty {id, quantity} items. For each item the answer is available (all on the shelf), partial (fewer on the shelf than requested), backorder (ships after restock_days), unavailable (out of stock, no date) or unknown_part. A part sent on several lines is added up first, as create_cart does. Call this before create_cart and tell the buyer about any item that is not available. Changes nothing. |
| create_cartA | Create a cart and get a checkout link for the buyer. Use it only after the buyer has chosen the parts and quantities. Takes one to twenty {id, quantity} items and returns checkout_url, lines and the subtotal; amounts come in dollars and, authoritatively, in cents. The buyer opens checkout_url, reviews the cart and pays there: you never pay and cannot. Refuses unknown parts, out-of-stock parts and quantities above the shelf (a part sent on several lines counts once, with the lines added up); backordered parts are accepted and flagged. |
| get_productA | Get everything the store knows about one part: description, technical attributes (speed, wheel size, brake type, axle standard and so on), compatibility list, price, stock status, units on the shelf and restock days. Use it to compare two or three candidates from search_products or to confirm that a part fits the buyer's bike before recommending it. |
| search_productsA | Find bicycle parts. Use this first, whenever the buyer names a part, a part number, a need or a bike. Takes free text (typos, synonyms and part numbers work) plus optional filters: brand, category, fits (such as 11-speed, road, disc-brake, 29in), in_stock_only and max_price_usd. Returns up to |
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 4 tools
Each tool maps to a distinct step in the purchase funnel: discovery (search_products), inspection (get_product), stock verification (check_availability), and purchase handoff (create_cart). Descriptions explicitly state ordering (search first, then availability, then cart), eliminating overlap.
All four names follow a consistent verb_noun snake_case pattern (search_products, get_product, check_availability, create_cart). Verb choices match the action semantics precisely with no stylistic drift.
Four tools is lean but each is essential to the search→inspect→verify→checkout workflow. Nothing is redundant and no plausible operation is obviously missing from the core loop.
The happy-path lifecycle is fully covered, including a deliberate refusal to handle payment (checkout_url handoff). Minor gaps remain: no way to modify or retrieve an existing cart, and no order status/lookup after checkout.