Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_passenger

Reactivate a passenger account using the passenger's ID with the LumbreTravel MCP Server tool. Restore access to travel programs and activities efficiently.

Instructions

Reactiva un pasajero teniendo en cuenta que se conoce su ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • MCP tool handler implementation for 'reactivate_passenger'. Extracts passenger ID from arguments, calls ApiService.reactivatePassenger, and formats the response as MCP content.
    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) }] } }
  • Tool schema definition including name, description, and input schema requiring a string 'id'.
    name: 'reactivate_passenger', description: 'Reactiva un pasajero teniendo en cuenta que se conoce su ID', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] } },
  • Registration of the 'reactivate_passenger' tool 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'] } },
  • Helper service method that performs the actual HTTP PUT request to reactivate a passenger by ID via the LumbreTravel API.
    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