@agifyai/leadify-mcp 5.0.0 → 5.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/dist/tools/dataroom.js +10 -7
- package/package.json +1 -1
package/dist/tools/dataroom.js
CHANGED
|
@@ -277,15 +277,16 @@ export function registerDataRoomTools(server) {
|
|
|
277
277
|
});
|
|
278
278
|
// ── get_outreach_context ──────────────────────────────────────────────
|
|
279
279
|
server.tool("get_outreach_context", "Get a curated outreach context for a lead group: the outreach-relevant slice " +
|
|
280
|
-
"of companyInfo (identity, pitch, constraints, curated products, economics " +
|
|
281
|
-
"triggers/baseline, product ICP roles, proof wording)
|
|
282
|
-
"settings block (positioning, sequence design, rules, URLs, case studies, " +
|
|
283
|
-
"ICP strategy, pain points, lookalike clients, outreach templates, tone, " +
|
|
284
|
-
"messaging guidelines, signal routing, sender override). " +
|
|
280
|
+
"of companyInfo only (identity, pitch, constraints, curated products, economics " +
|
|
281
|
+
"triggers/baseline, product ICP roles, proof wording). " +
|
|
285
282
|
"Takes a lead_group_id (NOT organization_id) — the org is resolved server-side, " +
|
|
286
283
|
"eliminating the cross-org footgun of get_data_room. " +
|
|
287
284
|
"Returns a HARD error if no persona is linked to the group. " +
|
|
288
|
-
"
|
|
285
|
+
"NOTE: the `outreach` settings block is NOT returned by this tool — " +
|
|
286
|
+
"outreach configuration (positioning, tone, rules, templates, etc.) is " +
|
|
287
|
+
"managed exclusively via the Fine Tuning tools (append_fine_tuning / " +
|
|
288
|
+
"set_fine_tuning / get_fine_tuning). " +
|
|
289
|
+
"Use this instead of get_data_room + get_lead_group_persona in the outreach " +
|
|
289
290
|
"pipeline Phase 0.", {
|
|
290
291
|
lead_group_id: z.string().describe("ID of the lead group to resolve context for."),
|
|
291
292
|
}, async ({ lead_group_id }) => {
|
|
@@ -293,7 +294,9 @@ export function registerDataRoomTools(server) {
|
|
|
293
294
|
const params = new URLSearchParams();
|
|
294
295
|
params.set("lead_group_id", lead_group_id);
|
|
295
296
|
const data = await getClient().get("/api/outreach-context", params);
|
|
296
|
-
|
|
297
|
+
// Strip the `outreach` block — outreach config is managed via Fine Tuning only.
|
|
298
|
+
const { outreach, ...rest } = data;
|
|
299
|
+
return toolResult(rest);
|
|
297
300
|
}
|
|
298
301
|
catch (error) {
|
|
299
302
|
return handleToolError(error);
|