Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

get_passengers_by_fullname

Retrieve passenger details by providing their full name using the LumbreTravel MCP Server. Simplify travel program management with precise data access.

Instructions

Obtiene pasajeros por nombre completo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullnameYesNombre completo del pasajero

Implementation Reference

  • The MCP tool handler implementation that extracts the fullname argument, calls the ApiService method, and returns the passengers as JSON text content.
    case 'get_passengers_by_fullname': { const { fullname } = args as { fullname: string } const passengers = await this.apiService.getPassengersByFullname(fullname) return { content: [{ type: 'text', text: JSON.stringify(passengers, null, 2) }] }
  • Tool definition including name, description, and input schema for validation, returned by listTools() method.
    name: 'get_passengers_by_fullname', description: 'Obtiene pasajeros por nombre completo', inputSchema: { type: 'object', properties: { fullname: { type: 'string', description: 'Nombre completo del pasajero' } }, required: ['fullname'] }
  • Helper service method in ApiService that makes authenticated POST request to the backend API endpoint to fetch passengers by fullname.
    async getPassengersByFullname (fullname: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/passengers/get_passengers_by_fullname`, { method: 'POST', headers: { ...headers, 'Content-Type': 'application/json' }, body: JSON.stringify({ fullname }) }) 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