Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

reactivate_agency

Reactivate a travel agency by providing its ID to restore access to LumbreTravel 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 name, description, and input schema.
    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 for 'reactivate_agency' tool: extracts id from args, calls apiService.reactivateAgency(id), and returns the JSON stringified result.
    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) }] } }
  • API service method that performs the actual HTTP PUT request 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) }
  • Input schema for the 'reactivate_agency' tool, defining a required 'id' string parameter.
    type: 'object', properties: { id: { type: 'string', description: 'ID de la agencia 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