Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

get_passengers_by_email

Retrieve passenger information from the LumbreTravel MCP Server by searching with an email address to manage travel program data.

Instructions

Obtiene pasajeros por email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesEmail del pasajero

Implementation Reference

  • Registers the MCP tool 'get_passengers_by_email' including its name, description, and input schema in the listTools() response.
    name: 'get_passengers_by_email', description: 'Obtiene pasajeros por email', inputSchema: { type: 'object', properties: { email: { type: 'string', description: 'Email del pasajero' } }, required: ['email'] } },
  • Input schema definition for the 'get_passengers_by_email' tool, requiring an 'email' string parameter.
    inputSchema: { type: 'object', properties: { email: { type: 'string', description: 'Email del pasajero' } }, required: ['email'] }
  • MCP tool handler implementation in callTool method: extracts email from args, calls ApiService.getPassengersByEmail, and returns JSON-formatted passengers.
    case 'get_passengers_by_email': { const { email } = args as { email: string } const passengers = await this.apiService.getPassengersByEmail(email) return { content: [{ type: 'text', text: JSON.stringify(passengers, null, 2) }] } }
  • Helper service method that performs authenticated POST request to backend API endpoint /integrations/mcp/passengers/get_passengers_by_email with the email.
    async getPassengersByEmail (email: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/passengers/get_passengers_by_email`, { method: 'POST', headers: { ...headers, 'Content-Type': 'application/json' }, body: JSON.stringify({ email }) }) return await this.handleResponse<any>(response) }

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/lumile/lumbretravel-mcp'

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