Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_leaders

Retrieve available travel guides to assign to activities within a travel program, ensuring efficient management and coordination of resources.

Instructions

Obtiene todos los guías disponibles para asociar a una actividad en un programa de viajes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler logic for executing the 'list_leaders' tool: calls ApiService.getLeaders() and returns JSON response.
    case 'list_leaders': { const leaders = await this.apiService.getLeaders() return { content: [{ type: 'text', text: JSON.stringify(leaders, null, 2) }] } }
  • Tool schema definition including name, description, and empty input schema for 'list_leaders'.
    name: 'list_leaders', description: 'Obtiene todos los guías disponibles para asociar a una actividad en un programa de viajes', inputSchema: { type: 'object', properties: {} } },
  • ApiService.getLeaders() method: performs authenticated GET request to fetch all leaders from the backend API.
    async getLeaders () { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/leaders`, { method: 'GET', headers }) return await this.handleResponse<any[]>(response) }
  • src/index.ts:44-47 (registration)
    MCP server registration of CallToolRequestHandler, which routes 'list_leaders' calls to ToolsHandler.callTool.
    this.server.setRequestHandler( CallToolRequestSchema, async (request) => await this.toolsHandler.callTool(request.params.name, request.params.arguments, this.server) )
  • src/index.ts:38-41 (registration)
    MCP server registration of ListToolsRequestHandler, which provides the tool list including 'list_leaders' schema.
    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