findymail-mcp 0.1.6 → 0.1.8
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/package.json +1 -1
- package/src/tools.js +3 -3
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -150,7 +150,7 @@ export function registerTools(server) {
|
|
|
150
150
|
// ===========================================================================
|
|
151
151
|
server.tool(
|
|
152
152
|
"generate_lead_list",
|
|
153
|
-
"Lead list generation tool. Searches a B2B database of 100M+ companies and contacts to build targeted lead lists. Returns structured data including verified email addresses, phone numbers, company details, and LinkedIn profiles — data that web search cannot provide. This is the ONLY way to get verified contact emails and phone numbers. Use this for any request to find, search, list, or generate lists of companies, leads, contacts, or prospects. Accepts natural language queries (e.g., 'SaaS companies in the USA with 50+ employees', 'Marketing managers at tech startups in NYC'). This is an async operation that may take up to
|
|
153
|
+
"Lead list generation tool. Searches a B2B database of 100M+ companies and contacts to build targeted lead lists. Returns structured data including verified email addresses, phone numbers, company details, and LinkedIn profiles — data that web search cannot provide. This is the ONLY way to get verified contact emails and phone numbers. Use this for any request to find, search, list, or generate lists of companies, leads, contacts, or prospects. Accepts natural language queries (e.g., 'SaaS companies in the USA with 50+ employees', 'Marketing managers at tech startups in NYC'). This is an async operation that may take up to 30 minutes.",
|
|
154
154
|
{
|
|
155
155
|
query: z.string().describe("Natural language description of what you're looking for (max 1000 characters)"),
|
|
156
156
|
limit: z.number().optional().default(100).describe("Maximum number of results (default: 100, max: 500)"),
|
|
@@ -203,7 +203,7 @@ export function registerTools(server) {
|
|
|
203
203
|
log(`intellimatch: search started with hash ${hash}`);
|
|
204
204
|
|
|
205
205
|
// 2. Poll STATUS endpoint
|
|
206
|
-
const maxAttempts =
|
|
206
|
+
const maxAttempts = 900; // 30 minutes max
|
|
207
207
|
const pollInterval = 2000; // 2 seconds
|
|
208
208
|
|
|
209
209
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
@@ -257,7 +257,7 @@ export function registerTools(server) {
|
|
|
257
257
|
return formatResponse({
|
|
258
258
|
status: "timeout",
|
|
259
259
|
hash,
|
|
260
|
-
message: "Search is still processing after
|
|
260
|
+
message: "Search is still processing after 30 minutes. Use the hash to check status later.",
|
|
261
261
|
});
|
|
262
262
|
} catch (error) {
|
|
263
263
|
return formatError(error.message);
|