Skip to main content
Glama

update_smtp

Modify SMTP settings to configure custom email notifications on VoiceAI-MCP-VAVicky by updating email, password, host, and port details.

Instructions

Update SMTP settings for custom email notifications

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smtp_emailYesSMTP email address
smtp_hostYesSMTP host
smtp_passwordYesSMTP password
smtp_portNoSMTP port

Implementation Reference

  • Handler logic within the executeTool method's switch statement. Constructs a PATCH request to the /user/smtp endpoint using the provided SMTP configuration arguments.
    case 'update_smtp': url = `${this.baseUrl}/user/smtp`; method = 'PATCH'; body = { smtp_email: args.smtp_email, smtp_password: args.smtp_password, smtp_host: args.smtp_host, smtp_port: args.smtp_port }; break;
  • Input schema defining the parameters for updating SMTP settings, including types, descriptions, and required fields.
    inputSchema: { type: 'object', properties: { smtp_email: { type: 'string', description: 'SMTP email address' }, smtp_password: { type: 'string', description: 'SMTP password' }, smtp_host: { type: 'string', description: 'SMTP host' }, smtp_port: { type: 'string', description: 'SMTP port' } }, required: ['smtp_email', 'smtp_password', 'smtp_host'] }
  • index.js:64-77 (registration)
    Tool registration entry in the ListToolsRequestSchema handler, specifying name, description, and input schema.
    { name: 'update_smtp', description: 'Update SMTP settings for custom email notifications', inputSchema: { type: 'object', properties: { smtp_email: { type: 'string', description: 'SMTP email address' }, smtp_password: { type: 'string', description: 'SMTP password' }, smtp_host: { type: 'string', description: 'SMTP host' }, smtp_port: { type: 'string', description: 'SMTP port' } }, required: ['smtp_email', 'smtp_password', 'smtp_host'] } },

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