Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

season_summary

Analyze passenger data across a season to track total travelers and their distribution by agencies using this tool, simplifying season-wide insights for travel programs.

Instructions

Obtiene un resumen de pasajeros a lo largo de una temporada. Esta tool es muy útil para obtener el total de pasajeros de una temporada y ver como se distribuye por agencias.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYearYesAño de fin de la temporada (YYYY)
startYearYesAño de inicio de la temporada (YYYY)

Implementation Reference

  • Handler implementation for the 'season_summary' tool. Extracts arguments, calls ApiService.getSeasonSummary, and returns the result as JSON text content.
    case 'season_summary': { const { startYear, endYear } = args as { startYear: string, endYear: string } const seasonSummary = await this.apiService.getSeasonSummary(startYear, endYear) return { content: [{ type: 'text', text: JSON.stringify(seasonSummary, null, 2) }] } }
  • Tool definition including name, description, and input schema for 'season_summary' in the listTools response.
    name: 'season_summary', description: 'Obtiene un resumen de pasajeros a lo largo de una temporada. Esta tool es muy útil para obtener el total de pasajeros de una temporada y ver como se distribuye por agencias.', inputSchema: { type: 'object', properties: { startYear: { type: 'string', description: 'Año de inicio de la temporada (YYYY)' }, endYear: { type: 'string', description: 'Año de fin de la temporada (YYYY)' } }, required: ['startYear', 'endYear'] } },
  • ApiService method getSeasonSummary that performs authenticated POST request to external API endpoint for season summary data.
    async getSeasonSummary (startYear: string, endYear: string) { const headers = await this.getHeaders() const dataToSend = new URLSearchParams({ startYear, endYear }) const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/programs/season_summary`, { method: 'POST', headers, body: dataToSend }) 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