Skip to main content
Glama
test_amadeus.py770 B
import pytest from agent.tools import amadeus from agent.services.amadeus import Passengers @pytest.mark.skip("Disabled to reduce API usage.") def test_list_airline_destinations(): result = amadeus.list_airline_destinations("LX") assert len(result.root) > 0 @pytest.mark.skip("Disabled to reduce API usage.") def test_list_direct_destinations(): result = amadeus.list_direct_destinations("ZRH") assert len(result.root) > 0 @pytest.mark.skip("Disabled to reduce API usage.") def test_list_cheapest_flights(): response = amadeus.list_cheapest_flights_for_journey( origin="ZRH", destination="MAD", date="2025-10-04", passengers=Passengers(adults=2), non_stop=True, ) assert len(response.root) > 0

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/EEGRCENEM/amadeus-agent'

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