> ## Documentation Index
> Fetch the complete documentation index at: https://api.smartlead.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Tools

> Every tool the Smartlead MCP server offers on /mcp, grouped by product, with what each one changes, sends or spends

The Smartlead MCP server offers **185 tools** on `https://mcp.smartlead.ai/mcp`. This list is generated from the server's code, so names match exactly what your AI app sees.

Every tool carries standard MCP annotations (`readOnlyHint`, `destructiveHint`, `openWorldHint`), so apps such as Claude and ChatGPT can ask you before running anything that changes data. The **Effect** column below says the same thing in plain words:

| Effect | Meaning |
| - | - |
| Read-only | Only reads data. Safe to call any time. |
| Adds data | Creates something new (a campaign, a note, a folder). Overwrites and deletes nothing. |
| Changes or deletes data | Updates, replaces or removes something in your account. |
| Can send email | Sends email to real people, or starts or resumes sending (for example `update_campaign_status` with `START`, or adding leads to a campaign that is already running). |
| Spends credits | Uses Smart Prospect credits. |
| Sends email, spends credits | Smart Delivery tests: send real test emails to seed inboxes and use run credits. |

> [!WARNING]
>
> Before an agent calls a tool that sends email or spends credits, confirm the details with a person. `sd_create_test` and `sd_resume_test` send real emails and use Smart Delivery run credits; `sp_fetch_contacts` and `sp_find_emails` deduct Smart Prospect credits. `sp_search_contacts` is free: it previews matches without revealing emails.

Tools that take or return passwords or API keys (adding SMTP or OAuth mailboxes, creating clients, managing client API keys) are **not offered on `/mcp`**. Do those in the Smartlead app.

## Create and launch a campaign: the recommended order

The server sends these instructions to your AI app when it connects. Following them avoids the most common mistake: starting a campaign that has nothing to send.

1. `create_campaign` returns the new campaign id. New campaigns are `DRAFTED` and send nothing.
2. `save_campaign_sequences` sets the email steps. Step 1 is the first email (`delay_in_days` 0); follow-ups use `delay_in_days` of 1 or more and an empty subject to thread as replies. This is a **full replace**: always send every step, including the ids from `get_campaign_sequences` when editing. Steps you leave out are deleted.
3. `get_email_accounts`, then `add_email_accounts_to_campaign` attaches sending mailboxes by numeric id.
4. `add_leads_to_campaign` adds up to 1,000 leads per call. Read the "Uploaded X of Y" line; 0 uploaded is an error.
5. `update_campaign_schedule` (required before starting: IANA timezone, days 0 = Sunday to 6 = Saturday, 24-hour `HH:mm` hours), then optionally `update_campaign_settings`.
6. `update_campaign_status` with status `START`.

> [!NOTE]
>
> `START` only checks that a schedule exists. It succeeds on a campaign with no sequences, mailboxes or leads, and then nothing sends. Check steps 2 to 4 with `get_campaign_sequences`, `get_campaign_email_accounts` and `get_campaign_leads` before starting.

Other rules the server gives agents:

* A tool result marked as an error (`isError`) means the call failed. Read the message, fix the input and retry; do not report it as done.
* Email bodies are HTML. Personalise with merge tags in double curly braces, such as `{{first_name}}`, `{{company_name}}`, or a `custom_fields` key such as `{{job_title}}`. Unbalanced braces are rejected.
* The first email's subject must not start with "Re:", "Fw:" or "Fwd:".
* Status values you read (`DRAFTED`, `ACTIVE`, `PAUSED`, `STOPPED`, `COMPLETED`) differ from the values you write (`START`, `PAUSED`, `STOPPED`).
* `get_campaigns` and `get_campaign_leads` are paginated. Filter by name or status rather than paging through everything.
* Smart Delivery is for the main account only: agency client keys get `CLIENT_NOT_ALLOWED`. `NO_PLAN` means the plan does not include Smart Delivery, and `NO_CREDITS` means no run credits are left this billing period. Do not retry these.

## All tools

### Campaigns

