Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

delete_service_language

Remove a service language from the LumbreTravel MCP Server by specifying its ID to manage multilingual content for travel programs and activities.

Instructions

Eliminar un idioma de servicio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del idioma de servicio a eliminar

Implementation Reference

  • Registration of the 'delete_service_language' tool including its name, description, and input schema in the listTools method.
    { name: 'delete_service_language', description: 'Eliminar un idioma de servicio.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del idioma de servicio a eliminar' } }, required: ['id'] }
  • Input schema definition for the 'delete_service_language' tool.
    inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del idioma de servicio a eliminar' } }, required: ['id'] }
  • Execution handler for the 'delete_service_language' tool in the callTool switch statement, which invokes the ApiService method.
    case 'delete_service_language': { const { id } = args as { id: string } const serviceLanguage = await this.apiService.deleteServiceLanguage(id) return { content: [{ type: 'text', text: JSON.stringify(serviceLanguage, null, 2) }] } }
  • Supporting ApiService method that performs the HTTP DELETE request to the backend API to delete a service language by ID.
    async deleteServiceLanguage (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/servicelanguage/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