# SendaMeal Storefront

> Search gift meals and send them as gifts. Live catalog, cart, and guest checkout for SendaMeal.

- name: com.sendameal/storefront
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 80/100 flags: no-repository
- quality: 70/100 (needs work)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.sendameal%2Fstorefront
- tools: https://api.protogrid.dev/v1/servers/com.sendameal%2Fstorefront/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "storefront": {
      "type": "http",
      "url": "https://store-odebi8ye4k-1.mybigcommerce.com/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 85
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% ~updated-66d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 70/100 (needs work)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 64 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 4 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: update_cart_item (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); add_item_to_cart (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); create_checkout_url (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 4,009 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 75 (weight 15)

- warn `stability.changes`: 12 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 4,009 tokens to load them all
- tool set hash: f74147600dc457b0e6c3b2f70b618f36
- tools last changed: 2026-10-19T03:21:36.815Z
- badge: [![protogrid quality](https://protogrid.dev/badge/com.sendameal/storefront.svg)](https://protogrid.dev/servers/com.sendameal/storefront)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-10-19 `update_cart_item` added
  - Change an item that is already in the shopping cart. Use this tool to change the quantity, the variant, or the modifier options of one cart item. A cart must exist and must have items. Steps 1. Call the 'add_item_to_cart' tool to put an item in the cart. 2. Call this tool to change the item. 3. Call the 'create_checkout_url' tool to get a checkout URL. Rules Send 'line_item_id' to select the cart item to change. Send 'quantity' and 'productEntityId' in 'item'. If the product has variants, send 'variantEntityId'. Modifier options 'item.selectedOptions' works as it works in the 'add_item_to_cart' tool. The 'get_product_details' tool returns these options in 'modifierOptions'. If the product has required modifier options, send them again in this request. If you do not send them, the server does not change the item. Send only the buckets that you need.
- 2026-10-19 `search_products` added
  - Search products by a term Arguments: term - the search term to look for products. It should be at least 3 characters long. cursor - optional, used for pagination. If provided, it will return the next page of results after. Pagination: Supports pagination with 'cursor' arguments. If 'cursor' is not provided, it will return the first page of results. Value for 'cursor' can be obtained from the 'nextCursor' field in the response. If 'nextCursor' is null, it means there are no more results to fetch. If value of cursor is null (or a string representation of 'null') dont send it in the payload. Results: Each product includes 'requiresFileUpload'. When true, the product has a required file-upload option (e.g. "upload your design") and shouldn't be added to cart through this assistant. Do not attempt to purchase it — tell the user it must be ordered on the website. Stock: Each product carries 'inStock'. It reports whether the store has units on hand. It does NOT report whether the item can be bought. - false does NOT mean the purchase will fail. Many stores accept orders for out-of-stock items - backorder, pre-order, or made-to-order goods that are fabricated after ordering. Whether a given store does is not exposed by this API. So: tell the user the item is out of stock and may take longer to arrive, then ADD IT if they still want it. Do not refuse on 'inStock: false' alone. - If the store really does block it, 'add_item_to_cart' fails and returns the reason. Relay that reason to the user. Attempting the add is the only reliable way to find out. - true only means no out-of-stock condition is reported. A store that does not track inventory reports true for every product, so never state or imply a quantity. - 'inventoryLevel' appears only on stores that publish stock figures; absent means undisclosed, not zero. Flow: - Call this tool with a 'term' argument and optionally with 'cursor' to search for products. - if you find a matching product, call 'get_product_details' with the product ID to get its variants and options (if any). - if 'requiresFileUpload' is true, inform the user the product needs a file upload and cannot be purchased here. - Call 'add_item_to_cart' with results of 'search_products' and 'get_product_details' (variant) tools to add the product to the cart. - [IMPORTANT] If product has variants ask user to pick
- 2026-10-19 `remove_item_from_cart` added
  - Remove specific items from your shopping cart. It is removing the item completly from the cart. If you want to reduce quantity of the items use 'update_cart_item' Remove unwanted items from your shopping cart by targeting specific item IDs. This tool provides precise control over cart cleanup and item removal. Use this tool when customers want to: -Remove specific products they no longer want -Delete gift certificates from their cart -Clean up their cart before checkout -Remove items added by mistake Features: - Target removal by specific item ID - Works with both products and gift certificates - Maintains cart structure after removal - Immediate cart updates Flow: - Call 'search_products' tool to find products by search term. - Call 'get_product_details' tool to get product variants and images. - Call 'add_item_to_cart' tool to create new cart with item - Call 'add_item_to_cart' tool to add another item to cart - Call 'remove_item_from_cart' tool to remove added item to cart - Call 'create_checkout_url' tool to generate a checkout URL for the cart. Requires an existing cart with items to remove.
- 2026-10-19 `get_product_details` added
  - Get the details of one or more products. The details are the variants, the options, and the images. Arguments productIds - The list of product IDs. Get these IDs from the 'search_products' tool. Request only the products that the user needs. The server has a maximum count of IDs. The default maximum is 20. If you send too many IDs, the server returns an error. Then send fewer IDs. option_values - The option IDs and the value IDs of one variant. Use this argument with one product ID only. This argument applies to the B2C catalog. For a B2B buyer, the tool returns all the variants. Then select one variant. channelId - Optional. This argument selects the B2B catalog. The default is the channel of the request. variantCursor - Optional. This argument gets the next page of variants. Use this argument with one product ID only. Take the value from 'nextVariantCursor' in the previous result. If 'nextVariantCursor' is absent, or is null, or is the text "null", do not send this argument. Results The tool returns a list of products in 'products'. The output schema gives all the fields. A product has 'modifierOptions' only if the product has modifier options. A variant has a price, an inventory level, a purchase flag, and bulk prices only for a B2B buyer. If the tool does not find a product, the list does not include that product. Modifier options A modifier option is a product choice that is not a variant. Examples are an engraving message and a gift note. A variant option is never a modifier option. If a product has no 'modifierOptions', add the product to the cart without 'selectedOptions'. An option is required if 'isRequired' is 'true'. Send each required option to the 'add_item_to_cart' tool. If you do not send a required option, the server does not add the item. A variant selection does not replace a required option. Each option has 'optionEntityId', 'displayName', and 'selectedOptionsKey'. 'selectedOptionsKey' is the name of the field to send the option in. A choice option has 'values'. Each value has 'valueEntityId' and 'label'. A free-entry option has 'constraints' in place of 'values'. If 'unsupported' is 'true', you cannot send the option. A file upload is one example. If such an option is also required, tell the user to buy the product on the website. Variant pages The list of variants can be one page of a longer list. The server sets the page size. If 'hasMoreVariants' is 'true', more variants exist than the tool returned. Then do not tell the user that a variant does not exist. You did not receive all the variants. To get the next page, call this tool again. Send the same product ID, and only that product ID. Send 'variantCursor' with the value of 'nextVariantCursor'. A filter is better than a page walk. If the user named the variant, send 'option_values' instead. One filtered call is cheaper than many pages. Do not change 'option_values' between pages. The cursor is a position in the list of the previous call. A different filter gives the wrong variants. Stock Each product has 'inStock'. It tells you if the store has units in stock. It does not tell you if the user can buy the product. If 'inStock' is 'false', do not refuse the request. Many stores accept orders for products that are not in stock. Tell the user that the product is not in stock, and that delivery can take more time. Then add the product if the user agrees. If the store blocks the purchase, the 'add_item_to_cart' tool fails and gives a reason. Give that reason to the user. If 'inStock' is 'true', the store reports no out-of-stock condition. A store that does not count stock reports 'true' for all products. Therefore do not tell the user a quantity. 'inventoryLevel' is present only if the store publishes stock counts. If 'inventoryLevel' is absent, the count is unknown. The count is not zero. Each variant has its own 'inStock'. Use the value of the variant if you add one variant. Steps 1. Call the 'search_products'
- 2026-10-19 `create_checkout_url` added
  - CreateResult a checkout URL for a cart assigned to a current session Arguments: None, but requires a cart to be present in the current session. Returns: - checkoutURL - the URL to redirect the user to for checkout - errors - any errors encountered during the process (like, cart not found, etc.) Flow: - Call 'manage_cart' with 'create_cart' operation to create a new cart. - Call this tool to create a checkout URL for the cart assigned to the current session.
- 2026-10-19 `add_item_to_cart` added
  - Add one or more items to the shopping cart. If no cart exists, this tool makes a new cart. This tool adds products and gift certificates. Steps 1. Call the 'search_products' tool to find a product. 2. Call the 'get_product_details' tool to get the variants and the modifier options. 3. Call this tool to add the item. 4. Call the 'create_checkout_url' tool to get a checkout URL. Rules Send 'quantity' and 'productEntityId' for each item. If the product has variants, send 'variantEntityId'. Modifier options A modifier option is a product choice that is not a variant. Examples are an engraving message and a nicotine strength. The 'get_product_details' tool returns these options in 'modifierOptions'. If the product has no 'modifierOptions', do not send 'selectedOptions'. Do not send a variant option in 'selectedOptions'. Send a variant in 'variantEntityId'. An option is required if 'isRequired' is 'true'. Send each required option. If you do not send a required option, the server does not add the item. To send an option: 1. Read the bucket name from 'selectedOptionsKey'. 2. Add the option to 'item.selectedOptions' in that bucket. 3. Send the 'optionEntityId' of the option. 4. For a choice option, send the 'valueEntityId' of the value that the user selected. Send only the buckets that you need. Example. A required choice option has a 'selectedOptionsKey' of "multipleChoices", an 'optionEntityId' of 108, and a selected value with a 'valueEntityId' of 251: { "item": { "quantity": 1, "productEntityId": 88, "variantEntityId": 67, "selectedOptions": { "multipleChoices": [ { "optionEntityId": 108, "optionValueEntityId": 251 } ] } } } A free-entry bucket takes a typed value in place of an ID. 'textFields' and 'multiLineTextFields' take "text". 'numberFields' takes "number". 'dateFields' takes "date". Obey the 'constraints' of the option. If a required option has more than one value, ask the user to select one value. Do not select a value yourself. Do not use the default value. If 'unsupported' is 'true', you cannot send the option. If such an option is also required, tell the user to buy the product on the website.
- 2026-10-18 `update_cart_item` removed
  - Change an item that is already in the shopping cart. Use this tool to change the quantity, the variant, or the modifier options of one cart item. A cart must exist and must have items. Steps 1. Call the 'add_item_to_cart' tool to put an item in the cart. 2. Call this tool to change the item. 3. Call the 'create_checkout_url' tool to get a checkout URL. Rules Send 'line_item_id' to select the cart item to change. Send 'quantity' and 'productEntityId' in 'item'. If the product has variants, send 'variantEntityId'. Modifier options 'item.selectedOptions' works as it works in the 'add_item_to_cart' tool. The 'get_product_details' tool returns these options in 'modifierOptions'. If the product has required modifier options, send them again in this request. If you do not send them, the server does not change the item. Send only the buckets that you need.
- 2026-10-18 `search_products` removed
  - Search products by a term Arguments: term - the search term to look for products. It should be at least 3 characters long. cursor - optional, used for pagination. If provided, it will return the next page of results after. Pagination: Supports pagination with 'cursor' arguments. If 'cursor' is not provided, it will return the first page of results. Value for 'cursor' can be obtained from the 'nextCursor' field in the response. If 'nextCursor' is null, it means there are no more results to fetch. If value of cursor is null (or a string representation of 'null') dont send it in the payload. Results: Each product includes 'requiresFileUpload'. When true, the product has a required file-upload option (e.g. "upload your design") and shouldn't be added to cart through this assistant. Do not attempt to purchase it — tell the user it must be ordered on the website. Stock: Each product carries 'inStock'. It reports whether the store has units on hand. It does NOT report whether the item can be bought. - false does NOT mean the purchase will fail. Many stores accept orders for out-of-stock items - backorder, pre-order, or made-to-order goods that are fabricated after ordering. Whether a given store does is not exposed by this API. So: tell the user the item is out of stock and may take longer to arrive, then ADD IT if they still want it. Do not refuse on 'inStock: false' alone. - If the store really does block it, 'add_item_to_cart' fails and returns the reason. Relay that reason to the user. Attempting the add is the only reliable way to find out. - true only means no out-of-stock condition is reported. A store that does not track inventory reports true for every product, so never state or imply a quantity. - 'inventoryLevel' appears only on stores that publish stock figures; absent means undisclosed, not zero. Flow: - Call this tool with a 'term' argument and optionally with 'cursor' to search for products. - if you find a matching product, call 'get_product_details' with the product ID to get its variants and options (if any). - if 'requiresFileUpload' is true, inform the user the product needs a file upload and cannot be purchased here. - Call 'add_item_to_cart' with results of 'search_products' and 'get_product_details' (variant) tools to add the product to the cart. - [IMPORTANT] If product has variants ask user to pick
- 2026-10-18 `remove_item_from_cart` removed
  - Remove specific items from your shopping cart. It is removing the item completly from the cart. If you want to reduce quantity of the items use 'update_cart_item' Remove unwanted items from your shopping cart by targeting specific item IDs. This tool provides precise control over cart cleanup and item removal. Use this tool when customers want to: -Remove specific products they no longer want -Delete gift certificates from their cart -Clean up their cart before checkout -Remove items added by mistake Features: - Target removal by specific item ID - Works with both products and gift certificates - Maintains cart structure after removal - Immediate cart updates Flow: - Call 'search_products' tool to find products by search term. - Call 'get_product_details' tool to get product variants and images. - Call 'add_item_to_cart' tool to create new cart with item - Call 'add_item_to_cart' tool to add another item to cart - Call 'remove_item_from_cart' tool to remove added item to cart - Call 'create_checkout_url' tool to generate a checkout URL for the cart. Requires an existing cart with items to remove.
- 2026-10-18 `get_product_details` removed
  - Get the details of one or more products. The details are the variants, the options, and the images. Arguments productIds - The list of product IDs. Get these IDs from the 'search_products' tool. Request only the products that the user needs. The server has a maximum count of IDs. The default maximum is 20. If you send too many IDs, the server returns an error. Then send fewer IDs. option_values - The option IDs and the value IDs of one variant. Use this argument with one product ID only. This argument applies to the B2C catalog. For a B2B buyer, the tool returns all the variants. Then select one variant. channelId - Optional. This argument selects the B2B catalog. The default is the channel of the request. variantCursor - Optional. This argument gets the next page of variants. Use this argument with one product ID only. Take the value from 'nextVariantCursor' in the previous result. If 'nextVariantCursor' is absent, or is null, or is the text "null", do not send this argument. Results The tool returns a list of products in 'products'. The output schema gives all the fields. A product has 'modifierOptions' only if the product has modifier options. A variant has a price, an inventory level, a purchase flag, and bulk prices only for a B2B buyer. If the tool does not find a product, the list does not include that product. Modifier options A modifier option is a product choice that is not a variant. Examples are an engraving message and a gift note. A variant option is never a modifier option. If a product has no 'modifierOptions', add the product to the cart without 'selectedOptions'. An option is required if 'isRequired' is 'true'. Send each required option to the 'add_item_to_cart' tool. If you do not send a required option, the server does not add the item. A variant selection does not replace a required option. Each option has 'optionEntityId', 'displayName', and 'selectedOptionsKey'. 'selectedOptionsKey' is the name of the field to send the option in. A choice option has 'values'. Each value has 'valueEntityId' and 'label'. A free-entry option has 'constraints' in place of 'values'. If 'unsupported' is 'true', you cannot send the option. A file upload is one example. If such an option is also required, tell the user to buy the product on the website. Variant pages The list of variants can be one page of a longer list. The server sets the page size. If 'hasMoreVariants' is 'true', more variants exist than the tool returned. Then do not tell the user that a variant does not exist. You did not receive all the variants. To get the next page, call this tool again. Send the same product ID, and only that product ID. Send 'variantCursor' with the value of 'nextVariantCursor'. A filter is better than a page walk. If the user named the variant, send 'option_values' instead. One filtered call is cheaper than many pages. Do not change 'option_values' between pages. The cursor is a position in the list of the previous call. A different filter gives the wrong variants. Stock Each product has 'inStock'. It tells you if the store has units in stock. It does not tell you if the user can buy the product. If 'inStock' is 'false', do not refuse the request. Many stores accept orders for products that are not in stock. Tell the user that the product is not in stock, and that delivery can take more time. Then add the product if the user agrees. If the store blocks the purchase, the 'add_item_to_cart' tool fails and gives a reason. Give that reason to the user. If 'inStock' is 'true', the store reports no out-of-stock condition. A store that does not count stock reports 'true' for all products. Therefore do not tell the user a quantity. 'inventoryLevel' is present only if the store publishes stock counts. If 'inventoryLevel' is absent, the count is unknown. The count is not zero. Each variant has its own 'inStock'. Use the value of the variant if you add one variant. Steps 1. Call the 'search_products'

Full history: https://api.protogrid.dev/v1/servers/com.sendameal%2Fstorefront/changes

## Remotes

- https://store-odebi8ye4k-1.mybigcommerce.com/api/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (6)

- `add_item_to_cart`: 
Add one or more items to the shopping cart.

If no cart exists, this tool makes a new cart. This tool adds products and gift
certificates.

Steps

1. Call the 'search_products' tool to find a product.
2. Call the 'get_product_details' tool to get the variants and the modifier options.
3. Call this tool to add the item.
4. Call the 'create_checkout_url' tool to get a checkout URL.

Rules

Send 'quantity' and 'productEntityId' for each item.
If the product has variants, send 'variantEntityId'.

Modifier options

A modifier option is a product choice that is not a variant.
Examples are an engraving message and a nicotine strength.
The 'get_product_details' tool returns these options in 'modifierOptions'.

If the product has no 'modifierOptions', do not send 'selectedOptions'.
Do not send a variant option in 'selectedOptions'.
Send a variant in 'variantEntityId'.

An option is required if 'isRequired' is 'true'.
Send each required option.
If you do not send a required option, the server does not add the item.

To send an option:
1. Read the bucket name from 'selectedOptionsKey'.
2. Add the option to 'item.selectedOptions' in that bucket.
3. Send the 'optionEntityId' of the option.
4. For a choice option, send the 'valueEntityId' of the value that the user selected.

Send only the buckets that you need.

Example. A required choice option has a 'selectedOptionsKey' of "multipleChoices", an
'optionEntityId' of 108, and a selected value with a 'valueEntityId' of 251:
{
      "item": {
        "quantity": 1,
        "productEntityId": 88,
        "variantEntityId": 67,
        "selectedOptions": {
          "multipleChoices": [ { "optionEntityId": 108, "optionValueEntityId": 251 } ]
        }
      }
    }

A free-entry bucket takes a typed value in place of an ID.
'textFields' and 'multiLineTextFields' take "text".
'numberFields' takes "number".
'dateFields' takes "date".
Obey the 'constraints' of the option.

If a required option has more than one value, ask the user to select one value.
Do not select a value yourself. Do not use the default value.

If 'unsupported' is 'true', you cannot send the option.
If such an option is also required, tell the user to buy the product on the website.

- `create_checkout_url`: 
CreateResult a checkout URL for a cart assigned to a current session

Arguments:
None, but requires a cart to be present in the current session.

Returns:
- checkoutURL - the URL to redirect the user to for checkout
- errors - any errors encountered during the process (like, cart not found, etc.)

Flow:
- Call 'manage_cart' with 'create_cart' operation to create a new cart.
- Call this tool to create a checkout URL for the cart assigned to the current session.

- `get_product_details`: 
Get the details of one or more products. The details are the variants, the options, and
the images.

Arguments

productIds - The list of product IDs. Get these IDs from the 'search_products' tool.
  Request only the products that the user needs.
  The server has a maximum count of IDs. The default maximum is 20.
  If you send too many IDs, the server returns an error. Then send fewer IDs.
option_values - The option IDs and the value IDs of one variant.
  Use this argument with one product ID only. This argument applies to the B2C catalog.
  For a B2B buyer, the tool returns all the variants. Then select one variant.
channelId - Optional. This argument selects the B2B catalog.
  The default is the channel of the request.
variantCursor - Optional. This argument gets the next page of variants.
  Use this argument with one product ID only.
  Take the value from 'nextVariantCursor' in the previous result.
  If 'nextVariantCursor' is absent, or is null, or is the text "null", do not send this
  argument.

Results

The tool returns a list of products in 'products'. The output schema gives all the
fields.
A product has 'modifierOptions' only if the product has modifier options.
A variant has a price, an inventory level, a purchase flag, and bulk prices only for a
B2B buyer.
If the tool does not find a product, the list does not include that product.

Modifier options

A modifier option is a product choice that is not a variant.
Examples are an engraving message and a gift note.
A variant option is never a modifier option.

If a product has no 'modifierOptions', add the product to the cart without
'selectedOptions'.

An option is required if 'isRequired' is 'true'.
Send each required option to the 'add_item_to_cart' tool.
If you do not send a required option, the server does not add the item.
A variant selection does not replace a required option.

Each option has 'optionEntityId', 'displayName', and 'selectedOptionsKey'.
'selectedOptionsKey' is the name of the field to send the option in.
A choice option has 'values'. Each value has 'valueEntityId' and 'label'.
A free-entry option has 'constraints' in place of 'values'.

If 'unsupported' is 'true', you cannot send the option. A file upload is one example.
If such an option is also required, tell the user to buy the product on the website.

Variant pages

The list of variants can be one page of a longer list. The server sets the page size.

If 'hasMoreVariants' is 'true', more variants exist than the tool returned.
Then do not tell the user that a variant does not exist. You did not receive all the
variants.

To get the next page, call this tool again. Send the same product ID, and only that
product ID. Send 'variantCursor' with the value of 'nextVariantCursor'.

A filter is better than a page walk. If the user named the variant, send 'option_values'
instead. One filtered call is cheaper than many pages.

Do not change 'option_values' between pages. The cursor is a position in the list of the
previous call. A different filter gives the wrong variants.

Stock

Each product has 'inStock'. It tells you if the store has units in stock.
It does not tell you if the user can buy the product.

If 'inStock' is 'false', do not refuse the request.
Many stores accept orders for products that are not in stock.
Tell the user that the product is not in stock, and that delivery can take more time.
Then add the product if the user agrees.
If the store blocks the purchase, the 'add_item_to_cart' tool fails and gives a reason.
Give that reason to the user.

If 'inStock' is 'true', the store reports no out-of-stock condition.
A store that does not count stock reports 'true' for all products.
Therefore do not tell the user a quantity.

'inventoryLevel' is present only if the store publishes stock counts.
If 'inventoryLevel' is absent, the count is unknown. The count is not zero.

Each variant has its own 'inStock'. Use the value of the variant if you add one variant.

Steps

1. Call the 'search_products' tool to get the product IDs.
2. Call this tool with the product IDs.
3. Call the 'add_item_to_cart' tool with the results of step 1 and step 2.

If a product has variants, you must tell the 'add_item_to_cart' tool which variant to
add.
If a product has required modifier options, you must send those options.

- `remove_item_from_cart`: 
Remove specific items from your shopping cart.
It is removing the item completly from the cart.
If you want to reduce quantity of the items use 'update_cart_item'

Remove unwanted items from your shopping cart by targeting specific item IDs. This tool provides precise control over cart cleanup and item removal.

Use this tool when customers want to:
-Remove specific products they no longer want
-Delete gift certificates from their cart
-Clean up their cart before checkout
-Remove items added by mistake

Features:
- Target removal by specific item ID
- Works with both products and gift certificates
- Maintains cart structure after removal
- Immediate cart updates

Flow:
- Call 'search_products' tool to find products by search term.
- Call 'get_product_details' tool to get product variants and images.
- Call 'add_item_to_cart' tool to create new cart with item
- Call 'add_item_to_cart' tool to add another item to cart
- Call 'remove_item_from_cart' tool to remove added item to cart
- Call 'create_checkout_url' tool to generate a checkout URL for the cart.

Requires an existing cart with items to remove.

- `search_products`: 
Search products by a term

Arguments:
term - the search term to look for products. It should be at least 3 characters long.
cursor - optional, used for pagination. If provided, it will return the next page of results after.

Pagination:
Supports pagination with 'cursor' arguments. If 'cursor' is not provided, it will return the first page of results.
Value for 'cursor' can be obtained from the 'nextCursor' field in the response. If 'nextCursor' is null, it means there are no more results to fetch.
If value of cursor is null (or a string representation of 'null') dont send it in the payload.

Results:
Each product includes 'requiresFileUpload'. When true, the product has a required file-upload
option (e.g. "upload your design") and shouldn't be added to cart through this assistant. Do not
attempt to purchase it — tell the user it must be ordered on the website.

Stock:
Each product carries 'inStock'. It reports whether the store has units on hand. It does NOT
report whether the item can be bought.
- false does NOT mean the purchase will fail. Many stores accept orders for out-of-stock
  items - backorder, pre-order, or made-to-order goods that are fabricated after ordering.
  Whether a given store does is not exposed by this API.
  So: tell the user the item is out of stock and may take longer to arrive, then ADD IT if
  they still want it. Do not refuse on 'inStock: false' alone.
- If the store really does block it, 'add_item_to_cart' fails and returns the reason. Relay
  that reason to the user. Attempting the add is the only reliable way to find out.
- true only means no out-of-stock condition is reported. A store that does not track inventory
  reports true for every product, so never state or imply a quantity.
- 'inventoryLevel' appears only on stores that publish stock figures; absent means undisclosed,
  not zero.

Flow:
- Call this tool with a 'term' argument and optionally with 'cursor' to search for products.
	- if you find a matching product, call 'get_product_details' with the product ID to get its
	  variants and options (if any).
	- if 'requiresFileUpload' is true, inform the user the product needs a file upload and cannot
	  be purchased here.
- Call 'add_item_to_cart' with results of 'search_products' and 'get_product_details' (variant) tools to add the product to the cart.
    - [IMPORTANT] If product has variants ask user to pick

- `update_cart_item`: 
Change an item that is already in the shopping cart.

Use this tool to change the quantity, the variant, or the modifier options of one cart
item. A cart must exist and must have items.

Steps

1. Call the 'add_item_to_cart' tool to put an item in the cart.
2. Call this tool to change the item.
3. Call the 'create_checkout_url' tool to get a checkout URL.

Rules

Send 'line_item_id' to select the cart item to change.
Send 'quantity' and 'productEntityId' in 'item'.
If the product has variants, send 'variantEntityId'.

Modifier options

'item.selectedOptions' works as it works in the 'add_item_to_cart' tool.
The 'get_product_details' tool returns these options in 'modifierOptions'.

If the product has required modifier options, send them again in this request.
If you do not send them, the server does not change the item.
Send only the buckets that you need.