| Tool | What it does | Effect |
| - | - | - |
| `get_campaigns` | List campaigns, newest first, as compact rows (id, name, status, client\_id, parent\_campaign\_id, created\_at). | Read-only |
| `get_campaign_by_id` | Get a specific campaign by its ID | Read-only |
| `create_campaign` | Create a new campaign (status DRAFTED). | Adds data |
| `update_campaign_status` | Update the status of a campaign. | Can send email |
| `get_campaign_sequences` | Get email sequences for a campaign | Read-only |
| `save_campaign_sequences` | FULL REPLACE of a campaign's email steps: the steps you send become the complete sequence, and any existing step whose id is not included is DELETED. | Changes or deletes data |
| `get_campaign_leads` | List leads in a campaign as compact rows (lead\_id, campaign\_lead\_map\_id, email, name, company, status, lead\_category\_id, is\_unsubscribed, created\_at), with the total lead count. | Read-only |
| `add_leads_to_campaign` | Add leads to a campaign. | Can send email |
| `pause_lead` | Pause a lead in a campaign | Changes or deletes data |
| `resume_lead` | Resume a paused lead in a campaign | Can send email |
| `get_campaign_stats` | Get detailed statistics for a campaign including email performance metrics by sequence | Read-only |
| `export_campaign_leads` | Export all leads from a campaign to a downloadable file | Read-only |
| `get_campaign_variant_statistics` | Get A/B test variant performance statistics for a campaign | Read-only |
| `get_campaign_lead_statistics` | Get lead-level statistics showing individual lead engagement metrics | Read-only |
| `get_campaign_mailbox_statistics` | Get mailbox-level performance statistics for a campaign | Read-only |
| `delete_campaign_lead` | Delete a lead from a campaign | Changes or deletes data |
| `unsubscribe_lead` | Unsubscribe a lead from a campaign | Changes or deletes data |
| `update_campaign_lead` | Update lead information in a campaign | Changes or deletes data |
| `update_lead_category` | Update lead category and optionally pause the lead | Changes or deletes data |
| `mark_lead_as_complete` | Manually mark a lead as complete in a campaign | Changes or deletes data |
| `update_lead_email_account` | Update the email account assigned to a lead | Changes or deletes data |
| `get_campaign_lead_message_history` | Get complete message history for a specific lead in a campaign | Read-only |
| `get_campaign_leads_history` | Get message history for multiple leads in a campaign | Read-only |
| `send_campaign_email_thread` | Send a reply email in an existing email thread | Can send email |
| `forward_campaign_email` | Forward an email from a campaign to other recipients | Can send email |
| `update_campaign_schedule` | Set when a campaign sends: timezone, days, hours, spacing and daily new-lead cap. | Changes or deletes data |
| `update_campaign_settings` | Update campaign settings: tracking, stop rules, plain text, unsubscribe text, AI ESP matching and auto-pause. | Changes or deletes data |
| `update_campaign_team_member` | Assign or remove a team member from a campaign | Changes or deletes data |
| `add_email_accounts_to_campaign` | Add email accounts to a campaign for sending | Adds data |
| `delete_email_accounts_from_campaign` | Remove email accounts from a campaign | Changes or deletes data |
| `get_campaign_webhooks` | Get all webhooks configured for a campaign | Read-only |
| `save_campaign_webhook` | Create or update a webhook for a campaign | Changes data, calls your webhook URL |
| `delete_campaign_webhook` | Delete a webhook from a campaign | Changes or deletes data |
| `get_campaign_webhook_summary` | Get webhook execution summary and statistics for a campaign | Read-only |
| `retrigger_campaign_webhooks` | Retrigger failed webhook events for a campaign | Changes data, calls your webhook URL |
| `delete_campaign` | Delete a campaign permanently | Changes or deletes data |
| `resume_lead_with_delay` | Resume a paused lead with an optional delay in days | Can send email |

### Analytics

