Skip to main content
Glama

Automate Your Daily Routine with Glama AI Automation feature: A Step-by-Step Tutorial

Written by on .

mcp
automation
real-time-updates
discord bot

  1. Step-by-Step Tutorial
    1. 1. Set Up Your Discord Bot
      1. 2. Finding the Right MCP Server
        1. 3. Navigating to the Automations Tab
          1. 4. Configuring Your Automation
          2. Use Cases of the Automation
            1. Behind-the-Scenes Workflow
              1. Conclusion
                1. References

                  Weather impacts nearly every aspect of our lives from what we wear and when we go out to how we maintain our homes and ensure our safety. Constantly checking the weather and deciding what actions to take can be exhausting and sometimes unreliable. Glama’s AI Automation feature addresses this issue by delivering real-time weather updates and practical tips directly to your Discord server via a bot. Whether you need to know if you should carry an umbrella, water your plants, or avoid traffic due to rain, the bot provides actionable advice to help you plan your day effortlessly and stay safe.

                  Step-by-Step Tutorial

                  Here’s how to set up your own automation:

                  1. Set Up Your Discord Bot

                  First, create a bot in Discord’s Developer Portal and invite it to your server with the necessary permissions to send messages.
                  Follow the provided tutorial1 to create a Discord server, use the Discord webhook URL for the notify_me_mcp server, and add the URL accordingly.

                  2. Finding the Right MCP Server

                  a) Deploy the Notify_me_mcp Server by thesammykins2
                  Notify_me_mcp Server

                  b) Deploy the Weather MCP Server by isdaniel3
                  Weather MCP Server

                  Click Deploy Server. A dialog box will appear; simply click Deploy.
                  Your MCP Servers page should now look like this4:
                  Image

                  3. Navigating to the Automations Tab

                  Go to the Automations tab in your Glama window5.
                  Click New Automation and assign it a title.
                  Image

                  Your automation page will open, where you’ll need to fill in the System Prompt and Trigger Message.
                  Image

                  4. Configuring Your Automation

                  In this step, you’ll set up the System Prompt, Trigger Message, and schedule to ensure your Discord bot delivers timely, personalized weather updates tailored to your needs.

                  Copy and paste the following System Prompt:

                  You are an expert personal weather assistant powered by automation via MCP servers. Always use your tools to provide structured, practical, and actionable weather advice. Never respond in plain text without using tools. Follow this process for every request: Call the @Weather MCP Server tool to fetch current weather data for the user’s specified location. Analyze the data and create a structured report with these sections using Markdown for bold titles: Weather Summary – One-sentence overview of the day's conditions. Outfit & Commute • Suggest appropriate clothing based on temperature. • If rain chance >40%, advise carrying an umbrella and recommend car/cab over bike. Outdoor Activities – Recommend whether outdoor activities are suitable. Laundry Alert – Provide a clear “Yes” or “No” on leaving laundry outside based on rain chance. Alerts & Warnings – If rain chance >75% or wind speed is high, issue a Heavy Weather Warning. Call the @notify_me_mcp tool to send the complete, formatted report as one message. Always ensure the report is concise, accurate, and actionable.

                  Your setup should look like this (ensure you use the correct MCP Servers with the "@" sign):
                  Image

                  Copy and paste the following Trigger Message:

                  Provide the detailed weather forecast and practical advice for New York today.

                  Next, set the time you want to receive this message daily:
                  Image

                  Click Save, then Trigger Automation.

                  And DONE! Your automation is complete. Each morning at your chosen time, open Discord to view the automated weather guide powered by your MCP server automation feature.

                  Image

                  Use Cases of the Automation

                  The Weather MCP and Notify Me MCP servers offer numerous benefits, including:

                  • Personal Planning
                    Receive suggestions for clothing, optimal times to go out, or whether to carry an umbrella before leaving.

                  • Home Care
                    Get reminders to water plants or bring laundry indoors when rain is expected.

                  • Travel & Traffic
                    Alerts about heavy rain or storms help you avoid congested routes and plan safer trips.

                  • Safety
                    Stay informed with early warnings about heatwaves or storms to take necessary precautions.

                  • Work-Life Balance
                    Automated updates eliminate the need to check the weather repeatedly, allowing you to focus on tasks without worrying about weather changes.

                  Behind-the-Scenes Workflow

                  Here’s how it works in the background:

                  1. Weather Data Fetching
                    The bot connects to trusted weather services via the Weather MCP Server to retrieve accurate, up-to-date forecasts.

                  2. Personalized Recommendations
                    Using the Notify Me MCP, the bot interprets forecast data and provides relevant suggestions based on your settings and preferences.

                  3. Seamless Integration
                    Everything operates within Discord. The bot processes data in real time and sends tailored messages without requiring additional apps or tools.

                  4. Automation Rules
                    The system uses predefined rules combined with AI logic to determine what messages to send and when, ensuring adaptability across various scenarios.

                  Behind The Scenes

                  Conclusion

                  Glama’s AI Automation feature, powered by the Weather MCP and Notify Me MCP servers, makes staying prepared for daily weather changes effortless. It eliminates the hassle of manually checking forecasts and guessing what actions to take. By delivering real-time alerts and practical advice directly to your Discord server, this solution enables smarter decision-making, saves time, and keeps your home and activities safe. Whether you’re planning your day, managing household tasks, or avoiding bad weather, this automation tool is a simple yet powerful way to stay one step ahead.

                  Let Automation handle the weather, so you can focus on what matters most.

                  References

                  Footnotes

                  1. Build With Discord

                  2. Notify Me MCP Server

                  3. Weather MCP Server by isdaniel

                  4. MCP Servers Page

                  5. Glama's Automation Page

                  Written by Om-Shree-0709 (@Om-Shree-0709)