@mambalabsdev/mcp-email-waterfall-orchestrator 1.0.0 → 1.0.1

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/build/index.js CHANGED
@@ -112,9 +112,14 @@ server.registerTool("find_work_email", {
112
112
  openWorldHint: true,
113
113
  },
114
114
  inputSchema: {
115
+ // Optional, because the actor's own input schema marks nothing required
116
+ // and defaults contacts to []. Requiring it here made the actor's own
117
+ // prefill input invalid at the tool boundary: the wrapper could not be
118
+ // smoke-called at all in the M1 audit for exactly this reason.
115
119
  contacts: z
116
120
  .array(contactShape)
117
- .describe("One object per person. Each may carry full_name, first_name, last_name, company_domain, company_name, linkedin_url and email. A single contact is an array of one."),
121
+ .optional()
122
+ .describe("One object per person. Each may carry full_name, first_name, last_name, company_domain, company_name, linkedin_url and email. A single contact is an array of one. Omit it or pass an empty array and the run returns a summary row explaining that nothing was attempted and nothing was charged."),
118
123
  providerKeys: z
119
124
  .record(z.string())
120
125
  .optional()
@@ -152,12 +157,11 @@ server.registerTool("find_work_email", {
152
157
  .describe("Advisory only. Real pacing comes from each endpoint's own documented rate limits, which are multi-window and per endpoint, so this cannot exceed them."),
153
158
  },
154
159
  }, async ({ contacts, providerKeys, providerOrder, verificationOrder, maxContacts, maxProviderUnits, providerRates, concurrencyHint }) => {
155
- if (!Array.isArray(contacts) || contacts.length === 0) {
156
- return {
157
- isError: true,
158
- content: [{ type: "text", text: "Provide contacts: an array of one or more contact objects." }],
159
- };
160
- }
160
+ // No local rejection of an empty or absent contacts list. Measured
161
+ // 2026-08-13 against the live actor with its own prefill input: it returns
162
+ // a summary row naming what was unavailable and states that nothing was
163
+ // called and nothing was charged. That answer is more useful than the
164
+ // wrapper refusing to make the call, and it is the actor's answer to give.
161
165
  return runActor("OT6xqTFThC0Rjf7Zj", "Work Email Waterfall", compact({
162
166
  contacts,
163
167
  providerKeys,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mambalabsdev/mcp-email-waterfall-orchestrator",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MCP server for the Mamba Labs Work Email Waterfall actor on Apify. Give it contacts and your own provider API keys and it finds a work email for each, verifies it, and returns real per-provider spend attribution as flat Clay-ready JSON.",
5
5
  "type": "module",
6
6
  "bin": {
package/server.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "com.mambabuilt/mcp-email-waterfall-orchestrator",
4
4
  "description": "Finds and verifies work emails on your own provider keys, with real per-provider spend.",
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "repository": {
7
7
  "url": "https://github.com/mambalabsdev/mcp-email-waterfall-orchestrator",
8
8
  "source": "github"
@@ -11,7 +11,7 @@
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@mambalabsdev/mcp-email-waterfall-orchestrator",
14
- "version": "1.0.0",
14
+ "version": "1.0.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },