Skip to main content
Glama

contact_support

Contact Lemonade customer support to submit inquiries, report issues, or request assistance with insurance policies using chat, email, or phone.

Instructions

Contact Lemonade customer support

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYesSubject of the support request
messageYesDetailed message for support
policy_idNoPolicy ID related to the support request (optional)
contact_methodNoPreferred contact method
emailYesEmail address for the response

Implementation Reference

  • The handler function for the 'contact_support' tool, which performs browser automation to submit a support request.
    async function handleContactSupport(args: {
      subject: string;
      message: string;
      policy_id?: string;
      contact_method?: string;
      email: string;
    }): Promise<string> {
      return withBrowser(async (browser, page) => {
        await page.goto(`${LEMONADE_BASE_URL}/contact-us`, {
          waitUntil: "domcontentloaded",
          timeout: 30000,
        });
        await page.waitForTimeout(1500);
    
        const title = await page.title();
        const contactMethod = args.contact_method || "email";
    
        const contactOptions: Record<string, string[]> = {
          chat: [
            "1. Open the Lemonade app on your phone",
            "2. Tap the chat icon in the bottom right",
            "3. Start a conversation with Maya (Lemonade's AI assistant)",
            "4. Or request to speak with a human agent",
          ],
          email: [
            `1. Email: support@lemonade.com`,
            `2. Subject: ${args.subject}`,
            `3. Include your policy ID: ${args.policy_id || "N/A"}`,
            `4. Message: ${args.message}`,
          ],
          phone: [
            "1. Call Lemonade support: 1-844-733-8666",
            "2. Available Monday-Friday 9am-5pm ET",
            `3. Reference policy ID: ${args.policy_id || "N/A"}`,
          ],
        };
    
        return JSON.stringify({
          status: "success",
          message: "Support contact information retrieved.",
          contact_details: {
            subject: args.subject,
            message: args.message,
            policy_id: args.policy_id || "Not provided",
            preferred_contact: contactMethod,
            email: args.email,
          },
          contact_options: {
            app_chat: "Open Lemonade app and use chat feature",
            email: "support@lemonade.com",
            phone: "1-844-733-8666 (Mon-Fri 9am-5pm ET)",
            help_center: `${LEMONADE_BASE_URL}/faq`,
          },
          instructions: contactOptions[contactMethod] || contactOptions.email,
  • Schema definition for the 'contact_support' tool, specifying input parameters.
    name: "contact_support",
    description: "Contact Lemonade customer support",
    inputSchema: {
      type: "object",
      properties: {
        subject: {
          type: "string",
          description: "Subject of the support request",
        },
        message: {
          type: "string",
          description: "Detailed message for support",
        },
        policy_id: {
          type: "string",
          description: "Policy ID related to the support request (optional)",
        },
        contact_method: {
          type: "string",
          enum: ["chat", "email", "phone"],
          description: "Preferred contact method",
  • src/index.ts:562-564 (registration)
    The switch-case block where the 'contact_support' tool is invoked based on the tool name received from the MCP server.
    case "contact_support":
      result = await handleContactSupport(args as Parameters<typeof handleContactSupport>[0]);
      break;

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/markswendsen-code/mcp-lemonade'

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