Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

delete_provider

Remove a provider from the LumbreTravel MCP Server by specifying its unique ID. Simplifies management of travel programs and related entities.

Instructions

Eliminar un proveedor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del proveedor a eliminar

Implementation Reference

  • The handler function for the 'delete_provider' tool, which extracts the id from args, calls apiService.deleteProvider(id), and returns the JSON stringified response.
    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) }] } }
  • Registration of the 'delete_provider' tool in listTools(), including its name, description, and input schema requiring a string id.
    { 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 the delete_provider tool: requires an object with 'id' property of type string.
    { name: 'delete_provider', description: 'Eliminar un proveedor.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del proveedor a eliminar' } }, required: ['id'] } },
  • ApiService helper method that performs the HTTP DELETE request to the backend API to delete a provider by its 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