| Tool | What it does | Effect |
| - | - | - |
| `get_campaign_analytics` | Get comprehensive analytics for a campaign | Read-only |
| `get_campaign_analytics_by_date` | Get campaign analytics for a specific date range | Read-only |
| `get_campaign_sequence_analytics` | Get sequence-level analytics for a campaign | Read-only |
| `get_campaign_top_level_analytics_by_date` | Get top-level campaign analytics for a specific date range | Read-only |
| `get_analytics_campaign_list` | Get list of campaigns for analytics with optional client filtering | Read-only |
| `get_analytics_client_list` | Get list of clients for analytics reporting | Read-only |
| `get_client_month_wise_count` | Get month-wise count of clients for trend analysis | Read-only |
| `get_overall_stats_v2` | Get comprehensive overall statistics for campaigns with advanced filtering options | Read-only |
| `get_day_wise_overall_stats` | Get day-by-day breakdown of overall campaign statistics | Read-only |
| `get_day_wise_positive_reply_stats` | Get day-by-day breakdown of positive reply statistics and sentiment analysis | Read-only |
| `get_campaign_overall_stats` | Get campaign-wise performance metrics and statistics | Read-only |
| `get_client_overall_stats` | Get client-wise performance metrics and statistics | Read-only |
| `get_mailbox_name_wise_health_metrics` | Get email health metrics grouped by mailbox name for monitoring deliverability | Read-only |
| `get_mailbox_domain_wise_health_metrics` | Get email health metrics grouped by domain for monitoring domain reputation | Read-only |
| `get_mailbox_provider_wise_performance` | Get email performance metrics grouped by email provider (Gmail, Outlook, etc) | Read-only |
| `get_team_board_overall_stats` | Get team member performance statistics for team management and optimization | Read-only |
| `get_lead_overall_stats` | Get comprehensive lead statistics including status distribution and engagement metrics | Read-only |
| `get_lead_category_wise_response` | Get lead response statistics broken down by category for response analysis | Read-only |
| `get_campaign_leads_before_first_reply` | Get metrics on how many leads are contacted before receiving the first reply | Read-only |
| `get_campaign_follow_up_reply_rate` | Get reply rates for each follow-up sequence to optimize email sequences | Read-only |
| `get_campaign_lead_to_reply_time` | Get metrics on time taken from first email sent to receiving a reply | Read-only |
| `get_campaign_response_stats` | Get detailed response statistics including categorization and sentiment analysis | Read-only |
| `get_campaign_status_stats` | Get statistics on campaign statuses (active, paused, completed, etc) | Read-only |
| `get_mailbox_overall_stats` | Get overall mailbox statistics including health scores and capacity | Read-only |
| `get_day_wise_overall_stats_by_sent_time` | Get day-wise statistics based on email sent time for time-based analysis | Read-only |
| `get_day_wise_positive_reply_stats_by_sent_time` | Get day-wise positive reply statistics based on email sent time | Read-only |

### Email accounts

| Tool | What it does | Effect |
| - | - | - |
| `get_email_accounts` | Get all email accounts with optional filtering | Read-only |
| `get_email_account_by_id` | Get all the details of a specific email account by ID | Read-only |
| `get_campaign_email_accounts` | Get email accounts associated with a campaign | Read-only |
| `get_email_warmup_stats` | Get warmup statistics for an email account | Read-only |
| `update_email_account_tag` | Create or update an email account tag | Changes or deletes data |
| `add_tags_to_email_accounts` | Add tags to multiple email accounts | Adds data |
| `remove_tags_from_email_accounts` | Remove tags from multiple email accounts | Changes or deletes data |
| `update_email_warmup_details` | Update warmup settings for an email account | Changes or deletes data |
| `reconnect_failed_email_accounts` | Bulk reconnect all failed email accounts | Changes or deletes data |
| `process_single_failed_email_account` | Process and reconnect a single failed email account | Changes or deletes data |
| `update_email_account_details` | Update specific details of an email account | Changes or deletes data |
| `delete_email_account` | Delete a single email account | Changes or deletes data |
| `bulk_delete_email_accounts` | Bulk delete multiple SMTP email accounts | Changes or deletes data |
| `disconnect_google_account` | Disconnect a Gmail OAuth account | Changes or deletes data |
| `disconnect_microsoft_account` | Disconnect an Outlook/Microsoft OAuth account | Changes or deletes data |
| `fetch_email_messages` | Fetch messages from an email account | Read-only |
| `bulk_fetch_email_messages` | Fetch messages from multiple email accounts in one request | Read-only |

