Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_include

Reactivate a travel program extra or included service by providing its ID to restore access and functionality within the LumbreTravel system.

Instructions

Reactivar un extra o incluído

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del include a reactivar

Implementation Reference

  • The handler logic in callTool that processes the 'reactivate_include' tool invocation by calling the ApiService method.
    case 'reactivate_include': {
      const { id } = args as { id: string }
      const include = await this.apiService.reactivateInclude(id)
      return {
        content: [{ type: 'text', text: JSON.stringify(include, null, 2) }]
      }
    }
  • Tool schema definition including name, description, and input schema for validation in listTools().
    {
      name: 'reactivate_include',
      description: 'Reactivar un extra o incluído',
      inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del include a reactivar' } }, required: ['id'] }
    },
  • Supporting service method in ApiService that performs the actual API call to reactivate an include.
    async reactivateInclude (id: string) {
      const headers = await this.getHeaders()
      const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/include/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