🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@weldable/mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@weldable/mcp - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+7
-3
dist/index.js

@@ -103,10 +103,14 @@ #!/usr/bin/env node

const missing = (response.missing ?? [])
.map((p) => `- ${p.name} (${p.type}): ${p.description}`)
.map((p) => `- ${p.name} (${p.type}, ${p.required ? 'required' : 'optional'}): ${p.description}`)
.join('\n');
const hasRequired = (response.missing ?? []).some((p) => p.required);
const prompt = hasRequired
? `Ask the user for the required details, then call \`weldable_act\` again with intent: "${intent}" and the values in args.`
: `All parameters are optional. Ask the user if they want to specify any (e.g., filters, limits, date ranges), then call \`weldable_act\` again with intent: "${intent}" and any chosen values in args.`;
return {
content: [{
type: 'text',
text: `Found **${response.tool_name}** (${response.integration_name}) but need more information:\n\n` +
text: `Found **${response.tool_name}** (${response.integration_name}) — available parameters:\n\n` +
`${missing}\n\n` +
`Ask the user for these details, then call \`weldable_act\` again with intent: "${intent}" and the values in args.`,
prompt,
}],

@@ -113,0 +117,0 @@ };

{
"name": "@weldable/mcp",
"version": "0.2.0",
"version": "0.2.1",
"description": "weldable MCP server — give your AI agent hundreds of tools",

@@ -5,0 +5,0 @@ "type": "module",