Skip to main content
Glama

update_white_label

Modify white label settings, including name, description, domain, and color, to customize branding for VoiceAI-MCP-VAVicky integrations.

Instructions

Update White Label details: name, description, domain and color

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whitelabel_colorNoWhite label color (hex code)
whitelabel_descriptionNoWhite label description
whitelabel_domainNoWhite label domain
whitelabel_nameNoWhite label name

Implementation Reference

  • Specific handler case for the 'update_white_label' tool within the executeTool method. It sets up a PATCH request to the '/user' endpoint with the whitelabel parameters from the input arguments.
    case 'update_white_label': url = `${this.baseUrl}/user`; method = 'PATCH'; body = { whitelabel_name: args.whitelabel_name, whitelabel_description: args.whitelabel_description, whitelabel_domain: args.whitelabel_domain, whitelabel_color: args.whitelabel_color }; break;
  • Tool registration and schema definition in the listTools response, including input schema for the four whitelabel parameters.
    { name: 'update_white_label', description: 'Update White Label details: name, description, domain and color', inputSchema: { type: 'object', properties: { whitelabel_name: { type: 'string', description: 'White label name' }, whitelabel_description: { type: 'string', description: 'White label description' }, whitelabel_domain: { type: 'string', description: 'White label domain' }, whitelabel_color: { type: 'string', description: 'White label color (hex code)' } }, required: [] }
  • index.js:460-484 (registration)
    Registration of the CallToolRequestSchema handler, which dispatches to executeTool based on tool name, enabling execution of 'update_white_label'.
    this.server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; if (!this.apiKey) { throw new McpError( ErrorCode.InvalidRequest, 'VAVICKY_API_KEY environment variable is required' ); } try { const result = await this.executeTool(name, args || {}); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2) } ] }; } catch (error) { throw new McpError( ErrorCode.InternalError, `Tool execution failed: ${error.message}` ); } });

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/Business-On-Steroids/MCP-VoiceAI-WhiteLabel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server