Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

update_include

Modify travel program extras or inclusions by updating their ID, name, and description details.

Instructions

Actualizar un extra o incluído.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID a actualizar
nameYesNombre
descriptionYesDescripción

Implementation Reference

  • Executes the update_include MCP tool. Destructures id, name, description from args, calls apiService.updateInclude, and formats the response as MCP content.
    case 'update_include': { const { id, name, description } = args const include = await this.apiService.updateInclude({ id, name, description }) return { content: [{ type: 'text', text: JSON.stringify(include, null, 2) }] }
  • Registers the 'update_include' tool in the listTools() response, including name, description, and input schema.
    name: 'update_include', description: 'Actualizar un extra o incluído.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID a actualizar' }, name: { type: 'string', description: 'Nombre' }, description: { type: 'string', description: 'Descripción' } }, required: ['id', 'name', 'description'] }
  • Helper method in ApiService that sends a PUT request to the LumbreTravel API endpoint /integrations/mcp/include/update to perform the include update.
    async updateInclude (data: { id: string name: string description: string }) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/include/update`, { method: 'PUT', headers: { ...headers, 'Content-Type': 'application/json' }, body: JSON.stringify(data) }) 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