### Leads

| Tool | What it does | Effect |
| - | - | - |
| `get_lead_by_email` | Get lead information by email address | Read-only |
| `get_lead_categories` | Get all available lead categories | Read-only |
| `get_global_leads` | Get global leads with filtering options | Read-only |
| `get_campaigns_by_lead_id` | Get all campaigns associated with a specific lead | Read-only |
| `get_domain_block_list` | Get list of blocked domains with filtering options | Read-only |
| `unsubscribe_lead_globally` | Unsubscribe a lead from all campaigns across the entire account | Changes or deletes data |
| `add_domain_block_list` | Add domains to the block list to prevent sending emails to those domains | Adds data |
| `push_leads_to_campaign` | Copy or move EXISTING leads (from a lead list or by lead ID) into a campaign. | Can send email |
| `get_all_leads` | Get all leads with advanced filtering options. | Read-only |
| `push_leads_from_campaign_to_list` | Push specific leads from a campaign to a list | Adds data |
| `push_leads_to_list` | Push leads from all leads view to a list | Adds data |
| `get_lead_sequence_details` | Get detailed sequence information for a specific lead in a campaign | Read-only |
| `get_campaign_lead_overview` | Get overview of all campaigns a lead is part of | Read-only |
| `move_leads_between_lists` | Copy or move leads between lists | Changes or deletes data |

### Clients (agency)

| Tool | What it does | Effect |
| - | - | - |
| `get_all_clients` | Get list of all clients | Read-only |

### Master Inbox

| Tool | What it does | Effect |
| - | - | - |
| `get_master_inbox_by_id` | Get detailed information about a specific master inbox email by ID | Read-only |
| `fetch_master_inbox_sent_emails` | Fetch sent emails from master inbox with advanced filtering | Read-only |
| `fetch_master_inbox_replies` | Fetch email replies from master inbox with advanced filtering | Read-only |
| `fetch_master_inbox_assigned_me` | Fetch emails assigned to me from master inbox | Read-only |
| `fetch_master_inbox_unread_replies` | Fetch unread email replies from master inbox | Read-only |
| `fetch_master_inbox_important_emails` | Fetch important emails from master inbox | Read-only |
| `fetch_master_inbox_snoozed_emails` | Fetch snoozed emails from master inbox | Read-only |
| `fetch_master_inbox_reminders_emails` | Fetch emails with reminders from master inbox | Read-only |
| `fetch_master_inbox_scheduled_emails` | Fetch scheduled emails from master inbox | Read-only |
| `fetch_master_inbox_archived_emails` | Fetch archived emails from master inbox | Read-only |
| `fetch_master_inbox_custom_view_emails` | Fetch emails from a custom view in master inbox | Read-only |
| `update_master_inbox_lead_category` | Update the category of a lead in master inbox | Changes or deletes data |
| `update_master_inbox_lead_revenue` | Update the revenue value of a lead in master inbox | Changes or deletes data |
| `create_master_inbox_lead_task` | Create a task for a lead in master inbox | Adds data |
| `create_master_inbox_lead_note` | Create a note for a lead in master inbox | Adds data |
| `resume_master_inbox_lead` | Resume a paused lead in a campaign | Can send email |
| `block_master_inbox_domains` | Block domains from receiving emails | Changes or deletes data |
| `mark_master_inbox_lead_as_unread` | Mark a lead as unread in master inbox (deprecated - use change\_master\_inbox\_read\_status) | Changes or deletes data |
| `change_master_inbox_read_status` | Change the read status of a lead in master inbox | Changes or deletes data |
| `update_master_inbox_lead_team_member` | Assign a team member to a lead in master inbox | Changes or deletes data |
| `set_master_inbox_reminder` | Set a reminder for a lead in master inbox | Adds data |
| `push_to_master_inbox_subsequence` | Push a lead to a subsequence campaign | Can send email |
| `fetch_master_inbox_untracked_replies` | Fetch untracked email replies that were not captured by campaigns | Read-only |

