Skip to main content
Glama

Tanatasa Beauty

create_cart

Start a cart to build up step by step (or use start_checkout to buy in one call); no account needed. Pass items [{variant_id, quantity}] to fill it at once. Returns cart_id, version, a quote (prices, free delivery, total) and, for guests, a private guest_token: pass guest_token on every later call and never share it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoOptional: start the cart with these items (up to 20 variants), instead of calling set_cart_item for each. A variant listed twice is added together.
guest_tokenNoPrivate guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "anyOf": [
      -    {
      -      "$schema": "http://json-schema.org/draft-07/schema#",
      -      "additionalProperties": true,
      -      "properties": {
      -        "cart_id": {
      -          "type": "string"
      -        },
      -        "guest_token": {
      -          "type": "string"
      -        },
      -        "lines": {
      -          "items": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "quantity": {
      -                "type": "integer"
      -              },
      -              "variant_id": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "variant_id",
      -              "quantity"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "next_action": {
      -          "type": "string"
      -        },
      -        "quote": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "properties": {
      -                "buyer_summary": {
      -                  "type": "string"
      -                },
      -                "cart_id": {
      -                  "type": "string"
      -                },
      -                "checkout_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "coupon_code": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "currency": {
      -                  "const": "SGD",
      -                  "type": "string"
      -                },
      -                "delivery_estimate": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "estimated_delivery_date": {
      -                      "description": "Estimated Singapore delivery date, YYYY-MM-DD; not a guarantee.",
      -                      "type": "string"
      -                    },
      -                    "working_days": {
      -                      "additionalProperties": true,
      -                      "properties": {
      -                        "max": {
      -                          "type": "integer"
      -                        },
      -                        "min": {
      -                          "type": "integer"
      -                        }
      -                      },
      -                      "required": [
      -                        "min",
      -                        "max"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "working_days",
      -                    "estimated_delivery_date"
      -                  ],
      -                  "type": "object"
      -                },
      -                "discount": {
      -                  "description": "Integer SGD cents; 1690 means S$16.90.",
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "discounts": {
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "amount": {
      -                        "description": "Integer SGD cents; 1690 means S$16.90.",
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "code": {
      -                        "type": "string"
      -                      },
      -                      "description": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "code",
      -                      "amount",
      -                      "description"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "free_delivery": {
      -                  "const": true,
      -                  "type": "boolean"
      -                },
      -                "lines": {
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "available": {
      -                        "type": "boolean"
      -                      },
      -                      "brand": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "compare_at_price": {
      -                        "anyOf": [
      -                          {
      -                            "description": "Integer SGD cents; 1690 means S$16.90.",
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "Integer SGD cents; 1690 means S$16.90."
      -                      },
      -                      "condition": {
      -                        "type": "string"
      -                      },
      -                      "condition_label": {
      -                        "type": "string"
      -                      },
      -                      "currency": {
      -                        "const": "SGD",
      -                        "type": "string"
      -                      },
      -                      "delivery_working_days": {
      -                        "type": "integer"
      -                      },
      -                      "expiry": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "fulfilment": {
      -                        "additionalProperties": true,
      -                        "properties": {
      -                          "code": {
      -                            "type": "string"
      -                          },
      -                          "label": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "code",
      -                          "label"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "gtin": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "image": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": true,
      -                            "properties": {
      -                              "alt": {
      -                                "type": [
      -                                  "string",
      -                                  "null"
      -                                ]
      -                              },
      -                              "height": {
      -                                "anyOf": [
      -                                  {
      -                                    "exclusiveMinimum": 0,
      -                                    "type": "integer"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "mime_type": {
      -                                "description": "MIME type inferred from the stored image URL extension; null when unknown.",
      -                                "type": [
      -                                  "string",
      -                                  "null"
      -                                ]
      -                              },
      -                              "url": {
      -                                "format": "uri",
      -                                "type": "string"
      -                              },
      -                              "width": {
      -                                "anyOf": [
      -                                  {
      -                                    "exclusiveMinimum": 0,
      -                                    "type": "integer"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "required": [
      -                              "url",
      -                              "alt",
      -                              "width",
      -                              "height",
      -                              "mime_type"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "image_url": {
      -                        "anyOf": [
      -                          {
      -                            "format": "uri",
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "line_total": {
      -                        "description": "Integer SGD cents; 1690 means S$16.90.",
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "max_quantity": {
      -                        "type": "integer"
      -                      },
      -                      "name": {
      -                        "type": "string"
      -                      },
      -                      "option_name": {
      -                        "type": "string"
      -                      },
      -                      "product_id": {
      -                        "type": "integer"
      -                      },
      -                      "product_name": {
      -                        "type": "string"
      -                      },
      -                      "quantity": {
      -                        "type": "integer"
      -                      },
      -                      "sku": {
      -                        "type": "string"
      -                      },
      -                      "slug": {
      -                        "type": "string"
      -                      },
      -                      "stock_source": {
      -                        "type": "string"
      -                      },
      -                      "tanatasa_pick": {
      -                        "type": "boolean"
      -                      },
      -                      "unit_price": {
      -                        "description": "Integer SGD cents; 1690 means S$16.90.",
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "unit_pricing": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": true,
      -                            "properties": {
      -                              "basis": {
      -                                "enum": [
      -                                  "ml",
      -                                  "g"
      -                                ],
      -                                "type": "string"
      -                              },
      -                              "per_100": {
      -                                "description": "Integer SGD cents; 1690 means S$16.90.",
      -                                "minimum": 0,
      -                                "type": "integer"
      -                              },
      -                              "per_1000": {
      -                                "description": "Integer SGD cents; 1690 means S$16.90.",
      -                                "minimum": 0,
      -                                "type": "integer"
      -                              },
      -                              "per_1000_label": {
      -                                "type": "string"
      -                              },
      -                              "per_100_label": {
      -                                "type": "string"
      -                              },
      -                              "total_quantity": {
      -                                "type": "number"
      -                              }
      -                            },
      -                            "required": [
      -                              "basis",
      -                              "total_quantity",
      -                              "per_100",
      -                              "per_1000",
      -                              "per_100_label",
      -                              "per_1000_label"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "url": {
      -                        "format": "uri",
      -                        "type": "string"
      -                      },
      -                      "variant_id": {
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "variant_id",
      -                      "product_id",
      -                      "slug",
      -                      "sku",
      -                      "name",
      -                      "option_name",
      -                      "product_name",
      -                      "brand",
      -                      "currency",
      -                      "unit_price",
      -                      "compare_at_price",
      -                      "available",
      -                      "max_quantity",
      -                      "url",
      -                      "image_url",
      -                      "image",
      -                      "gtin",
      -                      "condition",
      -                      "condition_label",
      -                      "expiry",
      -                      "stock_source",
      -                      "fulfilment",
      -                      "tanatasa_pick",
      -                      "unit_pricing",
      -                      "quantity",
      -                      "line_total",
      -                      "delivery_working_days"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "money_unit": {
      -                  "const": "cents",
      -                  "type": "string"
      -                },
      -                "next_action": {
      -                  "type": "string"
      -                },
      -                "quoted_at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "return_policy": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "condition": {
      -                      "type": "string"
      -                    },
      -                    "policy_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    },
      -                    "summary": {
      -                      "type": "string"
      -                    },
      -                    "window_days": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "window_days",
      -                    "condition",
      -                    "summary",
      -                    "policy_url"
      -                  ],
      -                  "type": "object"
      -                },
      -                "shipping": {
      -                  "description": "Integer SGD cents; 1690 means S$16.90.",
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "stock_reserved": {
      -                  "const": false,
      -                  "type": "boolean"
      -                },
      -                "subtotal": {
      -                  "description": "Integer SGD cents; 1690 means S$16.90.",
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "total": {
      -                  "description": "Integer SGD cents; 1690 means S$16.90.",
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "version": {
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "currency",
      -                "money_unit",
      -                "cart_id",
      -                "version",
      -                "lines",
      -                "coupon_code",
      -                "discounts",
      -                "subtotal",
      -                "discount",
      -                "shipping",
      -                "free_delivery",
      -                "total",
      -                "checkout_id",
      -                "stock_reserved",
      -                "quoted_at",
      -                "delivery_estimate",
      -                "return_policy",
      -                "buyer_summary",
      -                "next_action"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "version": {
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "cart_id",
      -        "version",
      -        "lines",
      -        "quote",
      -        "next_action"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": true,
      -      "properties": {
      -        "error": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "code": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "message"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "error"
      -      ],
      -      "type": "object"
      -    }
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "$schema": "http://json-schema.org/draft-07/schema#",
      +      "additionalProperties": true,
      +      "properties": {
      +        "cart_id": {
      +          "type": "string"
      +        },
      +        "guest_token": {
      +          "type": "string"
      +        },
      +        "lines": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "quantity": {
      +                "type": "integer"
      +              },
      +              "variant_id": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "variant_id",
      +              "quantity"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "next_action": {
      +          "type": "string"
      +        },
      +        "quote": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "buyer_summary": {
      +                  "type": "string"
      +                },
      +                "cart_id": {
      +                  "type": "string"
      +                },
      +                "checkout_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "coupon_code": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "currency": {
      +                  "const": "SGD",
      +                  "type": "string"
      +                },
      +                "delivery_estimate": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "estimated_delivery_date": {
      +                      "description": "Estimated Singapore delivery date, YYYY-MM-DD; not a guarantee.",
      +                      "type": "string"
      +                    },
      +                    "working_days": {
      +                      "additionalProperties": true,
      +                      "properties": {
      +                        "max": {
      +                          "type": "integer"
      +                        },
      +                        "min": {
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "min",
      +                        "max"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "working_days",
      +                    "estimated_delivery_date"
      +                  ],
      +                  "type": "object"
      +                },
      +                "discount": {
      +                  "description": "Integer SGD cents; 1690 means S$16.90.",
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "discounts": {
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "amount": {
      +                        "description": "Integer SGD cents; 1690 means S$16.90.",
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "code": {
      +                        "type": "string"
      +                      },
      +                      "description": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "code",
      +                      "amount",
      +                      "description"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "free_delivery": {
      +                  "const": true,
      +                  "type": "boolean"
      +                },
      +                "lines": {
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "available": {
      +                        "type": "boolean"
      +                      },
      +                      "brand": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "compare_at_price": {
      +                        "anyOf": [
      +                          {
      +                            "description": "Integer SGD cents; 1690 means S$16.90.",
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Integer SGD cents; 1690 means S$16.90."
      +                      },
      +                      "condition": {
      +                        "type": "string"
      +                      },
      +                      "condition_label": {
      +                        "type": "string"
      +                      },
      +                      "currency": {
      +                        "const": "SGD",
      +                        "type": "string"
      +                      },
      +                      "delivery_working_days": {
      +                        "type": "integer"
      +                      },
      +                      "expiry": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "fulfilment": {
      +                        "additionalProperties": true,
      +                        "properties": {
      +                          "code": {
      +                            "type": "string"
      +                          },
      +                          "label": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "code",
      +                          "label"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "gtin": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "image": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": true,
      +                            "properties": {
      +                              "alt": {
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              },
      +                              "height": {
      +                                "anyOf": [
      +                                  {
      +                                    "exclusiveMinimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "mime_type": {
      +                                "description": "MIME type inferred from the stored image URL extension; null when unknown.",
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              },
      +                              "url": {
      +                                "format": "uri",
      +                                "type": "string"
      +                              },
      +                              "width": {
      +                                "anyOf": [
      +                                  {
      +                                    "exclusiveMinimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "url",
      +                              "alt",
      +                              "width",
      +                              "height",
      +                              "mime_type"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "image_url": {
      +                        "anyOf": [
      +                          {
      +                            "format": "uri",
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "line_total": {
      +                        "description": "Integer SGD cents; 1690 means S$16.90.",
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "max_quantity": {
      +                        "type": "integer"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      },
      +                      "option_name": {
      +                        "type": "string"
      +                      },
      +                      "product_id": {
      +                        "type": "integer"
      +                      },
      +                      "product_name": {
      +                        "type": "string"
      +                      },
      +                      "quantity": {
      +                        "type": "integer"
      +                      },
      +                      "sku": {
      +                        "type": "string"
      +                      },
      +                      "slug": {
      +                        "type": "string"
      +                      },
      +                      "stock_source": {
      +                        "type": "string"
      +                      },
      +                      "tanatasa_pick": {
      +                        "type": "boolean"
      +                      },
      +                      "unit_price": {
      +                        "description": "Integer SGD cents; 1690 means S$16.90.",
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "unit_pricing": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": true,
      +                            "properties": {
      +                              "basis": {
      +                                "enum": [
      +                                  "ml",
      +                                  "g"
      +                                ],
      +                                "type": "string"
      +                              },
      +                              "per_100": {
      +                                "description": "Integer SGD cents; 1690 means S$16.90.",
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              },
      +                              "per_1000": {
      +                                "description": "Integer SGD cents; 1690 means S$16.90.",
      +                                "minimum": 0,
      +                                "type": "integer"
      +                              },
      +                              "per_1000_label": {
      +                                "type": "string"
      +                              },
      +                              "per_100_label": {
      +                                "type": "string"
      +                              },
      +                              "total_quantity": {
      +                                "type": "number"
      +                              }
      +                            },
      +                            "required": [
      +                              "basis",
      +                              "total_quantity",
      +                              "per_100",
      +                              "per_1000",
      +                              "per_100_label",
      +                              "per_1000_label"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "url": {
      +                        "format": "uri",
      +                        "type": "string"
      +                      },
      +                      "variant_id": {
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "variant_id",
      +                      "product_id",
      +                      "slug",
      +                      "sku",
      +                      "name",
      +                      "option_name",
      +                      "product_name",
      +                      "brand",
      +                      "currency",
      +                      "unit_price",
      +                      "compare_at_price",
      +                      "available",
      +                      "max_quantity",
      +                      "url",
      +                      "image_url",
      +                      "image",
      +                      "gtin",
      +                      "condition",
      +                      "condition_label",
      +                      "expiry",
      +                      "stock_source",
      +                      "fulfilment",
      +                      "tanatasa_pick",
      +                      "unit_pricing",
      +                      "quantity",
      +                      "line_total",
      +                      "delivery_working_days"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "money_unit": {
      +                  "const": "cents",
      +                  "type": "string"
      +                },
      +                "next_action": {
      +                  "type": "string"
      +                },
      +                "quoted_at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "return_policy": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "condition": {
      +                      "type": "string"
      +                    },
      +                    "policy_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    },
      +                    "summary": {
      +                      "type": "string"
      +                    },
      +                    "window_days": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "window_days",
      +                    "condition",
      +                    "summary",
      +                    "policy_url"
      +                  ],
      +                  "type": "object"
      +                },
      +                "shipping": {
      +                  "description": "Integer SGD cents; 1690 means S$16.90.",
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "stock_reserved": {
      +                  "const": false,
      +                  "type": "boolean"
      +                },
      +                "subtotal": {
      +                  "description": "Integer SGD cents; 1690 means S$16.90.",
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "total": {
      +                  "description": "Integer SGD cents; 1690 means S$16.90.",
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "version": {
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "currency",
      +                "money_unit",
      +                "cart_id",
      +                "version",
      +                "lines",
      +                "coupon_code",
      +                "discounts",
      +                "subtotal",
      +                "discount",
      +                "shipping",
      +                "free_delivery",
      +                "total",
      +                "checkout_id",
      +                "stock_reserved",
      +                "quoted_at",
      +                "delivery_estimate",
      +                "return_policy",
      +                "buyer_summary",
      +                "next_action"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "cart_id",
      +        "version",
      +        "lines",
      +        "quote",
      +        "next_action"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "error": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / items
      Added value: +{
      +  "description": "Optional: start the cart with these items (up to 20 variants), instead of calling set_cart_item for each. A variant listed twice is added together.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "quantity": {
      +        "description": "How many to buy.",
      +        "maximum": 99,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "variant_id": {
      +        "description": "variant_id from search_products or get_product.",
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "variant_id",
      +      "quantity"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / guest_token
      Added value: +{
      +  "description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.",
      +  "pattern": "^[a-f0-9]{64}$",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • removedInput schema / properties / guest_token
      Removed value: -{
      -  "description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed.",
      -  "pattern": "^[a-f0-9]{64}$",
      -  "type": "string"
      -}
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover safety (readOnly=false, destructive=false, openWorld=true), and the description adds substantive context beyond them: the returned fields (cart_id, version, quote, guest_token), the guest_token lifecycle requirement to pass it on every later call, and a confidentiality warning never to share it. This is exactly the security/usage context annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and the alternative, and every clause carries information. It is a single dense run-on with nested parentheses, though, so the return-value and guest_token guidance would scan better as separate sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by enumerating what is returned (cart_id, version, quote with prices/free delivery/total, guest_token). Combined with the account-free note and token handling, an agent has everything needed to call it and use the result correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents items and guest_token. The description still adds value by showing the items shape inline and, more importantly, explaining that guest_token comes from create_cart and must be supplied on subsequent cart/checkout calls — semantics the schema field description only partially captures.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Start a cart'), explains what it does in one line, and explicitly contrasts with the sibling start_checkout for the one-shot purchase case. An agent can distinguish it from create_checkout/start_checkout without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: build step by step with this tool, or use start_checkout to buy in one call, and pass items to avoid repeated set_cart_item calls. It also states 'no account needed', removing a prerequisite the agent might otherwise look for.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources