Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_includes

Retrieve all available includes or extras to associate with travel activities in a program using the LumbreTravel API.

Instructions

Obtiene todos los incluye o extras disponibles para asociar a una actividad en un programa de viajes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'list_includes' tool. Fetches includes via ApiService and returns JSON-formatted text content.
    case 'list_includes': { const includes = await this.apiService.getIncludes() return { content: [{ type: 'text', text: JSON.stringify(includes, null, 2) }] } }
  • Tool schema definition including name, description, and empty input schema (no parameters required).
    name: 'list_includes', description: 'Obtiene todos los incluye o extras disponibles para asociar a una actividad en un programa de viajes', inputSchema: { type: 'object', properties: {} } },
  • src/index.ts:38-47 (registration)
    Registers the MCP request handlers for listing tools and calling tools, enabling the 'list_includes' tool.
    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) )
  • Helper method in ApiService that fetches the list of includes via GET request to the backend API.
    async getIncludes () { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/includes`, { 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