open_segment_creator
Launch the SendGrid segment creator interface to define and manage targeted email recipient groups for precise marketing campaigns.
Instructions
Open SendGrid segment creator in browser
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/contacts.ts:103-112 (handler)The handler function for the 'open_segment_creator' tool. It returns a static text message instructing the user to open the SendGrid web interface for creating new segments.handler: async (): Promise<ToolResult> => { return { content: [ { type: "text", text: "Please open this URL in your browser to create a new segment:\nhttps://mc.sendgrid.com/contacts/segments/create", }, ], }; },
- src/tools/contacts.ts:99-102 (schema)The configuration schema for the 'open_segment_creator' tool, defining its title and description. No input parameters are required.config: { title: "Open Segment Creator", description: "Open SendGrid segment creator in browser", },
- src/index.ts:21-23 (registration)Registration of all tools, including 'open_segment_creator', to the MCP server via a loop over allTools.for (const [name, tool] of Object.entries(allTools)) { server.registerTool(name, tool.config as any, tool.handler as any); }