Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Check custom variable
EMELIA_MCP_CHECK_CUSTOM_VARIABLETells whether a name is already taken for a schema, either by one of your custom variables (`reason: custom_variable`) or by a standard field (`lead_field` or `company_field`). The name is normalized with the same rule as create_custom_variable and the normalized `technicalName` is returned.
Download linkedin scraper
EMELIA_MCP_DOWNLOAD_LINKEDIN_SCRAPERReturns the CSV of a scraper as text. Separator `;`, first line = column names, UTF-8 without BOM, values quoted only when needed. Large extractions give large responses; output beyond 100,000 characters is cut on a line boundary. It can be called while the extraction runs: you get what has been collected so far. `format`: `1` = only contacts with an email (requires a finished enrichment with at least one email), `2` = only contacts without an email (all contacts if the scraper was never enriched), `3` = all contacts. **People columns** (Sales Navigator and classic searches): id, firstName, lastName, fullName, location, isPremium, openProfile, linkedinUrlProfile, summary, title, company, companyId, companyLocation, companyDescription, companySize, estimatedMinRevenue, estimatedMaxRevenue, industry, description, companyPage, companyWebsite, type. `id` is the Sales Navigator profile key and can contain commas. Fields that LinkedIn does not provide stay empty (classic searches fill fewer columns). **After an email enrichment** the file is rewritten in this order: id, email_emelia, qualification_emelia, gender_emelia, firstName, lastName, fullName, location, isPremium, openProfile, linkedinUrlProfile, phone_number_emelia, phone_qualification_emelia, phone_country_emelia, summary, title, company, companyId, companyLocation, companyDescription, companySize, estimatedMaxRevenue, estimatedMinRevenue, industry, description, companyPage, companyWebsite, domain_emelia, type. **Account search columns** (companies): id, companyName, companyPage, companyDescription, companySize, employeeCountRange, industry, companyWebsite, companyLocation, yearFounded, type, estimatedMinRevenue, estimatedMaxRevenue. Once a scraper is `done`, its contacts are also imported automatically into an Emelia list (`convertedListId`), that you can manage with the list tools.
Export campaign
EMELIA_MCP_EXPORT_CAMPAIGNReturns campaign data as CSV text. `contacts`: one line per contact with its custom fields, activities and replied flag; `activities`: activity log; `replies`: replies. Optional date range on activities. A CSV longer than 100,000 characters is cut on a line boundary, with a note giving the number of lines shown.
Export list
EMELIA_MCP_EXPORT_LISTExports one list as CSV text and waits for the file. Columns: First Name, Last Name, Full Name, Email, Email Verified, Phone, Mobile Phone, Job Title, LinkedIn URL, Bio, Company, Website, LinkedIn Page, Company Size, Industry, Country, Region, City, Status, Handle, then one column per custom variable of the account, then Lists and Campaigns (company-only lists use a shorter header). Email Verified is the email verification status: verified, unverified (checked, inconclusive), invalid or unknown (never checked). `leadIds`, `search`, `statuses` and `filters` narrow the export. Up to 5,000 contacts the file comes back directly; above that Emelia prepares it in the background and this tool waits for it (up to 90 seconds), then returns the CSV. If it is still running after that, it returns the job id: call get_list_export later. Only one large export runs at a time per account: while one is queued or running, a new request returns that existing job, which may concern other lists. An export above 100,000 contacts is refused. Output beyond 100,000 characters is cut on a line boundary.
Find campaigns using lists
EMELIA_MCP_FIND_CAMPAIGNS_USING_LISTSFor each list id, returns the non-archived campaigns that include the list in their recipients. Use it to know whether adding contacts to a list will feed a campaign. Lists used only as exclusion lists are not reported. Ids that are not valid ObjectIds are dropped; ids of lists that are not yours return an empty array.
Find contact
EMELIA_MCP_FIND_CONTACTSearch a contact across ALL the lists of the account by email address or LinkedIn profile URL. Returns the lists that contain the contact and the contact data itself. Use this to answer "do we already have this person?" or to locate a contact before updating or deleting it.
Get activity message
EMELIA_MCP_GET_ACTIVITY_MESSAGERebuilds the content sent for a `SENT`, `MESSAGE_SENT`, `INMAIL_SENT`, `INVITED` or `WHATSAPP_MESSAGE_SENT` activity by replaying the step template against the contact. The sent content itself is not stored: the result can differ if the step or the contact changed since. For a `MANUAL_EMAIL_SENT` or `MANUAL_LINKEDIN_SENT` activity, the content actually sent is stored and returned as is, with `exact: true`. Errors use a different format here: `{"error": "NOT_FOUND"}` (404) or `{"error": "NO_MESSAGE"}` (422).
Get blacklist
EMELIA_MCP_GET_BLACKLISTReturns the account blacklist documents. WARNING: the response is a RAW ARRAY. Each item carries `blacklistContent` (email and domain blacklist, newline-separated) and `linkedinBlacklistContent` (LinkedIn handles, newline-separated).
Get campaign
EMELIA_MCP_GET_CAMPAIGNGet the full configuration of a campaign: status, schedule, steps, and the contact lists attached to it (recipients.lists) or excluded from it (recipients.excludedLists), each with id, name and contact count. To manage the contacts of an attached list (add, update, search, delete), use the list tools with the list id.
Get campaign activities
EMELIA_MCP_GET_CAMPAIGN_ACTIVITIESGet the activity feed of a campaign (sent, opened, clicked, replied, bounced, LinkedIn events, messages written by hand with `MANUAL_EMAIL_SENT` and `MANUAL_LINKEDIN_SENT`...). Replied activities include the reply content. Filter by activity type or contact.
Get campaign progress
EMELIA_MCP_GET_CAMPAIGN_PROGRESSFor each step id: how many contacts already passed the step (`completed`) and how many are currently waiting at it (`waiting`). Works on paused campaigns. Returns `{}` for a DRAFT or unknown campaign.
Get campaign sequence guide
EMELIA_MCP_GET_CAMPAIGN_SEQUENCE_GUIDEHow to write the steps of a campaign for update_campaign_steps: the step tree, step types, A/B versions versus successive messages, conditions, variables, attachments and voice notes, and how to edit a campaign that already sent. Read it before building or changing a sequence.
Get campaign stats
EMELIA_MCP_GET_CAMPAIGN_STATSGet the statistics of a campaign: global metrics (sent, opens, clicks, replies, bounces...) and a breakdown per step. Optionally restrict to a date range with start/end (ISO dates).
Get contact
EMELIA_MCP_GET_CONTACTGet a single contact of a list by its leadId (returned by add_contact_to_list or the email/linkedinUrl lookup of get_list_contacts).
Get enrichment result
EMELIA_MCP_GET_ENRICHMENT_RESULTFetch the result of a previously started enrichment job (find_email, find_phone or verify_email) by its jobId. Use it when one of those tools reported the job was still running.
Get linkedin connect link
EMELIA_MCP_GET_LINKEDIN_CONNECT_LINKReturns the state of a connection link created by this workspace. `status` is `wait_for_credentials` (the link was not used yet), `pending` (credentials sent, LinkedIn is waiting for a verification: a code, or a validation in its app), `accepted` (the account is connected), `failed` (the connection failed, the link can be used again until it expires) or `expired` (create a new link). `accountId` is the LinkedIn account id, present for `pending` and `accepted`. An unknown token returns `INVITATION_NOT_FOUND`.
Get linkedin scraper
EMELIA_MCP_GET_LINKEDIN_SCRAPERReturns one scraper with its progress. This is the call to poll while an extraction or an enrichment runs (every 30 to 60 seconds is enough). **Reading the progress** - `status`: see `ScrapperStatus`. The extraction is over when `status` is `done`; `error` gives the reason when `status` is `error`. - `scrapIndex` contacts extracted out of `totalContact` (0 until LinkedIn reports the result count, then capped by the plan rules). - Segmented searches: `segments`, `estimatedEnd`, `nextRunningSegment`, `betweenSegment`. - After enrich_linkedin_scraper: `status` is `enriching`, then `done` again. `enrichIndex` and `enrichFound` are only filled at the end of the enrichment. - `convertedListId`: id of the Emelia list automatically created from a finished scraper (usually within a few minutes after `done`), `null` before. Unlike list_linkedin_scrapers, this response also contains `userId`.
Get list
EMELIA_MCP_GET_LISTGet a list by id: name, contact counters (leads, emails, phones, linkedins), source and status.
Get list contacts
EMELIA_MCP_GET_LIST_CONTACTSPaginated listing of the contacts of a list. To check whether a specific contact exists (and get its leadId for update/delete), pass email or linkedinUrl instead: it returns the exact matches only. email and linkedinUrl are mutually exclusive and take precedence over search/pagination.
Get list export
EMELIA_MCP_GET_LIST_EXPORTReads an export started by export_list that was still running. While it runs, returns its progress (status queued, running, done or failed, rows written, total). Once done, returns the CSV file. A failed job reports its error: start the export again. Jobs are kept 24 hours; an unknown or expired job id returns an error. Output beyond 100,000 characters is cut on a line boundary.