Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

get_includes_by_name

Search for travel extras or inclusions by name to find specific add-ons for travel programs and activities.

Instructions

Buscar extras o incluídos por su nombre

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre del include

Implementation Reference

  • Registration of the 'get_includes_by_name' tool in listTools(), including name, description, and input schema.
    {
      name: 'get_includes_by_name',
      description: 'Buscar extras o incluídos por su nombre',
      inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre del include' } }, required: ['name'] }
    },
  • Input schema for get_includes_by_name tool: object with required 'name' string.
    inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre del include' } }, required: ['name'] }
  • Handler implementation in callTool switch: calls apiService.getIncludesByName and returns JSON stringified response.
    case 'get_includes_by_name': {
      const { name } = args as { name: string }
      const includes = await this.apiService.getIncludesByName(name)
      return {
        content: [{ type: 'text', text: JSON.stringify(includes, null, 2) }]
      }
    }
  • Supporting ApiService method that fetches includes by name from backend API endpoint.
    async getIncludesByName (name: string) {
      const headers = await this.getHeaders()
      const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/include/get_includes_by_name`, {
        method: 'POST',
        headers: { ...headers, 'Content-Type': 'application/json' },
        body: JSON.stringify({ name })
      })
      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