Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

delete_provider

Remove a travel provider from the LumbreTravel system by specifying its unique identifier to manage your travel program data.

Instructions

Eliminar un proveedor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del proveedor a eliminar

Implementation Reference

  • Handler logic for the 'delete_provider' MCP tool. Extracts the provider ID from arguments and calls the ApiService.deleteProvider method to perform the deletion, returning the result as JSON.
    case 'delete_provider': { const { id } = args as { id: string } const provider = await this.apiService.deleteProvider(id) return { content: [{ type: 'text', text: JSON.stringify(provider, null, 2) }] } }
  • Tool registration entry in listTools() method, including name, description, and input schema for 'delete_provider'.
    { name: 'delete_provider', description: 'Eliminar un proveedor.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del proveedor a eliminar' } }, required: ['id'] } },
  • Input schema definition for delete_provider tool: requires a string 'id' parameter.
    description: 'Eliminar un proveedor.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del proveedor a eliminar' } }, required: ['id'] }
  • Supporting ApiService method that sends a DELETE request to the backend API to delete a provider by ID.
    async deleteProvider (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/provider/delete/${id}`, { method: 'DELETE', headers }) 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