Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_vehicle

Reactivate a previously deactivated vehicle in the LumbreTravel system by providing its ID to restore availability for travel programs.

Instructions

Reactivar un vehículo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del vehículo a reactivar

Implementation Reference

  • Tool registration and schema definition in listTools() method. Defines name 'reactivate_vehicle', description, and input schema requiring 'id'.
    { name: 'reactivate_vehicle', description: 'Reactivar un vehículo.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del vehículo a reactivar' } }, required: ['id'] }
  • Handler implementation in callTool() switch statement. Extracts id from args, calls apiService.reactivateVehicle(id), and returns JSON response.
    case 'reactivate_vehicle': { const { id } = args as { id: string } const vehicle = await this.apiService.reactivateVehicle(id) return { content: [{ type: 'text', text: JSON.stringify(vehicle, null, 2) }] } }
  • Core helper method in ApiService that performs the HTTP PUT request to reactivate vehicle by id.
    async reactivateVehicle (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/vehicle/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