Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_program

Activate a dormant travel program by providing its unique ID using the LumbreTravel MCP Server tool. Ideal for restoring paused or inactive travel plans.

Instructions

Reactiva un programa de viajes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • Input schema and metadata for the 'reactivate_program' MCP tool, defining the required 'id' parameter.
    { name: 'reactivate_program', description: 'Reactiva un programa de viajes', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] } },
  • Handler logic in callTool method that extracts the program ID from arguments, calls the ApiService.reactivateProgram method, and returns the result as MCP content.
    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) }] } }
  • Helper method in ApiService that sends a PUT request to the backend API endpoint to reactivate a program by its ID.
    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) }
  • src/index.ts:38-47 (registration)
    MCP server registration of the ToolsHandler's listTools and callTool methods as request handlers for tool discovery and execution.
    this.server.setRequestHandler( ListToolsRequestSchema, async () => this.toolsHandler.listTools() ) // Configure handlers for 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