Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

open_automation_editor

Edit email automation workflows in SendGrid by opening the automation editor for a specific automation ID to modify sequences and triggers.

Instructions

Open automation editor for a specific automation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
automation_idYesThe automation ID to edit

Implementation Reference

  • Executes the tool by generating a URL to the SendGrid automation editor for the given automation_id and returning it as a text message.
    handler: async ({ automation_id }: { automation_id: string }): Promise<ToolResult> => {
      return {
        content: [
          {
            type: "text",
            text: `Please open this URL in your browser to edit automation ${automation_id}:\nhttps://mc.sendgrid.com/automations/${automation_id}/detail`,
          },
        ],
      };
    },
  • Defines the input schema using Zod, requiring a string 'automation_id'.
    inputSchema: {
      automation_id: z.string().describe("The automation ID to edit"),
    },
  • Registers the 'open_automation_editor' tool as part of the automationTools object, which is later spread into allTools and registered to the MCP server.
    open_automation_editor: {
      config: {
        title: "Open Automation Editor",
        description: "Open automation editor for a specific automation",
        inputSchema: {
          automation_id: z.string().describe("The automation ID to edit"),
        },
      },
      handler: async ({ automation_id }: { automation_id: string }): Promise<ToolResult> => {
        return {
          content: [
            {
              type: "text",
              text: `Please open this URL in your browser to edit automation ${automation_id}:\nhttps://mc.sendgrid.com/automations/${automation_id}/detail`,
            },
          ],
        };
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deyikong/sendgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server