notifyme-csm-mcp 1.0.1 → 1.0.3
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/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79,7 +79,7 @@ const TOOLS = [
|
|
|
79
79
|
// ── Companies ────────────────────────────────────────────────────────────
|
|
80
80
|
{
|
|
81
81
|
name: "list_companies",
|
|
82
|
-
description: "Browse or filter all companies in the CSM. Supports filtering by type, stage, priority, and
|
|
82
|
+
description: "Browse or filter all companies in the CSM. Supports filtering by type, stage, priority, tag, and whether any outreach has occurred. Use search_companies for name/domain lookups.",
|
|
83
83
|
inputSchema: {
|
|
84
84
|
type: "object",
|
|
85
85
|
properties: {
|
|
@@ -91,6 +91,7 @@ const TOOLS = [
|
|
|
91
91
|
stage: { type: "string", description: "Filter by state/stage (optional, e.g. 'active', 'churned')" },
|
|
92
92
|
priority: { type: "string", enum: ["p1", "p2", "p3"], description: "Filter by priority tier (optional)" },
|
|
93
93
|
tag: { type: "string", description: "Filter by a single tag label (optional, e.g. 'websummit')" },
|
|
94
|
+
no_outreach: { type: "boolean", description: "If true, only return companies with zero emails, notes, or meetings logged — i.e. never contacted" },
|
|
94
95
|
limit: { type: "number", description: "Max results (default 25, max 100)" },
|
|
95
96
|
},
|
|
96
97
|
required: [],
|
|
@@ -382,7 +383,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
382
383
|
switch (name) {
|
|
383
384
|
// ── Companies ──────────────────────────────────────────────────────────
|
|
384
385
|
case "list_companies": {
|
|
385
|
-
const { type, stage, priority, tag, limit } = args;
|
|
386
|
+
const { type, stage, priority, tag, no_outreach, limit } = args;
|
|
386
387
|
const params = new URLSearchParams();
|
|
387
388
|
if (type)
|
|
388
389
|
params.set("type", type);
|
|
@@ -392,6 +393,8 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
392
393
|
params.set("priority", priority);
|
|
393
394
|
if (tag)
|
|
394
395
|
params.set("tag", tag);
|
|
396
|
+
if (no_outreach)
|
|
397
|
+
params.set("no_outreach", "true");
|
|
395
398
|
if (limit)
|
|
396
399
|
params.set("limit", String(limit));
|
|
397
400
|
data = await api("GET", `/companies?${params}`);
|