Skip to main content
Glama

send_sms

Send SMS messages through an assistant to phone numbers, enabling automated text communication for notifications, alerts, or customer engagement.

Instructions

Send SMS message through assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID
phone_numberYesPhone number to send SMS
messageYesSMS message content
contact_idNoContact ID (optional)

Implementation Reference

  • Handler implementation for the 'send_sms' tool. Constructs a POST request to the backend API endpoint `/twilio/{assistant_id}/sms` with phone number and message, optionally including contact_id and customData.
    case 'send_sms': url = `${this.baseUrl}/twilio/${args.assistant_id}/sms`; method = 'POST'; body = { phonenumber: args.phone_number, message: args.message }; if (args.contact_id) { body.contact_id = args.contact_id; body.customData = { phonenumber: args.phone_number, message: args.message }; } break;
  • index.js:442-455 (registration)
    Registration of the 'send_sms' tool in the ListTools response, including name, description, and input schema definition.
    { name: 'send_sms', description: 'Send SMS message through assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' }, phone_number: { type: 'string', description: 'Phone number to send SMS' }, message: { type: 'string', description: 'SMS message content' }, contact_id: { type: 'string', description: 'Contact ID (optional)' } }, required: ['assistant_id', 'phone_number', 'message'] } }
  • Input schema definition for the 'send_sms' tool, specifying required parameters: assistant_id, phone_number, message.
    inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' }, phone_number: { type: 'string', description: 'Phone number to send SMS' }, message: { type: 'string', description: 'SMS message content' }, contact_id: { type: 'string', description: 'Contact ID (optional)' } }, required: ['assistant_id', 'phone_number', '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