Skip to main content
Glama

buy_twilio_number

Purchase a new Twilio phone number for integration with VoiceAI-MCP-VAVicky to enable custom VoiceAI and AI chat solutions.

Instructions

Purchase a new Twilio phone number

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phone_numberYesPhone number to purchase

Implementation Reference

  • Handler logic for the 'buy_twilio_number' tool within the executeTool method's switch statement. It configures a POST request to the backend API at /twilio/number/buy with the phone_number argument.
    case 'buy_twilio_number': url = `${this.baseUrl}/twilio/number/buy`; method = 'POST'; body = { phoneNumber: args.phone_number }; break;
  • index.js:357-366 (registration)
    Tool registration in the ListToolsRequestSchema handler, defining the name, description, and input schema for 'buy_twilio_number'.
    { name: 'buy_twilio_number', description: 'Purchase a new Twilio phone number', inputSchema: { type: 'object', properties: { phone_number: { type: 'string', description: 'Phone number to purchase' } }, required: ['phone_number'] }
  • Input schema definition for the 'buy_twilio_number' tool, specifying the required 'phone_number' parameter.
    inputSchema: { type: 'object', properties: { phone_number: { type: 'string', description: 'Phone number to purchase' } }, required: ['phone_number']

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