Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

get_passengers_by_fullname

Retrieve passenger information from the LumbreTravel MCP Server by searching with a full name. This tool helps find specific passengers in travel management systems.

Instructions

Obtiene pasajeros por nombre completo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullnameYesNombre completo del pasajero

Implementation Reference

  • Handler logic in callTool method that extracts fullname argument, calls ApiService.getPassengersByFullname, and returns JSON stringified response.
    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 schema definition in listTools method, including name, description, and input schema requiring 'fullname' string.
    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 method in ApiService that performs authenticated POST request to backend API endpoint for fetching 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