Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_includes

Retrieve available extras and inclusions to associate with travel activities in trip programs. This tool helps travel planners add optional services to activities.

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

  • MCP tool handler implementation for 'list_includes': calls ApiService.getIncludes() and formats response as MCP content.
    case 'list_includes': { const includes = await this.apiService.getIncludes() return { content: [{ type: 'text', text: JSON.stringify(includes, null, 2) }] } }
  • Core API call to retrieve the list of includes/extras from the backend API endpoint.
    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) }
  • 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:44-47 (registration)
    Registers the CallToolRequestHandler which dispatches to tools.handler.ts.callTool based on tool name, enabling execution of list_includes.
    this.server.setRequestHandler( CallToolRequestSchema, async (request) => await this.toolsHandler.callTool(request.params.name, request.params.arguments, this.server) )
  • src/index.ts:38-41 (registration)
    Registers the ListToolsRequestHandler which returns the list of available tools including 'list_includes'.
    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