Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_leader

Reactivate a travel guide by providing their unique ID within the LumbreTravel MCP Server for efficient management of travel programs and activities.

Instructions

Reactivar un guía

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del guía a reactivar

Implementation Reference

  • Handler execution for 'reactivate_leader' tool: extracts id from args, calls apiService.reactivateLeader(id), and returns the JSON stringified result.
    case 'reactivate_leader': { const { id } = args as { id: string } const leader = await this.apiService.reactivateLeader(id) return { content: [{ type: 'text', text: JSON.stringify(leader, null, 2) }] } }
  • Tool schema definition: requires 'id' string input for reactivating a leader (guía). Part of listTools registration.
    { name: 'reactivate_leader', description: 'Reactivar un guía', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del guía a reactivar' } }, required: ['id'] } },
  • Core implementation: Makes authenticated PUT request to MCP API endpoint /integrations/mcp/leader/reactivate with leader id.
    async reactivateLeader (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/leader/reactivate`, { method: 'PUT', headers, body: JSON.stringify({ id }) }) return await this.handleResponse<any>(response) }
  • Registers the 'reactivate_leader' tool in the listTools method with name, description, and input schema.
    { name: 'reactivate_leader', description: 'Reactivar un guía', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del guía a reactivar' } }, required: ['id'] } },

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