Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_leader

Reactivate a travel guide by providing their ID to restore access to LumbreTravel programs and activities.

Instructions

Reactivar un guía

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del guía a reactivar

Implementation Reference

  • Registration of the 'reactivate_leader' tool including its input schema and description.
    { name: 'reactivate_leader', description: 'Reactivar un guía', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del guía a reactivar' } }, required: ['id'] } },
  • Handler implementation in callTool method that 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) }] } }
  • API service helper method that makes a PUT request to the backend to reactivate a leader by 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) }

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