### Diagnostics

| Tool | What it does | Effect |
| - | - | - |
| `debug_email_account` | Debug email account issues. | Read-only |
| `get_campaign_diagnostics` | Get comprehensive diagnostic information for a campaign. | Read-only |
| `investigate_lead` | Investigate a specific lead to understand their journey, interactions, and any issues. | Read-only |
| `check_webhook_status` | Check the status and health of webhooks configured for the account. | Read-only |
| `check_mailbox_domain_deliverability` | Check the deliverability status and configuration of a mailbox domain. | Read-only |
| `get_campaign_sending_volume_audit` | Audit the sending volume for a campaign. | Read-only |
| `check_campaign_bounce_or_lead_quality` | Check campaign bounce rates and lead quality issues. | Read-only |
| `check_whitelabel_domain_cname` | Check the CNAME configuration for whitelabel domains. | Read-only |
| `check_signature_missing` | Check if email signatures are missing in a campaign. | Read-only |
| `analyse_campaign_copy` | Analyze the email copy used in a campaign. | Read-only |
| `analyse_campaign_mailboxes` | Analyze the mailboxes used in a campaign. | Read-only |

### Smart Prospect

| Tool | What it does | Effect |
| - | - | - |
| `sp_get_departments` | List all active departments for Smart Prospect search filters with pagination and search | Read-only |
| `sp_get_cities` | List all active cities for Smart Prospect search filters with pagination, search, and optional state/country filtering | Read-only |
| `sp_get_countries` | List all active countries for Smart Prospect search filters with pagination and search | Read-only |
| `sp_get_states` | List all active states for Smart Prospect search filters with pagination, search, and optional country filtering | Read-only |
| `sp_get_industries` | List all active industries for Smart Prospect search filters with pagination, search, and optional sub-industry inclusion | Read-only |
| `sp_get_sub_industries` | List all active sub-industries for Smart Prospect search filters with pagination, search, and optional industry filtering | Read-only |
| `sp_get_technologies` | List all active technologies for Smart Prospect search filters with pagination and search | Read-only |
| `sp_get_head_counts` | List all active employee headcount ranges for Smart Prospect search filters | Read-only |
| `sp_get_levels` | List all active seniority levels for Smart Prospect search filters (e.g., C-Level, VP, Director) | Read-only |
| `sp_get_revenue_ranges` | Get all active revenue range options for Smart Prospect search filters | Read-only |
| `sp_get_company_autocomplete` | Search company names from Elasticsearch for autocomplete in Smart Prospect | Read-only |
| `sp_get_domain_autocomplete` | Search domain names from Elasticsearch for autocomplete in Smart Prospect | Read-only |
| `sp_get_job_title_autocomplete` | Search job titles from Elasticsearch for autocomplete in Smart Prospect | Read-only |
| `sp_get_keywords_autocomplete` | Search company keywords from Elasticsearch for autocomplete in Smart Prospect | Read-only |
| `sp_search_contacts` | Search the Smart Prospect contact database using multiple filter criteria. | Read-only |
| `sp_find_emails` | Find email addresses for up to 10 contacts by first name, last name, and company domain. | Spends credits |
| `sp_fetch_contacts` | Fetch/reveal email addresses for contacts from a Smart Prospect search. | Spends credits |
| `sp_get_contacts` | Retrieve previously fetched Smart Prospect contacts by filter ID or adapt IDs, with optional filtering by verification status and pagination | Read-only |
| `sp_get_all_contacts` | Retrieve all contacts for a filter ID in email\_leads format suitable for campaign import. | Read-only |
| `sp_export_contacts` | Export Smart Prospect contacts as CSV for a given filter ID with optional filtering | Read-only |
| `sp_get_pending_count` | Get the number of contacts still pending email discovery for a Smart Prospect filter | Read-only |
| `sp_get_saved_searches` | Retrieve the user's saved Smart Prospect searches with pagination | Read-only |
| `sp_get_recent_searches` | Retrieve the user's recent (unsaved) Smart Prospect searches with pagination | Read-only |
| `sp_get_fetched_leads` | Retrieve the user's fetched lead records (searches where contacts were actually fetched/revealed) | Read-only |
| `sp_save_search` | Save a set of Smart Prospect search filters as a named saved search | Adds data |
| `sp_update_saved_search` | Update the name of a saved Smart Prospect search | Changes or deletes data |
| `sp_update_fetched_lead` | Update the name of a fetched lead record in Smart Prospect | Changes or deletes data |
| `sp_get_search_analytics` | Get Smart Prospect search and credit usage analytics including leads found, emails fetched, available credits, and daily limits | Read-only |
| `sp_get_reply_analytics` | Get Smart Prospect reply analytics comparing current month vs previous month | Read-only |
| `sp_review_contacts` | Trigger a review/recount of Smart Prospect contacts and metrics for a filter. | Changes or deletes data |
| `sp_update_metrics` | Batch update fetch\_details metrics for a Smart Prospect filter record. | Changes or deletes data |
| `sp_update_email_metrics` | Update metrics and record the verification result for a specific email address within a Smart Prospect filter | Changes or deletes data |

