Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

get_services_by_name

Search for travel services by name to find available options in the LumbreTravel system. Returns matching services for planning and management.

Instructions

Buscar servicios por su nombre, retorna la lista de servicios encontrados.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre del servicio

Implementation Reference

  • The execution handler for the 'get_services_by_name' MCP tool. Extracts the 'name' argument and delegates to ApiService.getServicesByName, returning the result as a text content block.
    case 'get_services_by_name': { const { name } = args as { name: string } const service = await this.apiService.getServicesByName(name) return { content: [{ type: 'text', text: JSON.stringify(service, null, 2) }] } }
  • Registration of the 'get_services_by_name' tool within the listTools() response, defining its name, description, and input schema.
    { name: 'get_services_by_name', description: 'Buscar servicios por su nombre, retorna la lista de servicios encontrados.', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre del servicio' } }, required: ['name'] } }
  • Helper method in ApiService that implements the core logic by making a POST request to the backend endpoint '/integrations/mcp/service/get_services_by_name' with the service name.
    async getServicesByName (name: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/service/get_services_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