Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_services

Retrieve all available services to link with activities in travel programs using the LumbreTravel MCP Server for streamlined travel management.

Instructions

Obtiene todos los servicios disponibles para asociar a una actividad en un programa de viajes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'list_services': calls apiService.getServices() and returns JSON stringified response.
    case 'list_services': { const services = await this.apiService.getServices() return { content: [{ type: 'text', text: JSON.stringify(services, null, 2) }] } }
  • Tool schema definition: no input parameters required, lists all available services.
    { name: 'list_services', description: 'Obtiene todos los servicios disponibles para asociar a una actividad en un programa de viajes', inputSchema: { type: 'object', properties: {} } },
  • src/index.ts:44-47 (registration)
    Registers the callTool handler for all MCP tools, including list_services.
    this.server.setRequestHandler( CallToolRequestSchema, async (request) => await this.toolsHandler.callTool(request.params.name, request.params.arguments, this.server) )
  • API service method that performs authenticated GET request to retrieve all services from the backend.
    async getServices () { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/services`, { method: 'GET', headers }) return await this.handleResponse<any[]>(response) }
  • src/index.ts:38-41 (registration)
    Registers the listTools handler which includes the list_services tool definition.
    this.server.setRequestHandler( ListToolsRequestSchema, async () => this.toolsHandler.listTools() )

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