Skip to main content
Glama

update_twilio_number

Update Twilio number settings, including friendly name, voice webhook, and SMS webhook URLs, to manage call and message routing on the VoiceAI-MCP-VAVicky server.

Instructions

Update Twilio number configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
friendly_nameNoFriendly name
number_sidYesNumber SID
sms_webhookNoSMS webhook URL
voice_webhookNoVoice webhook URL

Implementation Reference

  • Handler implementation for the 'update_twilio_number' tool. Sets up a PATCH request to the backend API to update Twilio number configuration (friendly name, voice webhook, SMS webhook).
    case 'update_twilio_number': url = `${this.baseUrl}/twilio/numbers/${args.number_sid}`; method = 'PATCH'; body = {}; if (args.friendly_name) body.name = args.friendly_name; if (args.voice_webhook) body.webhook = args.voice_webhook; if (args.sms_webhook) body.smsWebhook = args.sms_webhook; break;
  • Input schema defining parameters for updating a Twilio number: number_sid (required), friendly_name, voice_webhook, sms_webhook.
    inputSchema: { type: 'object', properties: { number_sid: { type: 'string', description: 'Number SID' }, friendly_name: { type: 'string', description: 'Friendly name' }, voice_webhook: { type: 'string', description: 'Voice webhook URL' }, sms_webhook: { type: 'string', description: 'SMS webhook URL' } }, required: ['number_sid'] }
  • index.js:368-381 (registration)
    Registration of the 'update_twilio_number' tool in the ListToolsRequestSchema handler, including name, description, and input schema.
    { name: 'update_twilio_number', description: 'Update Twilio number configuration', inputSchema: { type: 'object', properties: { number_sid: { type: 'string', description: 'Number SID' }, friendly_name: { type: 'string', description: 'Friendly name' }, voice_webhook: { type: 'string', description: 'Voice webhook URL' }, sms_webhook: { type: 'string', description: 'SMS webhook URL' } }, required: ['number_sid'] } },

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