Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

delete_service

Remove a specific service from the LumbreTravel MCP Server by providing its unique ID, ensuring efficient management of travel programs and activities.

Instructions

Eliminar un servicio

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del servicio a eliminar

Implementation Reference

  • Handler implementation for the 'delete_service' MCP tool. Extracts the service ID from input arguments, invokes the ApiService.deleteService method, and formats the response as a text content block with JSON stringified result.
    case 'delete_service': { const { id } = args as { id: string } const service = await this.apiService.deleteService(id) return { content: [{ type: 'text', text: JSON.stringify(service, null, 2) }] } }
  • Input schema definition for the 'delete_service' tool in the listTools method, specifying an object with a required 'id' string property.
    { name: 'delete_service', description: 'Eliminar un servicio', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del servicio a eliminar' } }, required: ['id'] } },
  • Supporting ApiService method that performs an authenticated HTTP DELETE request to the backend API to delete a service resource by its ID.
    async deleteService (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/service/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