Skip to main content
Glama
akhilkannur

Salestools Club

by akhilkannur

search_sales_tools

Find sales APIs, tools, and MCP servers by searching with natural language queries like 'lead enrichment API' or 'free CRM with webhooks'. Filter results by category, free tier, or MCP support.

Instructions

Search the Salestools Club directory for sales APIs, tools, and MCP servers. Use natural language like 'lead enrichment API' or 'free CRM with webhooks'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language search query (e.g., 'enrichment API', 'cold email tools', 'CRM for startups')
mcpReadyNoOnly return tools with MCP server support
hasFreeTierNoOnly return tools with a free tier
categoryNoFilter by category (e.g., 'Sales Intelligence', 'CRM & RevOps', 'Sales Engagement')
limitNoMax results to return (default: 20)

Implementation Reference

  • index.js:49-93 (handler)
    The handleSearch function executes the 'search_sales_tools' tool logic. It extracts keywords from the query, fetches results from the Salestools Club API for each keyword, aggregates and scores results, applies filters (mcpReady, hasFreeTier, category, limit), and returns formatted tool listings.
    async function handleSearch(args) {
      const { query, mcpReady, hasFreeTier, category, limit = 20 } = args;
      const keywords = extractKeywords(query);
      if (keywords.length === 0) {
        return { content: [{ type: "text", text: "No meaningful search terms found. Try being more specific." }] };
      }
    
      const toolMap = new Map();
      for (const kw of keywords) {
        try {
          const data = await fetchJSON(`${BASE_URL}/api/tools?q=${encodeURIComponent(kw)}`);
          if (data.tools && Array.isArray(data.tools)) {
            for (const tool of data.tools) {
              if (!toolMap.has(tool.slug)) {
                toolMap.set(tool.slug, { ...tool, score: 0 });
              }
              toolMap.get(tool.slug).score += 1;
            }
          }
        } catch { continue; }
      }
    
      let results = Array.from(toolMap.values()).sort((a, b) => b.score - a.score);
      if (mcpReady === true) results = results.filter(t => t.mcpReady === true);
      if (hasFreeTier === true) results = results.filter(t => t.hasFreeTier === true);
      if (category) results = results.filter(t => t.category?.toLowerCase().includes(category.toLowerCase()));
      results = results.slice(0, limit);
    
      if (results.length === 0) {
        return { content: [{ type: "text", text: `No tools found for "${query}". Try different keywords.` }] };
      }
    
      let text = `Found ${results.length} tool${results.length !== 1 ? 's' : ''} for "${query}":\n\n`;
      for (const tool of results) {
        const badges = [];
        if (tool.mcpReady) badges.push('MCP Ready');
        if (tool.hasFreeTier) badges.push('Free Tier');
        text += `**${tool.name}** — ${tool.oneLiner || ''}\n`;
        text += `  Category: ${tool.category || 'N/A'}`;
        if (badges.length > 0) text += ` | ${badges.join(' | ')}`;
        text += `\n  → https://salestools.club/apis/${tool.slug}\n\n`;
      }
    
      return { content: [{ type: "text", text: text.trim() }] };
    }
  • Input schema (JSON Schema) for the 'search_sales_tools' tool, defining the 'query', 'mcpReady', 'hasFreeTier', 'category', and 'limit' properties, with 'query' as required.
    {
      name: "search_sales_tools",
      description: "Search the Salestools Club directory for sales APIs, tools, and MCP servers. Use natural language like 'lead enrichment API' or 'free CRM with webhooks'.",
      inputSchema: {
        type: "object",
        properties: {
          query: { type: "string", description: "Natural language search query (e.g., 'enrichment API', 'cold email tools', 'CRM for startups')" },
          mcpReady: { type: "boolean", description: "Only return tools with MCP server support" },
          hasFreeTier: { type: "boolean", description: "Only return tools with a free tier" },
          category: { type: "string", description: "Filter by category (e.g., 'Sales Intelligence', 'CRM & RevOps', 'Sales Engagement')" },
          limit: { type: "number", description: "Max results to return (default: 20)" },
        },
        required: ["query"],
      },
    },
  • index.js:246-261 (registration)
    The tool named 'search_sales_tools' is registered in the ListToolsRequestSchema handler (server.setRequestHandler) which declares all available tools.
    tools: [
      {
        name: "search_sales_tools",
        description: "Search the Salestools Club directory for sales APIs, tools, and MCP servers. Use natural language like 'lead enrichment API' or 'free CRM with webhooks'.",
        inputSchema: {
          type: "object",
          properties: {
            query: { type: "string", description: "Natural language search query (e.g., 'enrichment API', 'cold email tools', 'CRM for startups')" },
            mcpReady: { type: "boolean", description: "Only return tools with MCP server support" },
            hasFreeTier: { type: "boolean", description: "Only return tools with a free tier" },
            category: { type: "string", description: "Filter by category (e.g., 'Sales Intelligence', 'CRM & RevOps', 'Sales Engagement')" },
            limit: { type: "number", description: "Max results to return (default: 20)" },
          },
          required: ["query"],
        },
      },
  • index.js:308-308 (registration)
    The tool dispatch in CallToolRequestSchema routes the name 'search_sales_tools' to the handleSearch function.
    case "search_sales_tools": return handleSearch(args);
  • The extractKeywords helper function preprocesses the search query by lowercasing, removing special characters, splitting on whitespace, and filtering out stop words and single-character terms. It is used by handleSearch.
    function extractKeywords(query) {
      return query
        .toLowerCase()
        .replace(/[^\w\s-]/g, ' ')
        .split(/\s+/)
        .filter(word => word.length > 1 && !STOP_WORDS.has(word));
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, and the description does not disclose behavioral traits such as read-only nature, authentication requirements, or rate limits. Only implies a search operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very concise: two sentences with no wasted words. Front-loaded with the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite rich input schema, the description does not mention what the tool returns or any additional context about results. Without output schema, the agent lacks information about the response format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for each parameter. The description adds value by showing example queries, going beyond the schema's formal definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it searches the Salestools Club directory for sales APIs, tools, and MCP servers, with specific verb and resource. Distinguishes from sibling tools (compare_tools, get_tool_details, etc.) which are not search-focused.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides example natural language queries, which hints at usage. However, it does not explicitly state when to use this tool versus alternatives, nor when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/akhilkannur/salestools-mcp'

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