Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_service_languages

Retrieve available languages to associate with a service in LumbreTravel's travel programs, ensuring accurate communication and service customization in travel activities.

Instructions

Obtiene todos los idiomas para asociar a una actividad en un programa de viajes. Estos idiomas solo se pueden usar para asociar a un servicio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'list_service_languages' tool, including its name, description, and empty input schema.
    name: 'list_service_languages', description: 'Obtiene todos los idiomas para asociar a una actividad en un programa de viajes. Estos idiomas solo se pueden usar para asociar a un servicio.', inputSchema: { type: 'object', properties: {} } },
  • Handler in ToolsHandler.callTool that invokes ApiService.getServiceLanguages() and formats the response as text content.
    case 'list_service_languages': { const serviceLanguages = await this.apiService.getServiceLanguages() return { content: [{ type: 'text', text: JSON.stringify(serviceLanguages, null, 2) }] } }
  • Implementation in ApiService that fetches the list of service languages via GET request to the backend API endpoint.
    async getServiceLanguages () { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/servicelanguages`, { method: 'GET', 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