Skip to main content
Glama

update_smtp

Configure SMTP server settings to enable custom email notifications for VoiceAI integrations.

Instructions

Update SMTP settings for custom email notifications

Input Schema

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

Implementation Reference

  • Executes the update_smtp tool by constructing a PATCH request to the /user/smtp endpoint with the provided SMTP configuration parameters.
    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;
  • Defines the input schema and metadata for the update_smtp tool, specifying required and optional parameters for SMTP configuration.
    { 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'] } },
  • index.js:64-77 (registration)
    Registers the update_smtp tool in the listTools response, making it discoverable by MCP clients.
    { 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