Skip to main content

MCP Tools Reference

Complete reference for all 28 SmartAlex MCP tools, organized by domain. Each tool includes its parameters, response shape, and example usage. All tool names are prefixed with smartalex_ to avoid conflicts when used alongside other MCP servers.

Contacts

smartalex_list_contacts

List all contacts in the current workspace with pagination. Parameters: Example usage:
Example response:

smartalex_get_contact

Get a single contact by UUID. Returns all fields including tags and engagement history. Use this when you have a specific contact ID. Use smartalex_list_contacts to browse contacts. Parameters: Example usage:

smartalex_create_contact

Create a new contact. Returns the created contact with its UUID. Parameters: Example usage:

smartalex_update_contact

Update an existing contact. Only provided fields are changed (partial update). Returns the updated contact. Parameters: Example usage:

Agents

smartalex_list_agents

List all AI voice agents. Returns agent name, language, active status, and creation date. Returns all agents (no pagination). Use this to browse all agents. Use smartalex_get_agent if you have a specific agent ID. Parameters: None Example usage:
Example response:
The voice_provider field is always returned as "cloud", actual provider details are not exposed through the API for security.

smartalex_get_agent

Get a single AI voice agent by UUID. Returns full agent configuration. Parameters: Example usage:

smartalex_create_agent

Create a new AI voice agent. The system scrapes the website (when given), analyzes the business, generates an optimized AI prompt, and deploys the agent. Provide at least a website_url or a company_name.
Agent creation takes 30-60 seconds as it scrapes the website and configures the AI voice assistant.
Parameters: Example usage:

smartalex_update_agent

Update an existing voice agent’s settings. Changes are automatically synced to the live voice platform. Prompt-affecting fields trigger system prompt regeneration. Parameters: Example usage:

smartalex_delete_agent

Permanently delete a voice agent. This action cannot be undone. Parameters: Example usage:

Phone Numbers

smartalex_list_phone_numbers

List all active phone numbers with country and agent assignment. Use this to see which numbers are available for campaigns and agents. Parameters: None Example usage:

smartalex_search_available_numbers

Search for available phone numbers to purchase by country. Returns a list of phone numbers that can be bought. Supported countries: US, CA, GB, AU, NZ, FI, DK, NL, ZA. Parameters: Example usage:
Example response:

smartalex_buy_phone_number

Purchase a specific phone number for use with campaigns and agents. First number is free on trial; additional numbers cost ~$1.66/month. Parameters: Example usage:
Example response:

Campaigns

smartalex_list_campaigns

List all voice campaigns. Returns campaign name, mode, status, and agent assignment. Parameters:
Pagination parameters are accepted but all campaigns are currently returned regardless of page/per_page values.
Example usage:
Example response:

smartalex_create_campaign

Create a new voice campaign. Optionally assign an AI agent to handle calls. Parameters:
Before creating a campaign, always call smartalex_list_agents and smartalex_list_phone_numbers to let the user pick an agent and phone number.
Example usage:

smartalex_get_campaign

Get a single campaign by UUID. Returns full details including status, objective, contact counts, and call statistics. Parameters: Example usage:

smartalex_add_contacts_to_campaign

Add one or more contacts to a campaign. Contacts are queued for calling when the campaign starts. Duplicates are automatically skipped. Parameters: Example usage:

smartalex_start_campaign

Start a campaign to begin making calls. The campaign must have an agent, an objective, and at least one contact. Parameters:
Pre-requisites: The campaign must have an agent assigned, an objective set, contacts added, and a phone number available on the account. Missing requirements return a helpful error message.
Example usage:

Calls

smartalex_list_calls

List call records with pagination. Returns direction, status, duration, sentiment score, and cost. Use this to browse call history. Use smartalex_get_call if you need the full transcript for a specific call. Parameters: Example usage:
Example response:

smartalex_get_call

Get a single call record by UUID. Returns full detail including the conversation transcript, duration, sentiment score, and status. Parameters: Example usage:

Deals

smartalex_list_deals

List all deals in the sales pipeline. Optionally filter by stage. Parameters: Valid stages: lead, qualified, showing, offer, under_contract, closed_won, closed_lost Example usage:
Example response:

smartalex_create_deal

Create a new deal in the sales pipeline. Optionally link to a contact and set the initial stage and value. Parameters: Example usage:

smartalex_update_deal

Update an existing deal. Only provided fields are changed. Use to move deals through pipeline stages or update values. Parameters: Example usage:

smartalex_delete_deal

Permanently delete a deal from the pipeline. This action cannot be undone. Parameters: Example usage:
Response:

Webhooks

smartalex_list_webhooks

List all active webhook subscriptions. Returns URL, event types, active status, failure count, and last delivery time. Parameters: None Example usage:
Example response:

smartalex_create_webhook

Create a new webhook subscription. Returns the webhook ID and an HMAC-SHA256 signing_secret.
The signing_secret is returned only once on creation. Save it immediately, it cannot be retrieved later.
Parameters: Available event types: Example usage:
Example response:

smartalex_delete_webhook

Unregister a webhook subscription. The endpoint will stop receiving events immediately. This action cannot be undone. Parameters: Example usage:
Response:

Platform & Widgets

smartalex_get_widget_install_code

Get the SmartAlex chat/voice widget installation code for the current workspace. Returns a ready-to-paste HTML <script> tag plus platform-specific variants and a short install guide. Parameters: None Example usage:
Returns:

smartalex_get_platform_status

Check SmartAlex platform health and get usage statistics for the current workspace. Parameters: None Example usage:
Example response:

Tool Annotations

All tools include MCP annotations that help AI clients understand tool behavior: