Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_agency

Restore inactive travel agencies on the LumbreTravel MCP Server by providing the agency ID to re-enable access to travel programs and activities.

Instructions

Reactivar una agencia

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID de la agencia a reactivar

Implementation Reference

  • Registration of the 'reactivate_agency' tool including its input schema in the listTools() method.
    name: 'reactivate_agency', description: 'Reactivar una agencia', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID de la agencia a reactivar' } }, required: ['id'] } },
  • Handler logic in callTool() that executes the reactivate_agency tool by invoking the ApiService method.
    case 'reactivate_agency': { const { id } = args as { id: string } const agency = await this.apiService.reactivateAgency(id) return { content: [{ type: 'text', text: JSON.stringify(agency, null, 2) }] } }
  • ApiService helper method that sends a PUT request to the backend API to reactivate an agency by ID.
    async reactivateAgency (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/agency/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