You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- fetchJSON now aborts after 8s (was: no timeout = cold start failures)
- Retries up to 2x with 500ms/1000ms backoff
- Fixes error on get_tool for linear and other cold-start timeouts
// Module-level cache (lives for the duration of the process)
116
128
let_toolsCache=null;
@@ -166,7 +178,7 @@ const CATEGORIES = [
166
178
constTOOL_DEFINITIONS=[
167
179
{
168
180
name: 'search_tools',
169
-
description: 'Search 508+ software products by name, keyword, or use case. Returns name, category, rating, free plan availability, starting price, and ComparEdge URL.\n\nBEHAVIOR: Performs fuzzy matching across product names and categories. Returns up to `limit` results ranked by relevance. Each result includes a direct ComparEdge link.\n\nUSAGE GUIDELINES:\n- Use to discover tools when you do not know the exact slug.\n- Use before calling get_tool or get_pricing if the slug is uncertain.\n- Use for category browsing: query "crm", "ai coding", "project management".\n\nEXAMPLE QUERIES: "Find CRM tools", "search for Slack alternatives", "what project management tools exist?"',
181
+
description: 'Search 495+ software products by name, keyword, category, or natural language query. Returns name, category, rating, free plan availability, starting price, and ComparEdge URL.\n\nBEHAVIOR: Scores each product against all meaningful keywords in the query (stopwords like "best", "find", "top" are ignored). Supports both exact product names and natural language queries.\n\nUSAGE GUIDELINES:\n- Use to discover tools when you do not know the exact slug.\n- Use before calling get_tool or get_pricing if the slug is uncertain.\n- Use for category browsing: query "crm", "ai coding", "project management".\n- Natural language works: "best CRM for startups" → extracts "crm" and "startups" keywords.\n\nEXAMPLE QUERIES: "notion", "CRM", "best CRM for startups", "project management free", "ai coding tools"',
return`Top alternatives to **${target.name}** in ${target.categoryName||target.category}:\n\n${lines.join('\n\n')}\n\n${mdLink(`Full verified alternatives list for ${target.name}`,alternativesURL(slug,true))}`;
500
539
}
@@ -580,16 +619,32 @@ async function callTool(name, args) {
0 commit comments