Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_service

Reactivate suspended travel services by providing the service ID to restore access to travel programs and activities.

Instructions

Reactivar un servicio

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del servicio a reactivar

Implementation Reference

  • MCP tool handler implementation for 'reactivate_service'. Extracts 'id' from arguments, calls apiService.reactivateService(id), and returns the JSON stringified result.
    case 'reactivate_service': { const { id } = args as { id: string } const service = await this.apiService.reactivateService(id) return { content: [{ type: 'text', text: JSON.stringify(service, null, 2) }] } }
  • Registration of the 'reactivate_service' tool in the listTools() method, including name, description, and input schema.
    { name: 'reactivate_service', description: 'Reactivar un servicio', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del servicio a reactivar' } }, required: ['id'] } },
  • Helper method in ApiService that sends a PUT request to the backend API endpoint to reactivate a service by ID.
    async reactivateService (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/service/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