16 tools registered. Strongest in tool selection, weakest in tool quality.
// document.modelContext is the canonical entry point - the navigator.modelContext alias is deprecated.
document.modelContext.registerTool({ /* ... */ });search_products: 1 parameter has no description (limit); add_to_cart: 1 parameter has no description (quantity); apply_coupon: 1 parameter has no description (coupon_code); search_products: 1 paramete{
name: "search_products",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}{
"name": "search_products",
"description": "Search for apparel products by name, category (taxon permalink), price range, or stock status. Returns up to 20 results with name, price, and URL.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Keyword to match against product names, e.g. 'denim shirt'."
},
"taxon": {
"type": "string",
"description": "Permalink filter, e.g. 'categories/men/shirts' or 'collections/new-arrivals'."
},
"min_price": {
"type": "number",
"minimum": 0,
"description": "Minimum price in USD."
},
"max_price": {
"type": "number",
"minimum": 0,
"description": "Maximum price in USD."
},
"in_stock": {
"type": "boolean",
"description": "If true, only return purchasable items in stock.",
"default": true
},
"sort": {
"type": "string",
"enum": [
"popularity",
"-popularity",
"price",
"-price",
"name",
"-name",
"-available_on"
],
"description": "Sort order.",
"default": "-popularity"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10
}
}
},
"annotations": {
"readOnlyHint": true
}
}clarity: weakadd_to_cart: registered at 1035ms// Register tools as soon as they're ready, not behind a deferred/async chunk.
document.modelContext.registerTool({ /* ... */ });// document.modelContext is the canonical entry point - the navigator.modelContext alias is deprecated.
document.modelContext.registerTool({ /* ... */ });search_products: 1 parameter has no description (limit); add_to_cart: 1 parameter has no description (quantity); apply_coupon: 1 parameter has no description (coupon_code); search_products: 1 paramete{
name: "search_products",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}duplicate tool name registered: search_productsdocument.modelContext.registerTool({ /* ... */ }).catch(function (err) {
console.error("WebMCP registration failed", err);
});{
"query": "carry-on suitcase",
"max_price": 300
}{
"slug": "carry-on-suitcase"
}{
"variant_id": 12345,
"quantity": 2
}