Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

update_include

Modify and update the name and description of an included travel extra using a unique ID on the LumbreTravel MCP Server, ensuring accurate and current travel program details.

Instructions

Actualizar un extra o incluído.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesDescripción
idYesID a actualizar
nameYesNombre

Implementation Reference

  • Executes the update_include tool by extracting id, name, description from args, calling the ApiService updateInclude method, and returning the result as a JSON-formatted text content block.
    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) }] } }
  • Defines the input schema for the update_include tool, specifying an object with required string properties: id, name, and description.
    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']
  • Registers the update_include tool in the listTools() response, providing 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'] } },
  • ApiService helper method that authenticates, sends a PUT request to the backend API endpoint /integrations/mcp/include/update with the update data, and handles the response.
    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