get_cold_email_template
Retrieve a cold email template for outbound sales, selecting from pattern interrupt, observation, mutual connection, case study, or breakup scenarios.
Instructions
Get a cold email template for outbound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_type | Yes | The type of cold email template |
Implementation Reference
- src/main.ts:748-761 (schema)Input schema and tool registration metadata for 'get_cold_email_template'. Defines template_type enum: pattern_interrupt, observation, mutual_connection, case_study, breakup.
name: "get_cold_email_template", description: "Get a cold email template for outbound.", inputSchema: { type: "object", properties: { template_type: { type: "string", enum: ["pattern_interrupt", "observation", "mutual_connection", "case_study", "breakup"], description: "The type of cold email template" } }, required: ["template_type"] } }, - src/main.ts:748-761 (registration)Tool registration within ListToolsRequestSchema handler. Declares 'get_cold_email_template' as an available tool with its description and input schema.
name: "get_cold_email_template", description: "Get a cold email template for outbound.", inputSchema: { type: "object", properties: { template_type: { type: "string", enum: ["pattern_interrupt", "observation", "mutual_connection", "case_study", "breakup"], description: "The type of cold email template" } }, required: ["template_type"] } }, - src/main.ts:907-925 (handler)The handler logic for 'get_cold_email_template' in the CallToolRequestSchema switch statement. Extracts template_type arg, looks up COLD_EMAIL_TEMPLATES, and returns the template with rules.
case "get_cold_email_template": { const templateType = args?.template_type as string; const template = COLD_EMAIL_TEMPLATES[templateType as keyof typeof COLD_EMAIL_TEMPLATES]; return { content: [{ type: "text", text: JSON.stringify({ module: "Cold Email Templates", rules: [ "Keep subject lines under 5 words", "First line should be about THEM, not you", "End with a clear, easy-to-answer question", "Under 100 words total" ], template: template }, null, 2) }] }; } - src/main.ts:505-576 (helper)COLD_EMAIL_TEMPLATES constant — the data source containing all 5 cold email templates (pattern_interrupt, observation, mutual_connection, case_study, breakup) with name, subject, body, and psychology.
const COLD_EMAIL_TEMPLATES = { pattern_interrupt: { name: "Pattern Interrupt", subject: "Quick question", body: `Hi [Name], Not sure if this is relevant for you, but I help [type of company] with [specific outcome]. Is that something you're actively working on, or is this a 'not right now' situation? Either answer is fine — just don't want to waste your time. [Your name]`, psychology: "Permission-based. Respects their time. Easy to respond to." }, observation: { name: "Observation-Based", subject: "[Something specific you noticed]", body: `Hi [Name], I noticed [specific observation about their company/product/content]. [One sentence about why that matters or what it made you think] I help companies like yours with [outcome]. Worth a quick chat? [Your name]`, psychology: "Shows you did research. Personalization = higher response rate." }, mutual_connection: { name: "Mutual Connection", subject: "[Mutual connection] suggested I reach out", body: `Hi [Name], [Mutual connection] mentioned you might be interested in [topic/outcome]. I've helped [similar company] achieve [specific result]. Not sure if it's relevant for [their company], but figured it was worth a quick note. Open to a brief call? [Your name]`, psychology: "Social proof from someone they trust." }, case_study: { name: "Case Study Lead", subject: "How [similar company] achieved [result]", body: `Hi [Name], Just wrapped up a project with [similar company] — helped them [specific result]. Given what [their company] is doing with [specific thing], thought there might be a parallel. Worth a quick call to see if it's relevant? [Your name]`, psychology: "Leads with proof, makes them curious about the result." }, breakup: { name: "Breakup Email", subject: "Closing the loop", body: `Hi [Name], I've reached out a few times about [topic] — haven't heard back, so I'll assume the timing isn't right. If [problem you solve] becomes a priority later, feel free to reach out. I'll be here. Good luck with [something specific to them]. [Your name]`, psychology: "Respectful exit. Often triggers a response from people who meant to reply." } };