Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_service_language

Reactivate a disabled service language in LumbreTravel MCP Server using the ID of the specific language for renewed functionality.

Instructions

Reactivar un idioma de servicio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del idioma de servicio a reactivar

Implementation Reference

  • The handler logic in the callTool switch statement that extracts the id parameter, calls the ApiService.reactivateServiceLanguage method, and returns the JSON stringified result.
    case 'reactivate_service_language': { const { id } = args const serviceLanguage = await this.apiService.reactivateServiceLanguage(id) return { content: [{ type: 'text', text: JSON.stringify(serviceLanguage, null, 2) }] } }
  • The tool registration entry in the listTools method, defining the name, description, and input schema for the MCP tool.
    { 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'] } },
  • The helper method in ApiService that performs the actual HTTP PUT request to the backend API 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)

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