### Smart Delivery

| Tool | What it does | Effect |
| - | - | - |
| `sd_get_limits` | Smart Delivery plan limits: run credits left this billing period, max sender mailboxes per test, seeds per sender per provider. | Read-only |
| `sd_refresh_limits` | Re-read Smart Delivery plan credits from Smartlead and return the updated limits. | Adds data |
| `sd_list_providers` | List the inbox providers a test can measure placement at (Gmail, Outlook, ...). | Read-only |
| `sd_get_report_summary` | Account-wide Smart Delivery placement totals (inbox / spam / missing ...) across all tests over a date range (max 400 days). | Read-only |
| `sd_list_tests` | List Smart Delivery placement tests, newest first, each with its latest report score. | Read-only |
| `sd_get_test` | Get a Smart Delivery test: settings, schedule, providers, sender mailboxes and its latest 10 runs (newest first). | Read-only |
| `sd_get_test_history` | Run reports of one test over a date range (oldest first within a page; the cursor steps back to older runs). | Read-only |
| `sd_create_test` | Create a Smart Delivery inbox placement test. | Sends email, spends credits |
| `sd_update_test` | Update a Smart Delivery test: name, description, folder (null = no folder), AUTO schedule or email spacing. | Changes or deletes data |
| `sd_pause_test` | Pause an ACTIVE AUTO test: no further scheduled runs until resumed. | Changes or deletes data |
| `sd_resume_test` | Resume a PAUSED AUTO test. | Sends email, spends credits |
| `sd_stop_test` | Stop a test for good: no further runs. | Changes or deletes data |
| `sd_delete_test` | Delete a test: it disappears from lists and its schedule stops. | Changes or deletes data |
| `sd_get_run` | Get one Smart Delivery run: status, timing, skipped senders, and email counts by placement and send status. | Read-only |
| `sd_get_run_placement` | Live placement of a run while it collects (inbox / spam / missing ... so far). | Read-only |
| `sd_get_run_report` | Report of a finished run: score, band, headline, recommendations, placement counts, time to inbox, by provider and by sender. \{ready:false} while the run is still collecting. include\_diagnostics… | Read-only |
| `sd_list_run_seeds` | Seed inboxes a run sent to (provider and sending mailbox for each). | Read-only |
| `sd_list_run_emails` | Per-email results of a run (sender, provider, placement, send status, error). | Read-only |
| `sd_get_email_trace` | Timeline of one test email: sent, delivered, found (or missing / bounced), with the provider responses. | Read-only |
| `sd_get_email_headers` | Headers of the copy received at the seed inbox (SPF/DKIM/DMARC results, spam verdict headers, routing). | Read-only |
| `sd_list_folders` | List Smart Delivery test folders. | Read-only |
| `sd_create_folder` | Create a folder to group Smart Delivery tests. | Adds data |
| `sd_rename_folder` | Rename a Smart Delivery folder. | Changes or deletes data |
| `sd_delete_folder` | Delete a Smart Delivery folder. | Changes or deletes data |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.