Skip to main content
Glama
test-tools.js•916 B
const { getAllTools } = require('./dist/lib/toolsRegistry.js'); try { const tools = getAllTools(); console.log('Total number of tools:', tools.length); tools.forEach((tool, index) => { if (!tool) { console.log(`Tool ${index} is null/undefined`); } else if (!tool.name) { console.log(`Tool ${index} does not have a name property:`, JSON.stringify(tool, null, 2)); } else { console.log(`${index}: ${tool.name}`); } }); console.log('\nāœ… All tools loaded successfully!'); console.log('šŸ“Š Stats:'); console.log(` - Total: ${tools.length}`); console.log(` - Loaded successfully: ${tools.filter(t => t && t.name).length}`); console.log(` - Problematic: ${tools.filter(t => !t || !t.name).length}`); // Exit the process explicitly process.exit(0); } catch (error) { console.error('āŒ Failed to load tools:', error.message); process.exit(1); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ster/mcp-abap-adt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server