byclaw-mcp 0.4.17 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
|
|
|
113
113
|
// ── Core: one-shot shopping ──
|
|
114
114
|
{
|
|
115
115
|
name: 'shop',
|
|
116
|
-
description: TOOL_PREFIX + '
|
|
116
|
+
description: TOOL_PREFIX + 'Search and recommend products on byclaw.io. Handles specific product queries ("headphones under 100€"), gift queries ("gift for my dad who likes climbing"), and open-ended requests ("something nice under 100€"). The backend detects gift mode automatically and returns either `picked`+`alternatives` or `gift_picks`+`gift_intent`. Each product has `title`, `price`, `brand`, `merchant`, `affiliate_url`, and `image_url`. Use `_render_hint` in the response for display guidance.',
|
|
117
117
|
inputSchema: {
|
|
118
118
|
type: 'object',
|
|
119
119
|
properties: {
|
|
@@ -129,11 +129,11 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
|
|
|
129
129
|
// ── Gift-specific trigger ──
|
|
130
130
|
{
|
|
131
131
|
name: 'gift_finder',
|
|
132
|
-
description: TOOL_PREFIX + '
|
|
132
|
+
description: TOOL_PREFIX + 'Recommend a gift from the byclaw catalog based on recipient, occasion and budget. Returns 3 curated picks with reasoning. Shares the backend with `shop` so picking either tool yields the same response — `gift_finder` exists as a clearer entry point when the user explicitly asks for gift ideas.',
|
|
133
133
|
inputSchema: {
|
|
134
134
|
type: 'object',
|
|
135
135
|
properties: {
|
|
136
|
-
query: { type: 'string', description: 'Free-text gift request
|
|
136
|
+
query: { type: 'string', description: 'Free-text gift request. May include recipient ("for my mother"), age, interests, occasion, and budget. Pass the user\'s phrasing as-is — the backend parses intent fields itself.' },
|
|
137
137
|
max_price: { type: 'number', description: 'Maximum budget in EUR (optional)' },
|
|
138
138
|
language: { type: 'string', description: 'User language: de, en, fr, es (auto-detected if omitted)' },
|
|
139
139
|
},
|
package/package.json
CHANGED