Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

update_provider

Update provider details, including name, description, email, and phone, within the LumbreTravel MCP Server to ensure accurate and current information for travel programs and activities.

Instructions

Actualizar un proveedor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesDescripción del proveedor
emailNoEmail del proveedor, si no tiene email se puede dejar en blanco
idYesID del proveedor a actualizar
nameYesNombre del proveedor
phoneNoTeléfono del proveedor, si no tiene teléfono se puede dejar en blanco

Implementation Reference

  • Executes the 'update_provider' MCP tool by extracting arguments and delegating to ApiService.updateProvider, then formatting the response as MCP content.
    case 'update_provider': { const { id, name, description, phone, email } = args const provider = await this.apiService.updateProvider({ id, name, description, phone, email }) return { content: [{ type: 'text', text: JSON.stringify(provider, null, 2) }] } }
  • Defines the input schema, name, and description for the 'update_provider' tool in the listTools response.
    { name: 'update_provider', description: 'Actualizar un proveedor.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del proveedor a actualizar' }, name: { type: 'string', description: 'Nombre del proveedor' }, description: { type: 'string', description: 'Descripción del proveedor' }, email: { type: 'string', description: 'Email del proveedor, si no tiene email se puede dejar en blanco' }, phone: { type: 'string', description: 'Teléfono del proveedor, si no tiene teléfono se puede dejar en blanco' } }, required: ['id', 'name', 'description'] } },
  • Core API call implementation for updating a provider via PUT request to the backend API.
    async updateProvider (data: { id: string name: string description: string phone: string email: string }) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/provider/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