Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_program

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

Instructions

Reactiva un programa de viajes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • Tool handler implementation for 'reactivate_program'. Extracts the program ID from input arguments, calls ApiService.reactivateProgram(id), and returns the result as a JSON-formatted text content block.
    case 'reactivate_program': {
      const { id } = args as { id: string }
      const program = await this.apiService.reactivateProgram(id)
      return {
        content: [{ type: 'text', text: JSON.stringify(program, null, 2) }]
      }
    }
  • Tool registration entry in listTools() method, including name, description, and input schema requiring a string 'id'.
    {
      name: 'reactivate_program',
      description: 'Reactiva un programa de viajes',
      inputSchema: {
        type: 'object',
        properties: {
          id: { type: 'string' }
        },
        required: ['id']
      }
    },
  • Input schema for 'reactivate_program' tool: object with required 'id' property of type string.
    inputSchema: {
      type: 'object',
      properties: {
        id: { type: 'string' }
      },
      required: ['id']
    }
  • Supporting helper method in ApiService that performs the actual API call to reactivate a program by ID via PUT request to the backend endpoint.
    async reactivateProgram (id: string) {
      const headers = await this.getHeaders()
      const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/programs/reactivate/${id}`, {
        method: 'PUT',
        headers
      })
      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