Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_passenger

Reactivate a passenger account using their ID to restore access to travel programs and activities in the LumbreTravel system.

Instructions

Reactiva un pasajero teniendo en cuenta que se conoce su ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • Registration of the 'reactivate_passenger' tool including its name, description, and input schema in the listTools method.
    { name: 'reactivate_passenger', description: 'Reactiva un pasajero teniendo en cuenta que se conoce su ID', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] } },
  • Handler execution for 'reactivate_passenger' tool: extracts id from args, calls apiService.reactivatePassenger, and returns JSON response.
    case 'reactivate_passenger': { const { id } = args as { id: string } const reactivatedPassenger = await this.apiService.reactivatePassenger(id) return { content: [{ type: 'text', text: JSON.stringify(reactivatedPassenger, null, 2) }] } }
  • Helper function in ApiService that sends PUT request to backend API to reactivate the passenger by ID.
    async reactivatePassenger (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/passengers/reactivate`, { method: 'PUT', headers, body: JSON.stringify({ id }) }) 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