Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_leaders

Retrieve available travel guides to assign to activities in travel programs. This tool helps users find and associate guides with program activities.

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

  • Registration of the 'list_leaders' tool in the listTools() method, including its name, description, and empty input schema (no parameters required).
    name: 'list_leaders', description: 'Obtiene todos los guías disponibles para asociar a una actividad en un programa de viajes', inputSchema: { type: 'object', properties: {} } },
  • The handler function for 'list_leaders' tool. It calls apiService.getLeaders() to fetch all leaders and returns the JSON stringified list as text content.
    case 'list_leaders': { const leaders = await this.apiService.getLeaders() return { content: [{ type: 'text', text: JSON.stringify(leaders, null, 2) }] } }
  • Input schema for 'list_leaders' tool: an empty object (no required parameters).
    name: 'list_leaders', description: 'Obtiene todos los guías disponibles para asociar a una actividad en un programa de viajes', inputSchema: { type: 'object', properties: {} } },
  • Helper method getLeaders() in ApiService that performs a GET request to the backend API endpoint /integrations/mcp/leaders to retrieve the list of leaders.
    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:38-47 (registration)
    Top-level MCP server registration of tool handlers via ToolsHandler's listTools and callTool methods.
    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