Skip to main content
Glama

Flight Simulator MCP Server

by jabir366
templates.cpython-312.pyc8.95 kB
� �gh1���dZddlmZddlmZmZddlmZej�de de de fd��Z ej�d ee d e de fd ��Z ej�d e d ee de fd��Zej� ddee dee de fd��Zej�de de de fd��Zej�de fd��Zy)z> AI prompt templates for enhanced flight booking interactions �)�FastMCP)�List�Optional)�mcp�flight_search_criteria�passenger_count�returnc ��K�d|�d|jd��d|jd��d|jd��d|jd d ��d � S�w) a  Guide through the entire booking process step by step. Args: flight_search_criteria: Dictionary with origin, destination, dates passenger_count: Number of passengers Returns: Structured guidance for booking completion z/I'll help you complete your flight booking for z8 passenger(s). Based on your search criteria: - Route: �origin� → � destinationz - Departure: �departure_datez - Return: � return_datez One-way tripa� Here's what we'll do: 1. Search for the best flights matching your criteria 2. Compare options based on price, schedule, and amenities 3. Select your preferred flights 4. Enter passenger information 5. Choose seats (optional) 6. Add any extras (baggage, meals, insurance) 7. Complete payment 8. Receive confirmation and boarding passes Let me start by searching for available flights...)�get)rrs �-/root/flight-sim-mcp/src/prompts/templates.py�complete_bookingr s}����?��>O�P � !� $� $�X� .� /�u�5K�5O�5O�P]�5^�4_�`�$�(�(�)9�:� ;�< � !� %� %�m�^� D� E� F3�  6�6�s�AA�cities� date_rangec��K�dj|�}d|�d|jd��d|jd��d�S�w)z� Plan a multi-city trip with optimal connections. Args: cities: List of cities to visit date_range: Start and end dates for the trip Returns: Multi-city itinerary planning assistance r z2I'll help you plan your multi-city trip visiting: z Trip dates: �startz to �enda� To create the optimal itinerary, I'll consider: 1. Most efficient routing between cities 2. Minimum connection times 3. Cost optimization 4. Time in each destination 5. Alternative airports if beneficial Planning approach: - Check direct flights vs connections - Compare open-jaw vs round-trip options - Consider nearby airports for better deals - Optimize layover times - Account for time zones Let me analyze the best routing options for your trip...)�joinr)rr� cities_strs r� trip_planningr/sR�������f�%�J�A�*��N � �^�^�G� $� %�T�*�.�.��*?�)@�A9� <�<�s�<>� member_status�upcoming_tripsc��K�d|�d�S�w)z� Maximize loyalty program benefits and point earnings. Args: member_status: Current loyalty tier upcoming_trips: List of planned trips Returns: Strategy for maximizing loyalty benefits zAs a a� member, let me help you maximize your loyalty benefits. I'll analyze your upcoming trips to: 1. Maximize mile earnings 2. Utilize status benefits 3. Identify upgrade opportunities 4. Plan for tier qualification 5. Use companion certificates or free flights Optimization strategies: - Book fare classes that earn bonus miles - Route through hubs for better upgrade chances - Use partner airlines for additional earnings - Time bookings for promotions - Combine cash and miles for best value Based on your status, you have access to: - Priority services - Potential complimentary upgrades - Lounge access on certain routes - Bonus mile earnings Let me review your trips and suggest optimizations...�)rrs r�loyalty_optimizationrTs�����]�O�$6� 9�9�s� N�assistance_needed�special_requirementsc��RK�dj|�}d|�d|rd|���d�Sd�d�S�w)z� Handle bookings with accessibility requirements. Args: assistance_needed: Types of assistance required special_requirements: Additional special needs Returns: Accessible travel planning guidance z, zMI'll ensure your travel needs are fully accommodated. Assistance requested: � zSpecial requirements: �a� Here's how I'll help: 1. Find flights with appropriate equipment 2. Arrange all necessary assistance 3. Select suitable seating 4. Coordinate with airline accessibility teams 5. Ensure smooth connections Services available: - Wheelchair assistance (curb to gate) - Priority boarding - Assistance animals accommodation - Medical equipment handling - Accessible seating assignments - Personal safety briefings Important notes: - Arrive 3 hours early for smooth processing - Bring documentation for service animals - Medical equipment flies free - Accessibility services are complimentary Let me search for flights and arrange your assistance...)r)r r!�assistance_strs r�accessibility_bookingr&|sc�����Y�Y�0�1�N��%�&�'�4H��.�/�0�Q�R9� <�<�OQ�Q�R9� <�<�s�%'� group_size�travel_purposec ��vK�ddddd�}|j|j�d�}d|�d|�d |�d |�d � S�w) z� Coordinate group bookings with special group benefits. Args: group_size: Number of travelers travel_purpose: Purpose of group travel Returns: Group booking coordination assistance zL- Professional catering options - Meeting room vouchers - Flexible rebookingzB- Group activities booking - Hotel partnerships - Tour connectionszD- Equipment handling - Team seating arrangements - Meal coordinationz?- Student discounts - Chaperone seating - Educational materials)�business�leisure�sports� educationalz- Customized group servicesz.I'll help coordinate travel for your group of z travelers. Travel purpose: a� Group booking benefits: - Volume discounts (5-10% for groups 5+) - Flexible name changes - Seat blocking to sit together - Dedicated support line - Payment flexibility Process: 1. Search for flights with sufficient availability 2. Block seats at group rate 3. Collect passenger information 4. Assign seats together 5. Coordinate special requests 6. Manage payment and changes Special considerations for z: z0 Let me find the best options for your group...)r�lower)r'r(�considerations_map�special_considerationss r�handle_group_travelr1�sv���� e�Y�Z�Z� �� 0�3�3�N�4H�4H�4J�Li�j��=�j�\�J�� �!�"+�+�,���/�) 2�2�s�79c�� K�y�w)z� General intelligent booking assistant introduction. Returns: Welcome message and capabilities overview u0Welcome to your AI-powered flight booking assistant! I can help you with: ✈️ **Flight Search & Booking** - Find the best flights for your needs - Compare prices and schedules - Book for individuals or groups - Handle complex multi-city itineraries 🎫 **Booking Management** - Check-in online - Select or change seats - Add baggage and services - Modify or cancel bookings 📊 **Real-Time Information** - Track flight status - Gate and terminal info - Weather impacts - Delay notifications 💳 **Loyalty & Upgrades** - Maximize rewards earnings - Check upgrade availability - Use miles effectively - Status benefits 🛡️ **Travel Protection** - Insurance options - Cancellation policies - Disruption assistance - Special needs support Just tell me what you need, and I'll guide you through the process! Example requests: - "Find me a flight from SFO to JFK next Friday" - "I need to check in for flight UA123" - "Track my flight status" - "I want to upgrade to business class" - "Help me plan a trip to visit NYC, BOS, and DC" How can I assist you today?rr�r�smart_booking_assistantr4�s ����* �s�)N)�__doc__�fastmcpr�typingrr�serverr�prompt�dict�int�strrrrr&r1r4rr3r�<module>r=sb����!�� �����6� �6��6� �6��6�D �����!<� ��I�!<��!<� �!<��!<�H �����$9��$9���J�$9� �$9��$9�N �����+/�)<��C�y�)<�"�3�-�)<� �)<��)<�X �����,2��,2��,2� �,2��,2�^ �����1�s�1��1r3

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/jabir366/MCPFligh'

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