@mambalabsdev/mcp-gtm-suite 1.12.0 → 1.13.0

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.
Files changed (3) hide show
  1. package/README.md +54 -21
  2. package/build/index.js +91 -62
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -11,6 +11,7 @@ One MCP server that exposes the Mamba Labs GTM Suite. Install a single package a
11
11
  - [Prerequisites](#prerequisites)
12
12
  - [Example prompts](#example-prompts)
13
13
  - [Tools and inputs](#tools-and-inputs)
14
+ - [Pricing](#pricing)
14
15
  - [How each call runs](#how-each-call-runs)
15
16
  - [Full actor documentation](#full-actor-documentation)
16
17
  - [Mamba Labs GTM Suite](#mamba-labs-gtm-suite)
@@ -96,30 +97,62 @@ Get your token at https://console.apify.com/account/integrations, paste it in, a
96
97
 
97
98
  Each tool maps to one Apify actor. Every input each tool accepts is listed below, generated from the server's own tool list. Where a tool marks nothing required, it still needs one identifier: the tool says which when you call it without one.
98
99
 
99
- - `scan_gtm_hiring_signals` (7 inputs): required `domain`; optional `role_filter`, `ats_slug`, `mode`, `include_role_details`, `previous_gtm_role_count`, `previous_run_date`
100
- - `detect_gtm_tech_stack` (6 inputs): optional `domain`, `company_domain`, `url`, `crawl_additional_pages`, `skipCache`, `technologies`
101
- - `aggregate_gtm_signals` (4 inputs): required `company_domain`; optional `include_summary`, `explain_mode`, `sources`
102
- - `scan_job_board_keywords` (6 inputs): required `company_domain`, `role_categories`; optional `custom_keywords`, `enable_fallback`, `previous_roles_detected`, `previous_run_date`
103
- - `resolve_linkedin_url` (5 inputs): optional `company_domain`, `company_name`, `includeFirmographics`, `skipCache`, `minConfidenceScore`
104
- - `score_icp_fit` (43 inputs): required `company_domain`; optional `company_name`, `template`, `scoring_config`, `icp_description`, `llm_api_key`, `llm_provider`, `fetch_signals`, `include_explanation`, `tier_thresholds`, `funded_within_days`, `min_score_to_output`, `previous_score`, `gtm_hiring_signal`, `gtm_role_count`, `uses_hubspot`, `uses_salesforce`, `uses_clay`, `crm_detected`, `seq_tool_detected`, `tech_stack`, `headcount`, `headcount_min`, `headcount_max`, `headcount_in_range`, `employee_band`, `revenue_estimate`, `hq_location`, `founded_year`, `recently_funded`, `last_funding_date`, `latest_funding_date`, `latest_funding_amount`, `funding_stage`, `industry`, `industry_match`, `target_industries`, `social_platforms_found`, `total_followers`, `has_linkedin`, `has_twitter`, `job_count`, `keyword_match_count`
105
- - `resolve_company_identity` (5 inputs): optional `company_name`, `domain`, `linkedin_url`, `skipCache`, `minLinkedinConfidence`
106
- - `enrich_company_firmographics` (5 inputs): optional `domain`, `company_name`, `domains`, `batchSize`, `skipCache`
107
- - `map_company_social_presence` (5 inputs): optional `company_domain`, `company_name`, `platforms`, `includeFollowerCounts`, `skipCache`
108
- - `get_funding_press_signals` (4 inputs): required `domain`; optional `company_name`, `signal_types`, `lookback_days`
109
- - `get_company_changes` (6 inputs): required `domain`; optional `company_name`, `previous_snapshot`, `sub_actor_timeout_secs`, `sources`, `min_severity`
110
- - `detect_ai_tooling` (6 inputs): optional `domain`, `domains`, `check_pricing`, `skipCache`, `request_timeout_ms`, `vendors`
111
- - `fingerprint_outbound_infrastructure` (9 inputs): optional `domain`, `domains`, `scan_sending_domains`, `sending_domain_depth`, `check_deliverability`, `skipCache`, `max_sending_domain_probes`, `request_timeout_ms`, `dns_timeout_ms`
112
- - `track_publication_cadence` (8 inputs): optional `domain`, `domains`, `max_pages_to_date`, `domain_time_budget_ms`, `skipCache`, `page_concurrency`, `max_sitemap_fetches`, `request_timeout_ms`
113
- - `push_leads_to_sequencer` (10 inputs): required `sequencer`, `campaign_id`; optional `api_key`, `leads`, `dataset_id`, `min_icp_score`, `deduplicate`, `dry_run`, `field_mapping`, `custom_variables`
114
- - `audit_agent_accessibility` (5 inputs): required `domain`; optional `check_endpoints`, `check_structured_data`, `skipCache`, `checks`
115
- - `classify_contact` (8 inputs): required `job_title`; optional `full_name`, `company_domain`, `verify_position`, `use_llm_fallback`, `llm_provider`, `llm_model`, `skipCache`
116
- - `map_company_event_presence` (6 inputs): required `domain`; optional `company_name`, `years`, `include_own_events`, `max_queries`, `skipCache`
117
- - `resolve_legal_entity` (6 inputs): required `domain`; optional `legal_name_hint`, `jurisdiction_hint`, `match_strictness`, `validate_vat`, `skipCache`
118
- - `monitor_public_awards` (7 inputs): required `register`; optional `window_days`, `min_award_value`, `max_entities`, `exclude_government_recipients`, `resolve_domains`, `domain_confidence_floor`
100
+ - `scan_gtm_hiring_signals` (8 inputs): required `domain`; optional `role_filter`, `ats_slug`, `mode`, `include_role_details`, `previous_gtm_role_count`, `previous_run_date`, `max_charge_usd`
101
+ - `detect_gtm_tech_stack` (7 inputs): optional `domain`, `company_domain`, `url`, `crawl_additional_pages`, `skipCache`, `technologies`, `max_charge_usd`
102
+ - `aggregate_gtm_signals` (5 inputs): required `company_domain`; optional `include_summary`, `explain_mode`, `sources`, `max_charge_usd`
103
+ - `scan_job_board_keywords` (7 inputs): required `company_domain`, `role_categories`; optional `custom_keywords`, `enable_fallback`, `previous_roles_detected`, `previous_run_date`, `max_charge_usd`
104
+ - `resolve_linkedin_url` (6 inputs): optional `company_domain`, `company_name`, `includeFirmographics`, `skipCache`, `minConfidenceScore`, `max_charge_usd`
105
+ - `score_icp_fit` (44 inputs): required `company_domain`; optional `company_name`, `template`, `scoring_config`, `icp_description`, `llm_api_key`, `llm_provider`, `fetch_signals`, `include_explanation`, `tier_thresholds`, `funded_within_days`, `min_score_to_output`, `previous_score`, `gtm_hiring_signal`, `gtm_role_count`, `uses_hubspot`, `uses_salesforce`, `uses_clay`, `crm_detected`, `seq_tool_detected`, `tech_stack`, `headcount`, `headcount_min`, `headcount_max`, `headcount_in_range`, `employee_band`, `revenue_estimate`, `hq_location`, `founded_year`, `recently_funded`, `last_funding_date`, `latest_funding_date`, `latest_funding_amount`, `funding_stage`, `industry`, `industry_match`, `target_industries`, `social_platforms_found`, `total_followers`, `has_linkedin`, `has_twitter`, `job_count`, `keyword_match_count`, `max_charge_usd`
106
+ - `resolve_company_identity` (6 inputs): optional `company_name`, `domain`, `linkedin_url`, `skipCache`, `minLinkedinConfidence`, `max_charge_usd`
107
+ - `enrich_company_firmographics` (6 inputs): optional `domain`, `company_name`, `domains`, `batchSize`, `skipCache`, `max_charge_usd`
108
+ - `map_company_social_presence` (6 inputs): optional `company_domain`, `company_name`, `platforms`, `includeFollowerCounts`, `skipCache`, `max_charge_usd`
109
+ - `get_funding_press_signals` (5 inputs): required `domain`; optional `company_name`, `signal_types`, `lookback_days`, `max_charge_usd`
110
+ - `get_company_changes` (7 inputs): required `domain`; optional `company_name`, `previous_snapshot`, `sub_actor_timeout_secs`, `sources`, `min_severity`, `max_charge_usd`
111
+ - `detect_ai_tooling` (7 inputs): optional `domain`, `domains`, `check_pricing`, `skipCache`, `request_timeout_ms`, `vendors`, `max_charge_usd`
112
+ - `fingerprint_outbound_infrastructure` (10 inputs): optional `domain`, `domains`, `scan_sending_domains`, `sending_domain_depth`, `check_deliverability`, `skipCache`, `max_sending_domain_probes`, `request_timeout_ms`, `dns_timeout_ms`, `max_charge_usd`
113
+ - `track_publication_cadence` (9 inputs): optional `domain`, `domains`, `max_pages_to_date`, `domain_time_budget_ms`, `skipCache`, `page_concurrency`, `max_sitemap_fetches`, `request_timeout_ms`, `max_charge_usd`
114
+ - `push_leads_to_sequencer` (11 inputs): required `sequencer`, `campaign_id`; optional `api_key`, `leads`, `dataset_id`, `min_icp_score`, `deduplicate`, `dry_run`, `field_mapping`, `custom_variables`, `max_charge_usd`
115
+ - `audit_agent_accessibility` (6 inputs): required `domain`; optional `check_endpoints`, `check_structured_data`, `skipCache`, `checks`, `max_charge_usd`
116
+ - `classify_contact` (9 inputs): required `job_title`; optional `full_name`, `company_domain`, `verify_position`, `use_llm_fallback`, `llm_provider`, `llm_model`, `skipCache`, `max_charge_usd`
117
+ - `map_company_event_presence` (7 inputs): required `domain`; optional `company_name`, `years`, `include_own_events`, `max_queries`, `skipCache`, `max_charge_usd`
118
+ - `resolve_legal_entity` (7 inputs): required `domain`; optional `legal_name_hint`, `jurisdiction_hint`, `match_strictness`, `validate_vat`, `skipCache`, `max_charge_usd`
119
+ - `monitor_public_awards` (8 inputs): required `register`; optional `window_days`, `min_award_value`, `max_entities`, `exclude_government_recipients`, `resolve_domains`, `domain_confidence_floor`, `max_charge_usd`
119
120
  - `capture_linkedin_posts_and_commenters` (3 inputs): optional `profile_urls`, `company_urls`, `posted_since`.
120
121
 
122
+ Every tool except `capture_linkedin_posts_and_commenters` (whose actor has no spending cap input) also accepts `max_charge_usd`, an optional spending cap in USD for that call: the actor stops before any charge that would take the run past it and keeps every row already charged.
123
+
121
124
  `push_leads_to_sequencer` is the only tool here that writes: it adds leads to your campaign unless `dry_run` is true.
122
125
 
126
+ ## Pricing
127
+
128
+ Each tool runs its actor on your own Apify account and is billed there, pay per event. Every run also carries Apify's actor start event at $0.00005 per GB of memory. Prices below are read from each actor's live pricing record on 2026-10-16; the Apify page of each actor carries the current price.
129
+
130
+ | Tool | Events and price per event (USD) |
131
+ | --- | --- |
132
+ | `scan_gtm_hiring_signals` | `apify-default-dataset-item` $0.05 on the Free plan, down to $0.0425 on higher Apify plans |
133
+ | `detect_gtm_tech_stack` | `apify-default-dataset-item` $0.015 on the Free plan, down to $0.0128 on higher Apify plans |
134
+ | `aggregate_gtm_signals` | `apify-default-dataset-item` $0.055 on the Free plan, down to $0.0385 on higher Apify plans |
135
+ | `scan_job_board_keywords` | `apify-default-dataset-item` $0.05 on the Free plan, down to $0.0425 on higher Apify plans |
136
+ | `resolve_linkedin_url` | `apify-default-dataset-item` $0.006 on the Free plan, down to $0.0051 on higher Apify plans |
137
+ | `score_icp_fit` | `apify-default-dataset-item` $0.05 on the Free plan, down to $0.0425 on higher Apify plans |
138
+ | `resolve_company_identity` | `apify-default-dataset-item` $0.007 on the Free plan, down to $0.00595 on higher Apify plans |
139
+ | `enrich_company_firmographics` | `apify-default-dataset-item` $0.004 on the Free plan, down to $0.0034 on higher Apify plans |
140
+ | `map_company_social_presence` | `apify-default-dataset-item` $0.015 on the Free plan, down to $0.0128 on higher Apify plans |
141
+ | `get_funding_press_signals` | `apify-default-dataset-item` $0.03 on the Free plan, down to $0.0255 on higher Apify plans |
142
+ | `get_company_changes` | `apify-default-dataset-item` $0.01 on the Free plan, down to $0.0085 on higher Apify plans; `change-source-resolved` $0.01 on the Free plan, down to $0.0085 on higher Apify plans |
143
+ | `detect_ai_tooling` | `actor-start` $0.00005; `domain-analyzed` $0.003 on the Free plan, down to $0.00255 on higher Apify plans |
144
+ | `fingerprint_outbound_infrastructure` | `actor-start` $0.00005; `domain-analyzed` $0.004 on the Free plan, down to $0.0034 on higher Apify plans |
145
+ | `track_publication_cadence` | `actor-start` $0.00005; `domain-analyzed` $0.004 on the Free plan, down to $0.0034 on higher Apify plans |
146
+ | `push_leads_to_sequencer` | `lead-pushed` $0.01 on the Free plan, down to $0.0085 on higher Apify plans |
147
+ | `audit_agent_accessibility` | `domain-analyzed` $0.005 on the Free plan, down to $0.00425 on higher Apify plans |
148
+ | `classify_contact` | `contact-classified` $0.003 on the Free plan, down to $0.00255 on higher Apify plans |
149
+ | `map_company_event_presence` | `company-analyzed` $0.005 on the Free plan, down to $0.00425 on higher Apify plans |
150
+ | `resolve_legal_entity` | `domain-resolved` $0.007 on the Free plan, down to $0.00595 on higher Apify plans |
151
+ | `monitor_public_awards` | `award-winner-found` $0.005 on the Free plan, down to $0.00425 on higher Apify plans |
152
+ | `capture_linkedin_posts_and_commenters` | `post-collected` $0.002 on the Free plan, down to $0.0017 on higher Apify plans |
153
+
154
+ A pricing change takes effect on 2026-10-26 for company-firmographic-enricher, company-identity-resolver, domain-to-linkedin-url-resolver: the charge moves to a `result` event. Check the actor's Apify page after that date.
155
+
123
156
  ## How each call runs
124
157
 
125
158
  Each call starts the actor run, polls it until it finishes, then reads the dataset. A run is allowed 1,800 seconds. If the run is still going when this call stops waiting, the call returns the run id and a console link instead of a timeout, so the result is never lost.
@@ -134,7 +167,7 @@ https://apify.com/mambalabs
134
167
 
135
168
  ## Mamba Labs GTM Suite
136
169
 
137
- This is the umbrella server for the **Mamba Labs GTM Suite**: twenty one account-intelligence tools for go-to-market signal intelligence, each backed by a dedicated Apify actor and also published as its own standalone MCP server. The Mamba Labs fleet has 53 public actors; the brand presence mappers, the influencer suite, Expert Witness Directory, and the other actors outside this list are available as their own servers under [@mambalabsdev on npm](https://www.npmjs.com/org/mambalabsdev).
170
+ This is the umbrella server for the **Mamba Labs GTM Suite**: twenty one account-intelligence tools for go-to-market signal intelligence, each backed by a dedicated Apify actor and also published as its own standalone MCP server. The Mamba Labs fleet has 57 public actors; the brand presence mappers, the influencer suite, Expert Witness Directory, and the other actors outside this list are available as their own servers under [@mambalabsdev on npm](https://www.npmjs.com/org/mambalabsdev).
138
171
 
139
172
  | Tool | Actor | Immutable Actor ID |
140
173
  |---|---|---|
package/build/index.js CHANGED
@@ -5,6 +5,13 @@ import { dirname, join } from "node:path";
5
5
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
6
6
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
7
7
  import { z } from "zod";
8
+ // Optional per call spending cap, passed through to the actor's own max_charge_usd
9
+ // input. The actor enforces it; this wrapper only forwards it when set.
10
+ const MAX_CHARGE_USD = z
11
+ .number()
12
+ .min(0)
13
+ .optional()
14
+ .describe("Optional spending cap for this call, in USD, passed to the actor as max_charge_usd. The run stops before any charge that would take it past this amount and keeps every row already charged. Leave empty to rely only on the maximum charge per run set on your Apify account.");
8
15
  const here = dirname(fileURLToPath(import.meta.url));
9
16
  const pkg = JSON.parse(readFileSync(join(here, "..", "package.json"), "utf8"));
10
17
  // Distinctive UA so Apify run meta.userAgent marks MCP-originated runs.
@@ -67,7 +74,9 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
67
74
  // The token is read here rather than at module load, so the tool registers
68
75
  // unconditionally and a server started without APIFY_TOKEN still advertises its
69
76
  // capabilities instead of reporting none.
70
- async function runActor(actorPath, actorLabel, input) {
77
+ async function runActor(actorPath, actorLabel, input, maxChargeUsd) {
78
+ if (maxChargeUsd !== undefined)
79
+ input = { ...input, max_charge_usd: maxChargeUsd };
71
80
  const APIFY_TOKEN = process.env.APIFY_TOKEN;
72
81
  if (!APIFY_TOKEN) {
73
82
  return { isError: true, content: [{ type: "text", text: "APIFY_TOKEN is not set. Create a token at https://console.apify.com/account/integrations and set it as the APIFY_TOKEN environment variable." }] };
@@ -197,10 +206,10 @@ const server = new McpServer({
197
206
  // 1. GTM Hiring Signal Scraper
198
207
  server.registerTool("scan_gtm_hiring_signals", {
199
208
  title: "Scan GTM Hiring Signals",
200
- description: "Scan company career pages to detect GTM hiring activity. Returns sales, marketing, and revenue operations job postings across Greenhouse, Lever, and Ashby as a flat, Clay-ready JSON row. Use this for a go-to-market hiring verdict (is the company building its sales and marketing team, and how fast); use scan_job_board_keywords instead to count open roles in categories or keywords you choose, including non-GTM roles. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
209
+ description: "Scan company career pages to detect GTM hiring activity. Returns sales, marketing, and revenue operations job postings across Greenhouse, Lever, and Ashby as a flat, Clay-ready JSON row. Use this for a go-to-market hiring verdict (is the company building its sales and marketing team, and how fast); use scan_job_board_keywords instead to count open roles in categories or keywords you choose, including non-GTM roles. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
201
210
  annotations: {
202
211
  title: "Scan GTM Hiring Signals",
203
- readOnlyHint: true,
212
+ readOnlyHint: false,
204
213
  destructiveHint: false,
205
214
  idempotentHint: true,
206
215
  openWorldHint: true,
@@ -232,15 +241,16 @@ server.registerTool("scan_gtm_hiring_signals", {
232
241
  .string()
233
242
  .optional()
234
243
  .describe("ISO date of the previous run for this domain, used in velocity mode to report days between runs."),
244
+ max_charge_usd: MAX_CHARGE_USD,
235
245
  },
236
- }, async ({ domain, role_filter, ats_slug, mode, include_role_details, previous_gtm_role_count, previous_run_date }) => runActor("D7O1SA2EqwHGsGr1P", "GTM Hiring Signal Scraper", compact({ domain, role_filter, ats_slug, mode, include_role_details, previous_gtm_role_count, previous_run_date })));
246
+ }, async ({ domain, role_filter, ats_slug, mode, include_role_details, previous_gtm_role_count, previous_run_date, max_charge_usd }) => runActor("D7O1SA2EqwHGsGr1P", "GTM Hiring Signal Scraper", compact({ domain, role_filter, ats_slug, mode, include_role_details, previous_gtm_role_count, previous_run_date }), max_charge_usd));
237
247
  // 2. GTM Tech Stack Signal Enrichment
238
248
  server.registerTool("detect_gtm_tech_stack", {
239
249
  title: "Detect GTM Tech Stack",
240
- description: "Detect which GTM tools a company uses from its public website. Returns CRM, sequencer, and marketing automation signals with per-tool boolean flags as a flat, Clay-ready JSON row. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
250
+ description: "Detect which GTM tools a company uses from its public website. Returns CRM, sequencer, and marketing automation signals with per-tool boolean flags as a flat, Clay-ready JSON row. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
241
251
  annotations: {
242
252
  title: "Detect GTM Tech Stack",
243
- readOnlyHint: true,
253
+ readOnlyHint: false,
244
254
  destructiveHint: false,
245
255
  idempotentHint: true,
246
256
  openWorldHint: true,
@@ -270,8 +280,9 @@ server.registerTool("detect_gtm_tech_stack", {
270
280
  .array(z.enum(["hubspot", "salesforce", "marketo", "pardot", "intercom", "drift", "apollo", "outreach", "gong", "zoominfo"]))
271
281
  .optional()
272
282
  .describe("Report only these tools. Omit to report every detectable tool. Only tools with a client side fingerprint are selectable. Detection is unchanged, so filtering costs nothing extra."),
283
+ max_charge_usd: MAX_CHARGE_USD,
273
284
  },
274
- }, async ({ domain, company_domain, url, crawl_additional_pages, skipCache, technologies }) => {
285
+ }, async ({ domain, company_domain, url, crawl_additional_pages, skipCache, technologies, max_charge_usd }) => {
275
286
  // Measured 2026-08-13: the actor's built schema marks nothing required, but
276
287
  // with no company named at all the run throws and exits FAILED. Rejecting
277
288
  // here rejects only what the actor itself rejects.
@@ -281,15 +292,15 @@ server.registerTool("detect_gtm_tech_stack", {
281
292
  content: [{ type: "text", text: "Provide domain, company_domain or url. The actor cannot run without one of them." }],
282
293
  };
283
294
  }
284
- return runActor("qyd7nNyqFPelQViBx", "GTM Tech Stack Signal Enrichment", compact({ domain, company_domain, url, crawl_additional_pages, skipCache, technologies }));
295
+ return runActor("qyd7nNyqFPelQViBx", "GTM Tech Stack Signal Enrichment", compact({ domain, company_domain, url, crawl_additional_pages, skipCache, technologies }), max_charge_usd);
285
296
  });
286
297
  // 3. GTM Signals Aggregator
287
298
  server.registerTool("aggregate_gtm_signals", {
288
299
  title: "Aggregate GTM Signals",
289
- description: "Aggregate a company's GTM signals into one composite score. Runs hiring and tech-stack detection by default, plus funding, events, or workplace when named in sources, in one call and returns a composite score, recommended action, and optional summary as a flat, Clay-ready JSON row. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
300
+ description: "Aggregate a company's GTM signals into one composite score. Runs hiring and tech-stack detection by default, plus funding, events, or workplace when named in sources, in one call and returns a composite score, recommended action, and optional summary as a flat, Clay-ready JSON row. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
290
301
  annotations: {
291
302
  title: "Aggregate GTM Signals",
292
- readOnlyHint: true,
303
+ readOnlyHint: false,
293
304
  destructiveHint: false,
294
305
  idempotentHint: true,
295
306
  openWorldHint: true,
@@ -305,15 +316,16 @@ server.registerTool("aggregate_gtm_signals", {
305
316
  .array(z.enum(["hiring", "tech_stack", "funding", "events", "workplace"]))
306
317
  .optional()
307
318
  .describe("Which signals to aggregate. Defaults to hiring and tech_stack. Each extra source adds one sub actor run to the bill and one dimension to the composite score, which is normalized over the sources selected."),
319
+ max_charge_usd: MAX_CHARGE_USD,
308
320
  },
309
- }, async ({ company_domain, include_summary, explain_mode, sources }) => runActor("xKdRfnfFNkdMpFuNs", "GTM Signals Aggregator", compact({ company_domain, include_summary, explain_mode, sources })));
321
+ }, async ({ company_domain, include_summary, explain_mode, sources, max_charge_usd }) => runActor("xKdRfnfFNkdMpFuNs", "GTM Signals Aggregator", compact({ company_domain, include_summary, explain_mode, sources }), max_charge_usd));
310
322
  // 4. Job Board Keyword Signal Scanner
311
323
  server.registerTool("scan_job_board_keywords", {
312
324
  title: "Scan Job Board Keywords",
313
- description: "Scan a company's job board for roles in chosen categories across Greenhouse, Lever, Ashby, Workday, and Rippling. Returns matched role counts and titles per category as a flat, Clay-ready JSON row. Use this when you choose the role categories or keywords (engineering, finance, a product name in a job ad); use scan_gtm_hiring_signals instead for the fixed sales and marketing hiring verdict. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
325
+ description: "Scan a company's job board for roles in chosen categories across Greenhouse, Lever, Ashby, Workday, and Rippling. Returns matched role counts and titles per category as a flat, Clay-ready JSON row. Use this when you choose the role categories or keywords (engineering, finance, a product name in a job ad); use scan_gtm_hiring_signals instead for the fixed sales and marketing hiring verdict. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
314
326
  annotations: {
315
327
  title: "Scan Job Board Keywords",
316
- readOnlyHint: true,
328
+ readOnlyHint: false,
317
329
  destructiveHint: false,
318
330
  idempotentHint: true,
319
331
  openWorldHint: true,
@@ -336,22 +348,23 @@ server.registerTool("scan_job_board_keywords", {
336
348
  .optional()
337
349
  .describe("Comma-separated matched role titles from a previous run, to compute deltas."),
338
350
  previous_run_date: z.string().optional().describe("ISO date of the previous run, e.g. 2026-03-15."),
351
+ max_charge_usd: MAX_CHARGE_USD,
339
352
  },
340
- }, async ({ company_domain, role_categories, custom_keywords, enable_fallback, previous_roles_detected, previous_run_date, }) => runActor("4DvqpvhMR74NLcDDY", "Job Board Keyword Signal Scanner", compact({
353
+ }, async ({ company_domain, role_categories, custom_keywords, enable_fallback, previous_roles_detected, previous_run_date, max_charge_usd, }) => runActor("4DvqpvhMR74NLcDDY", "Job Board Keyword Signal Scanner", compact({
341
354
  company_domain,
342
355
  role_categories,
343
356
  custom_keywords,
344
357
  enable_fallback,
345
358
  previous_roles_detected,
346
359
  previous_run_date,
347
- })));
360
+ }), max_charge_usd));
348
361
  // 5. Domain to LinkedIn URL Resolver
349
362
  server.registerTool("resolve_linkedin_url", {
350
363
  title: "Resolve LinkedIn URL",
351
- description: "Resolve a company domain or name to its LinkedIn company URL, with a 0-100 confidence_score, social links, and optional firmographics from search snippets, as a flat, Clay-ready JSON row. A URL is returned only when verified: the company homepage links it, or its name is identical to the name the company site declares or the company_name you pass; otherwise linkedin_company_url is null and verification says why. No request is sent to LinkedIn. Provide at least one of company_domain or company_name. Use this when the LinkedIn company URL is the answer you need; use resolve_company_identity instead to cross-check a name, domain, and LinkedIn URL you already hold and get a canonical identity with conflicts flagged. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
364
+ description: "Resolve a company domain or name to its LinkedIn company URL, with a 0-100 confidence_score, social links, and optional firmographics from search snippets, as a flat, Clay-ready JSON row. A URL is returned only when verified: the company homepage links it, or its name is identical to the name the company site declares or the company_name you pass; otherwise linkedin_company_url is null and verification says why. No request is sent to LinkedIn. Provide at least one of company_domain or company_name. Use this when the LinkedIn company URL is the answer you need; use resolve_company_identity instead to cross-check a name, domain, and LinkedIn URL you already hold and get a canonical identity with conflicts flagged. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
352
365
  annotations: {
353
366
  title: "Resolve LinkedIn URL",
354
- readOnlyHint: true,
367
+ readOnlyHint: false,
355
368
  destructiveHint: false,
356
369
  idempotentHint: true,
357
370
  openWorldHint: true,
@@ -375,8 +388,9 @@ server.registerTool("resolve_linkedin_url", {
375
388
  .regex(/^\s*(100|[1-9]?[0-9])?\s*$/)
376
389
  .optional()
377
390
  .describe("A LinkedIn page is returned only when its match score is at least this value, 0 to 100. Default \"70\". Raise it for fewer, surer answers; lower it for more answers and more wrong ones. Sent as a string for Clay compatibility."),
391
+ max_charge_usd: MAX_CHARGE_USD,
378
392
  },
379
- }, async ({ company_domain, company_name, includeFirmographics, skipCache, minConfidenceScore }) => {
393
+ }, async ({ company_domain, company_name, includeFirmographics, skipCache, minConfidenceScore, max_charge_usd }) => {
380
394
  if ((company_domain === undefined || company_domain === "") &&
381
395
  (company_name === undefined || company_name === "")) {
382
396
  return {
@@ -384,15 +398,15 @@ server.registerTool("resolve_linkedin_url", {
384
398
  content: [{ type: "text", text: "Provide at least one of company_domain or company_name." }],
385
399
  };
386
400
  }
387
- return runActor("3HtnSaqPHOg1Qg5gx", "Domain to LinkedIn URL Resolver", compact({ company_domain, company_name, includeFirmographics, skipCache, minConfidenceScore }));
401
+ return runActor("3HtnSaqPHOg1Qg5gx", "Domain to LinkedIn URL Resolver", compact({ company_domain, company_name, includeFirmographics, skipCache, minConfidenceScore }), max_charge_usd);
388
402
  });
389
403
  // 6. ICP Fit Scorer (single-company scoring surface)
390
404
  server.registerTool("score_icp_fit", {
391
405
  title: "Score ICP Fit",
392
- description: "Score a company against your ideal customer profile (ICP) using weighted signals. Returns a 0 to 100 icp_score, an A to D icp_tier, and a per-signal breakdown as a flat, Clay-ready JSON row. Define your ICP with a template, scoring_config, or plain-English icp_description (which requires llm_api_key). Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
406
+ description: "Score a company against your ideal customer profile (ICP) using weighted signals. Returns a 0 to 100 icp_score, an A to D icp_tier, and a per-signal breakdown as a flat, Clay-ready JSON row. Define your ICP with a template, scoring_config, or plain-English icp_description (which requires llm_api_key). Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
393
407
  annotations: {
394
408
  title: "Score ICP Fit",
395
- readOnlyHint: true,
409
+ readOnlyHint: false,
396
410
  destructiveHint: false,
397
411
  idempotentHint: true,
398
412
  openWorldHint: true,
@@ -450,6 +464,7 @@ server.registerTool("score_icp_fit", {
450
464
  has_twitter: z.string().optional().describe("Whether a company X/Twitter profile was found, from the Company Social Presence Mapper (Actor ID 4k6CCemkgBDz18m2h). Contributes to social_presence. Accepts a boolean-like string."),
451
465
  job_count: z.string().optional().describe("Number of open jobs found, from the Job Board Keyword Signal Scanner (Actor ID 4DvqpvhMR74NLcDDY). Scores via active_hiring_volume when at or above min_job_count (default 3). Accepts a numeric string."),
452
466
  keyword_match_count: z.string().optional().describe("Number of target-keyword matches found, from the Job Board Keyword Signal Scanner (Actor ID 4DvqpvhMR74NLcDDY). Scores via keyword_signal_match when at or above min_keyword_matches (default 1). Accepts a numeric string."),
467
+ max_charge_usd: MAX_CHARGE_USD,
453
468
  },
454
469
  }, async (args) => runActor("W161DT8W4kW55dMFh", "ICP Fit Scorer", compact({
455
470
  company_domain: args.company_domain,
@@ -495,14 +510,14 @@ server.registerTool("score_icp_fit", {
495
510
  has_twitter: args.has_twitter,
496
511
  job_count: args.job_count,
497
512
  keyword_match_count: args.keyword_match_count,
498
- })));
513
+ }), args.max_charge_usd));
499
514
  // 7. Company Identity Resolver
500
515
  server.registerTool("resolve_company_identity", {
501
516
  title: "Resolve Company Identity",
502
- description: "Resolve any combination of company name, domain, or LinkedIn URL into one canonical company identity: the name, primary domain, and LinkedIn company URL, each with a 0-100 confidence score plus an overall score and a match method. Cross-checks the inputs you give it, resolves the ones you do not, and flags conflicts (a domain and a LinkedIn slug that disagree) instead of merging them. A LinkedIn URL the actor finds is returned only when verified against the company site or the name, with the reason in linkedin_verification. Provide at least one of company_name, domain, or linkedin_url. Use this to reconcile or deduplicate records you already hold; use resolve_linkedin_url instead when you only need the LinkedIn company URL for a domain or name. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
517
+ description: "Resolve any combination of company name, domain, or LinkedIn URL into one canonical company identity: the name, primary domain, and LinkedIn company URL, each with a 0-100 confidence score plus an overall score and a match method. Cross-checks the inputs you give it, resolves the ones you do not, and flags conflicts (a domain and a LinkedIn slug that disagree) instead of merging them. A LinkedIn URL the actor finds is returned only when verified against the company site or the name, with the reason in linkedin_verification. Provide at least one of company_name, domain, or linkedin_url. Use this to reconcile or deduplicate records you already hold; use resolve_linkedin_url instead when you only need the LinkedIn company URL for a domain or name. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
503
518
  annotations: {
504
519
  title: "Resolve Company Identity",
505
- readOnlyHint: true,
520
+ readOnlyHint: false,
506
521
  destructiveHint: false,
507
522
  idempotentHint: true,
508
523
  openWorldHint: true,
@@ -529,8 +544,9 @@ server.registerTool("resolve_company_identity", {
529
544
  .regex(/^\s*(100|[1-9]?[0-9])?\s*$/)
530
545
  .optional()
531
546
  .describe("A LinkedIn page the actor finds is returned only when its linkedin_confidence is at least this value, 0 to 100. Default \"70\". A LinkedIn URL you provide is always returned as given. Sent as a string for Clay compatibility."),
547
+ max_charge_usd: MAX_CHARGE_USD,
532
548
  },
533
- }, async ({ company_name, domain, linkedin_url, skipCache, minLinkedinConfidence }) => {
549
+ }, async ({ company_name, domain, linkedin_url, skipCache, minLinkedinConfidence, max_charge_usd }) => {
534
550
  if ((company_name === undefined || company_name === "") &&
535
551
  (domain === undefined || domain === "") &&
536
552
  (linkedin_url === undefined || linkedin_url === "")) {
@@ -545,15 +561,15 @@ server.registerTool("resolve_company_identity", {
545
561
  linkedin_url,
546
562
  skipCache: boolToString(skipCache),
547
563
  minLinkedinConfidence,
548
- }));
564
+ }), max_charge_usd);
549
565
  });
550
566
  // 8. Company Firmographic Enricher
551
567
  server.registerTool("enrich_company_firmographics", {
552
568
  title: "Enrich Company Firmographics",
553
- description: "Enrich a company domain into structured firmographics: employee band, industry, HQ, founded year, revenue estimate, logo, and description, with source provenance. Parsed from the company's schema.org/Organization JSON-LD and HTML meta tags and returned as a flat, Clay-ready JSON row with a source_signals array and a data_completeness score. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
569
+ description: "Enrich a company domain into structured firmographics: employee band, industry, HQ, founded year, revenue estimate, logo, and description, with source provenance. Parsed from the company's schema.org/Organization JSON-LD and HTML meta tags and returned as a flat, Clay-ready JSON row with a source_signals array and a data_completeness score. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
554
570
  annotations: {
555
571
  title: "Enrich Company Firmographics",
556
- readOnlyHint: true,
572
+ readOnlyHint: false,
557
573
  destructiveHint: false,
558
574
  idempotentHint: true,
559
575
  openWorldHint: true,
@@ -579,8 +595,9 @@ server.registerTool("enrich_company_firmographics", {
579
595
  .boolean()
580
596
  .optional()
581
597
  .describe("Force a fresh enrichment and ignore the 7 day result cache."),
598
+ max_charge_usd: MAX_CHARGE_USD,
582
599
  },
583
- }, async ({ domain, company_name, domains, batchSize, skipCache }) => {
600
+ }, async ({ domain, company_name, domains, batchSize, skipCache, max_charge_usd }) => {
584
601
  if ((domain === undefined || domain === "") &&
585
602
  (!Array.isArray(domains) || domains.length === 0)) {
586
603
  return {
@@ -588,15 +605,15 @@ server.registerTool("enrich_company_firmographics", {
588
605
  content: [{ type: "text", text: "Provide at least one of domain or domains." }],
589
606
  };
590
607
  }
591
- return runActor("YlUtLWjfPpqykmB8g", "Company Firmographic Enricher", compact({ domain, company_name, domains, batchSize, skipCache }));
608
+ return runActor("YlUtLWjfPpqykmB8g", "Company Firmographic Enricher", compact({ domain, company_name, domains, batchSize, skipCache }), max_charge_usd);
592
609
  });
593
610
  // 9. Company Social Presence Mapper
594
611
  server.registerTool("map_company_social_presence", {
595
612
  title: "Map Company Social Presence",
596
- description: "Map a company's social media presence across LinkedIn, X, Instagram, Facebook, and YouTube. Returns profile URLs and follower counts in flat Clay-ready JSON. Profiles are discovered from the company's own homepage links, a web search fallback, and pattern guessing, then validated against the company. Follower counts are extracted where public; X is URL-only (its count needs login) and Instagram and Facebook counts are best-effort. Provide at least one of company_domain or company_name. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
613
+ description: "Map a company's social media presence across LinkedIn, X, Instagram, Facebook, and YouTube. Returns profile URLs and follower counts in flat Clay-ready JSON. Profiles are discovered from the company's own homepage links, a web search fallback, and pattern guessing, then validated against the company. Follower counts are extracted where public; X is URL-only (its count needs login) and Instagram and Facebook counts are best-effort. Provide at least one of company_domain or company_name. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
597
614
  annotations: {
598
615
  title: "Map Company Social Presence",
599
- readOnlyHint: true,
616
+ readOnlyHint: false,
600
617
  destructiveHint: false,
601
618
  idempotentHint: true,
602
619
  openWorldHint: true,
@@ -622,8 +639,9 @@ server.registerTool("map_company_social_presence", {
622
639
  .boolean()
623
640
  .optional()
624
641
  .describe("Force a fresh lookup and ignore the 7 day result cache."),
642
+ max_charge_usd: MAX_CHARGE_USD,
625
643
  },
626
- }, async ({ company_domain, company_name, platforms, includeFollowerCounts, skipCache }) => {
644
+ }, async ({ company_domain, company_name, platforms, includeFollowerCounts, skipCache, max_charge_usd }) => {
627
645
  if ((company_domain === undefined || company_domain === "") &&
628
646
  (company_name === undefined || company_name === "")) {
629
647
  return {
@@ -637,15 +655,15 @@ server.registerTool("map_company_social_presence", {
637
655
  platforms,
638
656
  includeFollowerCounts: boolToString(includeFollowerCounts),
639
657
  skipCache: boolToString(skipCache),
640
- }));
658
+ }), max_charge_usd);
641
659
  });
642
660
  // 10. Funding & Press Signal Scanner
643
661
  server.registerTool("get_funding_press_signals", {
644
662
  title: "Get Funding and Press Signals",
645
- description: "Scan Google News and PR wires for funding rounds, executive moves, product launches, and acquisitions at any company domain. Returns deduplicated, dated events in flat Clay-ready JSON. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
663
+ description: "Scan Google News and PR wires for funding rounds, executive moves, product launches, and acquisitions at any company domain. Returns deduplicated, dated events in flat Clay-ready JSON. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
646
664
  annotations: {
647
665
  title: "Get Funding and Press Signals",
648
- readOnlyHint: true,
666
+ readOnlyHint: false,
649
667
  destructiveHint: false,
650
668
  idempotentHint: true,
651
669
  openWorldHint: true,
@@ -669,23 +687,24 @@ server.registerTool("get_funding_press_signals", {
669
687
  .max(1825)
670
688
  .optional()
671
689
  .describe("How far back to search, in days. Default 365."),
690
+ max_charge_usd: MAX_CHARGE_USD,
672
691
  },
673
- }, async ({ domain, company_name, signal_types, lookback_days }) => {
692
+ }, async ({ domain, company_name, signal_types, lookback_days, max_charge_usd }) => {
674
693
  if (domain === undefined || domain.trim() === "") {
675
694
  return {
676
695
  isError: true,
677
696
  content: [{ type: "text", text: "Provide a company domain, e.g. stripe.com." }],
678
697
  };
679
698
  }
680
- return runActor("FS13X6dhQVgX3XOM6", "Funding & Press Signal Scanner", compact({ domain, company_name, signal_types, lookback_days }));
699
+ return runActor("FS13X6dhQVgX3XOM6", "Funding & Press Signal Scanner", compact({ domain, company_name, signal_types, lookback_days }), max_charge_usd);
681
700
  });
682
701
  // 11. Company Change-Event Feed
683
702
  server.registerTool("get_company_changes", {
684
703
  title: "Get Company Changes",
685
- description: "Monitor a company domain for changes across hiring, tech stack, funding, firmographics, and social since the last run. Returns only what changed as typed change events in flat, Clay-ready JSON. Pass sources to watch fewer than all five sources and min_severity to drop minor changes; each source left out is one fewer sub actor run on the bill. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
704
+ description: "Monitor a company domain for changes across hiring, tech stack, funding, firmographics, and social since the last run. Returns only what changed as typed change events in flat, Clay-ready JSON. Pass sources to watch fewer than all five sources and min_severity to drop minor changes; each source left out is one fewer sub actor run on the bill. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per call.",
686
705
  annotations: {
687
706
  title: "Get Company Changes",
688
- readOnlyHint: true,
707
+ readOnlyHint: false,
689
708
  destructiveHint: false,
690
709
  idempotentHint: false,
691
710
  openWorldHint: true,
@@ -715,23 +734,24 @@ server.registerTool("get_company_changes", {
715
734
  .enum(["low", "medium", "high"])
716
735
  .optional()
717
736
  .describe("Report only changes at or above this severity. low reports every change and is the default. high keeps leadership moves, funding, acquisitions, and a CRM or sequencer appearing or disappearing."),
737
+ max_charge_usd: MAX_CHARGE_USD,
718
738
  },
719
- }, async ({ domain, company_name, previous_snapshot, sub_actor_timeout_secs, sources, min_severity }) => {
739
+ }, async ({ domain, company_name, previous_snapshot, sub_actor_timeout_secs, sources, min_severity, max_charge_usd }) => {
720
740
  if (domain === undefined || domain.trim() === "") {
721
741
  return {
722
742
  isError: true,
723
743
  content: [{ type: "text", text: "Provide a company domain, e.g. stripe.com." }],
724
744
  };
725
745
  }
726
- return runActor("oX44rS0fkEJ3rXLWe", "Company Change-Event Feed", compact({ domain, company_name, previous_snapshot, sub_actor_timeout_secs, sources, min_severity }));
746
+ return runActor("oX44rS0fkEJ3rXLWe", "Company Change-Event Feed", compact({ domain, company_name, previous_snapshot, sub_actor_timeout_secs, sources, min_severity }), max_charge_usd);
727
747
  });
728
748
  // 12. AI Tooling Detector
729
749
  server.registerTool("detect_ai_tooling", {
730
750
  title: "Detect AI Tooling",
731
- description: "Given a company domain, determine how far that company has gone with AI. Returns an ai_maturity tier of none, declared (says AI but nothing observable is running), deployed (AI tooling is live on the site), or commercialized (the pricing page charges for AI via credits, tokens, an add-on, an AI-named plan, or a per-outcome price), plus the detected AI vendors, validated llms.txt status, robots.txt AI-crawler policy, and the evidence behind the verdict. A domain behind a bot challenge returns blocked=true at low confidence rather than a false negative. Returns flat, Clay-ready JSON. Read-only; requires an APIFY_TOKEN and consumes Apify credits per domain analyzed.",
751
+ description: "Given a company domain, determine how far that company has gone with AI. Returns an ai_maturity tier of none, declared (says AI but nothing observable is running), deployed (AI tooling is live on the site), or commercialized (the pricing page charges for AI via credits, tokens, an add-on, an AI-named plan, or a per-outcome price), plus the detected AI vendors, validated llms.txt status, robots.txt AI-crawler policy, and the evidence behind the verdict. A domain behind a bot challenge returns blocked=true at low confidence rather than a false negative. Returns flat, Clay-ready JSON. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per domain analyzed.",
732
752
  annotations: {
733
753
  title: "Detect AI Tooling",
734
- readOnlyHint: true,
754
+ readOnlyHint: false,
735
755
  destructiveHint: false,
736
756
  idempotentHint: true,
737
757
  openWorldHint: true,
@@ -762,8 +782,9 @@ server.registerTool("detect_ai_tooling", {
762
782
  .array(z.enum(["sierra", "decagon", "ada", "forethought", "intercom_fin", "ultimate_ai", "netomi", "yellow_ai", "cognigy", "kore_ai", "chatbase", "voiceflow", "sendbird_ai", "intercom", "zendesk", "drift", "gorgias", "freshworks", "tidio", "crisp", "kustomer", "qualified", "hubspot_breeze", "algolia", "glean", "inkeep", "kapa_ai", "mendable", "mutiny", "dynamic_yield", "openai_api", "anthropic_api", "azure_openai", "aws_bedrock", "google_gemini", "cohere", "mistral", "groq", "together_ai", "fireworks_ai", "replicate", "perplexity_api", "huggingface", "openrouter", "cloudflare_ai_gateway", "pinecone", "weaviate", "qdrant", "vercel_ai_sdk", "langchain", "llamaindex", "assistant_ui"]))
763
783
  .optional()
764
784
  .describe("Report only these AI vendors. Omit to report every one. Detection is unchanged, so filtering costs nothing extra. The ai_maturity verdict, llms.txt, robots.txt, and pricing reads are site wide and never narrowed by this."),
785
+ max_charge_usd: MAX_CHARGE_USD,
765
786
  },
766
- }, async ({ domain, domains, check_pricing, skipCache, request_timeout_ms, vendors }) => {
787
+ }, async ({ domain, domains, check_pricing, skipCache, request_timeout_ms, vendors, max_charge_usd }) => {
767
788
  const hasBatch = Array.isArray(domains) && domains.length > 0;
768
789
  if (!hasBatch && (domain === undefined || domain.trim() === "")) {
769
790
  return {
@@ -778,15 +799,15 @@ server.registerTool("detect_ai_tooling", {
778
799
  skipCache,
779
800
  request_timeout_ms,
780
801
  vendors,
781
- }));
802
+ }), max_charge_usd);
782
803
  });
783
804
  // 13. Outbound Infrastructure Fingerprint
784
805
  server.registerTool("fingerprint_outbound_infrastructure", {
785
806
  title: "Fingerprint Outbound Infrastructure",
786
- description: "Given a company domain, determine whether that company runs cold email outbound and on what stack. Returns a runs_outbound verdict of program (a deliberate cold outbound setup), light (one weak signal), none, or unknown, with the evidence behind it. The strongest signal is the lookalike sending domains a real program leaves behind: domains like getcompany.com or company-mail.com that carry their own mail and redirect back to the primary site. Also returns the inbox provider (Google Workspace, Microsoft 365 and others) for the primary domain and each sending domain, any detected sending platform (Outreach, Salesloft, Lemlist, Instantly, Smartlead, Apollo and more), registration clusters showing sending domains bought on the same day, cold email infrastructure vendors, and SPF, DKIM and DMARC posture. Sending platform recall is partial by design: sequencers that connect over OAuth to a customer's own mailbox leave no DNS trace, so an empty sending_platforms means little while a populated one is solid. Public DNS and HTTP redirects only. Returns flat, Clay-ready JSON. Read-only; requires an APIFY_TOKEN and consumes Apify credits per domain analyzed.",
807
+ description: "Given a company domain, determine whether that company runs cold email outbound and on what stack. Returns a runs_outbound verdict of program (a deliberate cold outbound setup), light (one weak signal), none, or unknown, with the evidence behind it. The strongest signal is the lookalike sending domains a real program leaves behind: domains like getcompany.com or company-mail.com that carry their own mail and redirect back to the primary site. Also returns the inbox provider (Google Workspace, Microsoft 365 and others) for the primary domain and each sending domain, any detected sending platform (Outreach, Salesloft, Lemlist, Instantly, Smartlead, Apollo and more), registration clusters showing sending domains bought on the same day, cold email infrastructure vendors, and SPF, DKIM and DMARC posture. Sending platform recall is partial by design: sequencers that connect over OAuth to a customer's own mailbox leave no DNS trace, so an empty sending_platforms means little while a populated one is solid. Public DNS and HTTP redirects only. Returns flat, Clay-ready JSON. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per domain analyzed.",
787
808
  annotations: {
788
809
  title: "Fingerprint Outbound Infrastructure",
789
- readOnlyHint: true,
810
+ readOnlyHint: false,
790
811
  destructiveHint: false,
791
812
  idempotentHint: true,
792
813
  openWorldHint: true,
@@ -831,8 +852,9 @@ server.registerTool("fingerprint_outbound_infrastructure", {
831
852
  .int()
832
853
  .optional()
833
854
  .describe("Per-DNS-lookup timeout in milliseconds."),
855
+ max_charge_usd: MAX_CHARGE_USD,
834
856
  },
835
- }, async ({ domain, domains, scan_sending_domains, sending_domain_depth, check_deliverability, skipCache, max_sending_domain_probes, request_timeout_ms, dns_timeout_ms }) => {
857
+ }, async ({ domain, domains, scan_sending_domains, sending_domain_depth, check_deliverability, skipCache, max_sending_domain_probes, request_timeout_ms, dns_timeout_ms, max_charge_usd }) => {
836
858
  const hasBatch = Array.isArray(domains) && domains.length > 0;
837
859
  if (!hasBatch && (domain === undefined || domain.trim() === "")) {
838
860
  return {
@@ -850,15 +872,15 @@ server.registerTool("fingerprint_outbound_infrastructure", {
850
872
  max_sending_domain_probes,
851
873
  request_timeout_ms,
852
874
  dns_timeout_ms,
853
- }));
875
+ }), max_charge_usd);
854
876
  });
855
877
  // 14. Publication Cadence Tracker
856
878
  server.registerTool("track_publication_cadence", {
857
879
  title: "Track Publication Cadence",
858
- description: "Given a company domain, measure how much long-form work that company publishes and whether the rate is rising or falling. Returns post counts for the last 30 days, 90 days and 12 months, a monthly average, and a cadence_trend of accelerating, steady, declining, dormant or unknown, with the percent change behind it. The trend compares the last 90 days against the prior 275 days, both normalized to posts per month. Also returns the blog URL, the format mix (blog posts, guides, reports, case studies, whitepapers, podcasts, videos, press releases, research), the number of distinct bylines, and how the post list was discovered. This measures EDITORIAL output volume, not product changelogs: a release feed is detected and rejected rather than counted. Publication dates are read from the post pages, because sitemap lastmod was measured to be a modification date running later than publication by a median of 151 to 1653 days. When a site's date field tracks edits rather than publication, date_source_reliable comes back false and every count is nulled rather than reported wrong, so read that field before quoting a number. Counts are a census when the archive fits the page budget and a scaled even sample otherwise, flagged by counts_are_estimate. Public sitemaps, feeds and pages only. Returns flat, Clay-ready JSON. Read-only; requires an APIFY_TOKEN and consumes Apify credits per domain analyzed.",
880
+ description: "Given a company domain, measure how much long-form work that company publishes and whether the rate is rising or falling. Returns post counts for the last 30 days, 90 days and 12 months, a monthly average, and a cadence_trend of accelerating, steady, declining, dormant or unknown, with the percent change behind it. The trend compares the last 90 days against the prior 275 days, both normalized to posts per month. Also returns the blog URL, the format mix (blog posts, guides, reports, case studies, whitepapers, podcasts, videos, press releases, research), the number of distinct bylines, and how the post list was discovered. This measures EDITORIAL output volume, not product changelogs: a release feed is detected and rejected rather than counted. Publication dates are read from the post pages, because sitemap lastmod was measured to be a modification date running later than publication by a median of 151 to 1653 days. When a site's date field tracks edits rather than publication, date_source_reliable comes back false and every count is nulled rather than reported wrong, so read that field before quoting a number. Counts are a census when the archive fits the page budget and a scaled even sample otherwise, flagged by counts_are_estimate. Public sitemaps, feeds and pages only. Returns flat, Clay-ready JSON. Reads public data and writes nothing; requires an APIFY_TOKEN and consumes Apify credits per domain analyzed.",
859
881
  annotations: {
860
882
  title: "Track Publication Cadence",
861
- readOnlyHint: true,
883
+ readOnlyHint: false,
862
884
  destructiveHint: false,
863
885
  idempotentHint: true,
864
886
  openWorldHint: true,
@@ -905,8 +927,9 @@ server.registerTool("track_publication_cadence", {
905
927
  .int()
906
928
  .optional()
907
929
  .describe("Per-HTTP-request timeout in milliseconds."),
930
+ max_charge_usd: MAX_CHARGE_USD,
908
931
  },
909
- }, async ({ domain, domains, max_pages_to_date, domain_time_budget_ms, skipCache, page_concurrency, max_sitemap_fetches, request_timeout_ms }) => {
932
+ }, async ({ domain, domains, max_pages_to_date, domain_time_budget_ms, skipCache, page_concurrency, max_sitemap_fetches, request_timeout_ms, max_charge_usd }) => {
910
933
  const hasBatch = Array.isArray(domains) && domains.length > 0;
911
934
  if (!hasBatch && (domain === undefined || domain.trim() === "")) {
912
935
  return {
@@ -923,7 +946,7 @@ server.registerTool("track_publication_cadence", {
923
946
  page_concurrency,
924
947
  max_sitemap_fetches,
925
948
  request_timeout_ms,
926
- }));
949
+ }), max_charge_usd);
927
950
  });
928
951
  // 15. Sequencer Lead Push
929
952
  server.registerTool("push_leads_to_sequencer", {
@@ -977,8 +1000,9 @@ server.registerTool("push_leads_to_sequencer", {
977
1000
  .array(z.string())
978
1001
  .optional()
979
1002
  .describe("Extra column names to pass through as custom variables under their own name. Columns that are neither mapped nor listed here are dropped."),
1003
+ max_charge_usd: MAX_CHARGE_USD,
980
1004
  },
981
- }, async ({ sequencer, api_key, campaign_id, leads, dataset_id, min_icp_score, deduplicate, dry_run, field_mapping, custom_variables }) => {
1005
+ }, async ({ sequencer, api_key, campaign_id, leads, dataset_id, min_icp_score, deduplicate, dry_run, field_mapping, custom_variables, max_charge_usd }) => {
982
1006
  const hasLeads = Array.isArray(leads) && leads.length > 0;
983
1007
  const hasDataset = dataset_id !== undefined && dataset_id !== "";
984
1008
  if (!hasLeads && !hasDataset) {
@@ -998,7 +1022,7 @@ server.registerTool("push_leads_to_sequencer", {
998
1022
  dry_run,
999
1023
  field_mapping,
1000
1024
  custom_variables,
1001
- }));
1025
+ }), max_charge_usd);
1002
1026
  });
1003
1027
  // ---------------------------------------------------------------------------
1004
1028
  // 16 to 20, added 2026-08-12. Five actors that had a standalone wrapper on npm
@@ -1013,7 +1037,7 @@ server.registerTool("audit_agent_accessibility", {
1013
1037
  description: "Give it a domain and it returns whether an AI agent can read that site, and what the site's policy says, as one flat row of 42 fields across five families: the llms.txt family including llms-full.txt and ai.txt, robots.txt AI crawler policy including the newer Content Signal directives, structured data presence and health across JSON-LD, microdata, Open Graph and canonical, render mode, and machine readable endpoint discovery covering sitemap, OpenAPI, well known files and feeds. Every field is a fact read off a fetch. No model is called at any point, so the same domain returns the same row today and next month unless the site actually changed. Twelve requests per domain, typically 2 to 4 seconds. Built for a technical SEO or growth engineer preparing a site for AI crawlers, or an agency selling that work and needing a before and after audit across a client list. Requires an APIFY_TOKEN and consumes Apify credits. Read only.",
1014
1038
  annotations: {
1015
1039
  title: "Audit Agent Accessibility",
1016
- readOnlyHint: true,
1040
+ readOnlyHint: false,
1017
1041
  destructiveHint: false,
1018
1042
  idempotentHint: true,
1019
1043
  openWorldHint: true,
@@ -1024,6 +1048,7 @@ server.registerTool("audit_agent_accessibility", {
1024
1048
  check_structured_data: z.boolean().optional().describe("Parses JSON-LD, microdata, Open Graph and canonical off the homepage. Costs no extra requests. Default: true."),
1025
1049
  skipCache: z.enum(["false", "true"]).optional().describe("Leave as false to use the 7 day cache. Set to true to re-audit the domain from scratch. Default: \"false\"."),
1026
1050
  checks: z.array(z.enum(["llms_txt", "robots_ai", "sitemap", "openapi", "security_txt", "feeds", "json_ld", "microdata", "open_graph", "canonical", "render_mode"])).optional().describe("Run only these checks. Omit for all of them. Narrowing narrows the work, and the score is rescaled over the checks selected."),
1051
+ max_charge_usd: MAX_CHARGE_USD,
1027
1052
  },
1028
1053
  }, async (args) => runActor("anxbRv0lKrpQ1pnua", "Agent Accessibility Auditor", compact(args)));
1029
1054
  // 17. contact classifier
@@ -1032,7 +1057,7 @@ server.registerTool("classify_contact", {
1032
1057
  description: "One contact in, one classified row out. Give it a job title and it returns the department, the seniority level, a seniority_rank from 1 to 12 you can filter with a comparison, and classification_rule, the named rule that fired, so every decision is auditable. The classification is a deterministic rule table: it needs no API key, calls no model, and returns the same answer for the same title every time. Only job_title is required. full_name and company_domain are read only when verify_position is on, which checks whether the person is still listed on their employer's own website and adds roughly 3 seconds and 9 requests per contact. The optional LLM fallback for titles the rules cannot place runs on your own key, set as the LLM_API_KEY secret environment variable on your own copy of the actor, and only the title is ever sent, never the person's name. With no key set those titles come back null rather than failing the row. This actor does not discover people: the name and title come from you. Requires an APIFY_TOKEN and consumes Apify credits. Read only.",
1033
1058
  annotations: {
1034
1059
  title: "Classify Contact",
1035
- readOnlyHint: true,
1060
+ readOnlyHint: false,
1036
1061
  destructiveHint: false,
1037
1062
  idempotentHint: true,
1038
1063
  openWorldHint: true,
@@ -1046,6 +1071,7 @@ server.registerTool("classify_contact", {
1046
1071
  llm_provider: z.enum(["openai", "anthropic", "google"]).optional().describe("Which provider your LLM_API_KEY belongs to. Only read when the LLM fallback is on. Default: \"openai\"."),
1047
1072
  llm_model: z.string().optional().describe("Model id passed straight through to the provider. Only read when the LLM fallback is on. Default: \"gpt-4o-mini\"."),
1048
1073
  skipCache: z.enum(["false", "true"]).optional().describe("Set to true to ignore cached results and classify from scratch. Default: \"false\"."),
1074
+ max_charge_usd: MAX_CHARGE_USD,
1049
1075
  },
1050
1076
  }, async (args) => runActor("0lGSeYJmniXhGANnO", "Contact Classifier", compact(args)));
1051
1077
  // 18. event presence index
@@ -1054,7 +1080,7 @@ server.registerTool("map_company_event_presence", {
1054
1080
  description: "Give it a company domain. It returns the third party conferences and trade shows that company publicly says it attends, with a year for each where one can be resolved, as one flat row. The search runs against the company's own domain, which is what stops a brand collision returning another company's events. The company's own conference is reported separately and is never mixed into the attendance list. It finds events for roughly 2 companies in 10, and an empty row is an honest empty row rather than a guess: read coverage, fetch_status and queries_failed to tell a company with no published events apart from a search that could not see. Events dated outside the years you ask for are still returned and flagged, so filter on event year rather than assuming the input filtered for you. This is not an events database and not an exhibitor list: it takes a company and reports what that company publishes. Requires an APIFY_TOKEN and consumes Apify credits. Read only.",
1055
1081
  annotations: {
1056
1082
  title: "Map Company Event Presence",
1057
- readOnlyHint: true,
1083
+ readOnlyHint: false,
1058
1084
  destructiveHint: false,
1059
1085
  idempotentHint: true,
1060
1086
  openWorldHint: true,
@@ -1066,6 +1092,7 @@ server.registerTool("map_company_event_presence", {
1066
1092
  include_own_events: z.boolean().optional().describe("Reports whether the company runs its own conference as a separate field. It is never mixed into the attendance list. Default: true."),
1067
1093
  max_queries: z.string().optional().describe("Between 1 and 5. Each query costs roughly 0.8 seconds plus a 1.3 second pause. 2 is the measured sweet spot: search engines refuse a third query from the same container almost every time, and the third query added no events the first two did not already find. Sent as a string so it works from Clay. Default: \"2\"."),
1068
1094
  skipCache: z.enum(["false", "true"]).optional().describe("false uses the 21 day result cache. true forces a fresh look. Default: \"false\"."),
1095
+ max_charge_usd: MAX_CHARGE_USD,
1069
1096
  },
1070
1097
  }, async (args) => runActor("WLhMy8fMDgsxdYxv5", "Event Presence Index", compact(args)));
1071
1098
  // 19. legal entity resolver
@@ -1074,7 +1101,7 @@ server.registerTool("resolve_legal_entity", {
1074
1101
  description: "Give it a company domain and it returns the registered legal entity behind it: legal name, company number, jurisdiction, status, entity type, LEI and VAT number, as one flat row with a full audit trail of what was rejected and why. Three registers are queried: UK Companies House, GLEIF and SEC EDGAR. Register search endpoints are fuzzy and always return something, so by default a record is accepted only when the normalized legal names are identical. That is why roughly 6 domains in 10 resolve rather than 10 in 10, and why a null here is a trustworthy answer rather than a gap. Read match_method, match_confidence and rejected_candidates before acting on a match. Setting match_strictness to fuzzy will hand you a confidently wrong company on most domains and should be treated as a research mode, not a default. This is not a company database and not a credit or risk product. Requires an APIFY_TOKEN and consumes Apify credits. Read only.",
1075
1102
  annotations: {
1076
1103
  title: "Resolve Legal Entity",
1077
- readOnlyHint: true,
1104
+ readOnlyHint: false,
1078
1105
  destructiveHint: false,
1079
1106
  idempotentHint: true,
1080
1107
  openWorldHint: true,
@@ -1086,6 +1113,7 @@ server.registerTool("resolve_legal_entity", {
1086
1113
  match_strictness: z.enum(["exact", "fuzzy"]).optional().describe("exact accepts a register record only when the normalized legal names are equal, which is the default and the recommendation. fuzzy returns the best scoring candidate with a confidence below 100 and a warning in rejected_candidates. Register search is fuzzy and always returns something, so fuzzy mode will hand you a confidently wrong company on most domains. Default: \"exact\"."),
1087
1114
  validate_vat: z.boolean().optional().describe("Runs any VAT number found on the company's own pages through the EU VIES service and returns the name VIES holds for it, as a cross-check against the register name. Default: true."),
1088
1115
  skipCache: z.enum(["false", "true"]).optional().describe("false uses the cache: 90 days for a resolved company, 7 days for a null. true forces a fresh look. Default: \"false\"."),
1116
+ max_charge_usd: MAX_CHARGE_USD,
1089
1117
  },
1090
1118
  }, async (args) => runActor("KHFyPCDIx7CyqULYm", "Legal Entity Resolver", compact(args)));
1091
1119
  // 20. public award monitor
@@ -1094,7 +1122,7 @@ server.registerTool("monitor_public_awards", {
1094
1122
  description: "Pick a public award register and a time window and it returns the companies that won public work in it, one flat row per winning company rather than one per award, with award count, total value, largest award, awarding body, award date, a deep link to the source record, and a resolved company domain. Five registers are covered: US federal contracts and US federal grants from USASpending, NIH SBIR and STTR from NIH RePORTER, and UK Contracts Finder and UK Find a Tender. This reports awards that have already been made, so it is not a tender feed and will not tell you what is open to bid on. US federal data lags about two days, so a one day window on a US register returns little or nothing. Winners are sorted by total award value and max_entities is the hard cap on billed rows. Requires an APIFY_TOKEN and consumes Apify credits. Read only.",
1095
1123
  annotations: {
1096
1124
  title: "Monitor Public Awards",
1097
- readOnlyHint: true,
1125
+ readOnlyHint: false,
1098
1126
  destructiveHint: false,
1099
1127
  idempotentHint: true,
1100
1128
  openWorldHint: true,
@@ -1107,6 +1135,7 @@ server.registerTool("monitor_public_awards", {
1107
1135
  exclude_government_recipients: z.boolean().optional().describe("Drops winners that are themselves government, universities, or public authorities. Leave this on for the grant registers or you get state departments of education instead of companies. Default: true."),
1108
1136
  resolve_domains: z.boolean().optional().describe("Looks up each winner's website. Turning it off makes the run roughly 20x faster and returns recipient_domain as null with domain_status not_attempted. Default: true."),
1109
1137
  domain_confidence_floor: z.enum(["strict", "standard", "loose"]).optional().describe("How sure the actor has to be before it gives you a domain. Strict returns fewer domains and almost no wrong ones. Loose returns the most domains and about a third of them are wrong. Default: \"standard\"."),
1138
+ max_charge_usd: MAX_CHARGE_USD,
1110
1139
  },
1111
1140
  }, async (args) => runActor("zhEtllASykOcx9hJ8", "Government Contract Award Monitor", compact(args)));
1112
1141
  // 21. LinkedIn Post Tracker (tool name kept from when it captured commenters), added 2026-08-12 when the
@@ -1118,7 +1147,7 @@ server.registerTool("capture_linkedin_posts_and_commenters", {
1118
1147
  description: "Point it at LinkedIn person profiles or company pages and it returns the posts a search engine has indexed for each one, as flat rows: permalink, author, a text excerpt, and the publish date decoded from the post id. No request is sent to LinkedIn and no cookie or account is used. A result counts only when its permalink names the source, so posts are never attributed to the wrong author. Coverage is what the search index holds: posts appear days or weeks after publishing and many never appear. Commenters, reaction counts, comment counts and media are no longer returned (removed 2026-10-12, they came only from LinkedIn pages). Rows carry row_type post or notice; filter on row_type before loading a table. post_id is the activity URN and is stable across runs. Every row carries degraded and degradation_reason. Requires an APIFY_TOKEN and consumes Apify credits. Read only.",
1119
1148
  annotations: {
1120
1149
  title: "Capture LinkedIn Posts and Commenters",
1121
- readOnlyHint: true,
1150
+ readOnlyHint: false,
1122
1151
  destructiveHint: false,
1123
1152
  idempotentHint: true,
1124
1153
  openWorldHint: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mambalabsdev/mcp-gtm-suite",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "MCP server for the Mamba Labs GTM Suite. One server exposing twenty one account-intelligence actors on Apify as tools: identity, firmographics, social presence, hiring, tech stack, job boards, funding, change feed, LinkedIn, signals, ICP scoring, and more.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,11 +38,11 @@
38
38
  "node": ">=18"
39
39
  },
40
40
  "dependencies": {
41
- "@modelcontextprotocol/sdk": "^1.31.0",
41
+ "@modelcontextprotocol/sdk": "^1.32.1",
42
42
  "zod": "3.25.76"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "^26.6.4",
45
+ "@types/node": "^26.6.5",
46
46
  "typescript": "5.9.3"
47
47
  },
48
48
  "mcpName": "com.mambabuilt/mcp-gtm-suite"