← WebMCP Directory

Tool tree

cjmuir.github.io

CommerceTools verified
Website
ShopMCP
Explore capabilities
    view_productsAction

    Fetches the product catalog from the backend API. Requires an active user session.

    View tool JSON
    {
      "name": "view_products",
      "kind": "act",
      "impl": "imperative",
      "description": "Fetches the product catalog from the backend API. Requires an active user session.",
      "inputSchema": {},
      "page": "/WebMCP-Demo-Retail/"
    }
    add_to_cartAction

    Adds a product to the shopping cart by product ID and quantity.

    View tool JSON
    {
      "name": "add_to_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Adds a product to the shopping cart by product ID and quantity.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "Product ID from the catalog"
          },
          "quantity": {
            "type": "integer",
            "description": "Number of units to add",
            "minimum": 1
          }
        },
        "required": [
          "product_id",
          "quantity"
        ]
      },
      "page": "/WebMCP-Demo-Retail/"
    }
    view_cartAnswer

    Returns the current cart contents and total as JSON. Requires an active user session.

    View tool JSON
    {
      "name": "view_cart",
      "kind": "answer",
      "impl": "imperative",
      "description": "Returns the current cart contents and total as JSON. Requires an active user session.",
      "inputSchema": {},
      "page": "/WebMCP-Demo-Retail/"
    }
    remove_from_cartAction

    Removes a product entirely from the cart by product ID.

    View tool JSON
    {
      "name": "remove_from_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Removes a product entirely from the cart by product ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "Product ID to remove"
          }
        },
        "required": [
          "product_id"
        ]
      },
      "page": "/WebMCP-Demo-Retail/"
    }
    checkoutSensitive Action

    POSTs the cart to the checkout API using the user's access_token as a Bearer credential. Requires an active user session and user confirmation via elicitation before the request is sent. Returns an error if the user is not signed in or the cart is empty.

    View tool JSON
    {
      "name": "checkout",
      "kind": "transact",
      "impl": "imperative",
      "description": "POSTs the cart to the checkout API using the user's access_token as a Bearer credential. Requires an active user session and user confirmation via elicitation before the request is sent. Returns an error if the user is not signed in or the cart is empty.",
      "inputSchema": {},
      "page": "/WebMCP-Demo-Retail/"
    }