Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_service_languages

Retrieve available languages for associating with travel activity services in travel programs.

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

  • Handler implementation for the 'list_service_languages' tool. It calls apiService.getServiceLanguages() and returns the JSON stringified result as text content.
    case 'list_service_languages': { const serviceLanguages = await this.apiService.getServiceLanguages() return { content: [{ type: 'text', text: JSON.stringify(serviceLanguages, null, 2) }] } }
  • Input schema definition for the 'list_service_languages' tool in the listTools() method. No input parameters required.
    { 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: {} } },
  • ApiService method that performs the actual GET request to retrieve service languages from the LumbreTravel API.
    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) }
  • src/index.ts:38-47 (registration)
    MCP server request handlers registration for tool listing (ListToolsRequestSchema) and tool calling (CallToolRequestSchema), which invoke the ToolsHandler methods containing the tool implementation.
    this.server.setRequestHandler( ListToolsRequestSchema, async () => this.toolsHandler.listTools() ) // Configure handlers for tools this.server.setRequestHandler( CallToolRequestSchema, async (request) => await this.toolsHandler.callTool(request.params.name, request.params.arguments, this.server) )

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