Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_service_language

Reactivate a previously disabled service language in the LumbreTravel system to restore its availability for travel programs and activities.

Instructions

Reactivar un idioma de servicio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del idioma de servicio a reactivar

Implementation Reference

  • MCP tool handler implementation in callTool switch case. Extracts 'id' from args, calls apiService.reactivateServiceLanguage(id), and returns JSON response.
    case 'reactivate_service_language': { const { id } = args const serviceLanguage = await this.apiService.reactivateServiceLanguage(id) return { content: [{ type: 'text', text: JSON.stringify(serviceLanguage, null, 2) }] } }
  • Tool schema definition including name, description, and input schema requiring 'id' string.
    { name: 'reactivate_service_language', description: 'Reactivar un idioma de servicio.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del idioma de servicio a reactivar' } }, required: ['id'] } },
  • Tool registration within the listTools() method that returns all available MCP tools.
    } }
  • Core API service method that performs the PUT request to reactivate a service language by ID.
    async reactivateServiceLanguage (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/servicelanguage/reactivate`, { method: 'PUT', headers, body: JSON.stringify({ id }) }) return await this.handleResponse<any>(response)
  • src/index.ts:44-47 (registration)
    MCP server registration of the callTool handler from ToolsHandler for executing tools.
    this.server.setRequestHandler( CallToolRequestSchema, async (request) => await this.toolsHandler.callTool(request.params.name, request.params.arguments, this.server) )

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