Skip to main content
Glama
Multilead Open API MCP Server

Multilead Open API MCP Server

by vanman2024

Multilead Open API MCP Server

A comprehensive FastMCP server providing access to the Multilead Open API with 74 endpoints for lead management, campaigns, conversations, webhooks, and analytics.

Overview

This MCP server enables Claude and other AI assistants to interact with the Multilead platform for:

  • Lead Management (32 endpoints): Create, retrieve, update, delete, search, and enrich leads with custom fields and tags

  • Campaign Management (12 endpoints): Design, execute, and monitor email campaigns with advanced targeting

  • Conversations (15 endpoints): Access email threads, message history, and conversation analytics

  • Webhooks (8 endpoints): Set up real-time event notifications for leads, campaigns, and conversations

  • Analytics & Reporting (7 endpoints): Generate performance reports, track metrics, and analyze trends

Related MCP server: Ploomes MCP Server

Features

  • Full async/await support for high-performance operations

  • Comprehensive error handling with helpful error messages

  • Authentication via Bearer token (API key)

  • Rate limiting and retry logic

  • Type-safe operations using Pydantic models

  • Example tools, resources, and prompts included

  • Production-ready structure for adding all 74 API endpoints

Prerequisites

Installation

1. Clone or Navigate to Project

cd /home/gotime2022/Projects/mcp-servers/multilead-mcp

2. Create Virtual Environment

Using uv (recommended):

uv venv
source .venv/bin/activate  # On Linux/Mac
# or
.venv\Scripts\activate  # On Windows

Using standard venv:

python -m venv .venv
source .venv/bin/activate  # On Linux/Mac
# or
.venv\Scripts\activate  # On Windows

3. Install Dependencies

Using uv:

uv pip install -e .

Using pip:

pip install -e .

4. Configure Environment Variables

Copy the example environment file and add your API key:

cp .env.example .env

Edit .env and replace your_multilead_api_key_here with your actual API key:

MULTILEAD_API_KEY=ml_live_abc123xyz...
MULTILEAD_BASE_URL=https://api.multilead.co
MULTILEAD_TIMEOUT=30
MULTILEAD_DEBUG=false

Important: Never commit your .env file to version control. It's already in .gitignore.

Usage

Quick Start

STDIO Mode (For Claude Desktop/Code/Cursor)

# 1. Configure environment
cp .env.example .env
nano .env  # Add your MULTILEAD_API_KEY

# 2. Start server
./start.sh

HTTP Mode (For Remote Access)

# 1. Configure environment
cp .env.example .env
nano .env  # Add your MULTILEAD_API_KEY

# 2. Start HTTP server
./start-http.sh

The server will be available at:

  • MCP Endpoint: http://localhost:8000/mcp

  • Health Check: http://localhost:8000/health

Advanced Usage

Custom HTTP Configuration

# Custom host and port
./start-http.sh --host 127.0.0.1 --port 3000

# Production mode (JSON logs)
./start-http.sh --production

# Debug mode
./start-http.sh --log-level DEBUG

Manual Startup

STDIO:

source .venv/bin/activate
export TRANSPORT=stdio
python server.py

HTTP:

source .venv/bin/activate
export TRANSPORT=http
export PORT=8000
python server.py

Health Check

When running in HTTP mode, check server health:

curl http://localhost:8000/health

Expected response:

{
  "status": "healthy",
  "service": "multilead-mcp",
  "version": "1.0.0",
  "transport": "http",
  "api_configured": true
}

Deployment

The Multilead MCP Server supports three deployment modes:

The fastest way to deploy with automatic scaling, monitoring, and HTTPS endpoints.

Quick Start:

Repository: https://github.com/vanman2024/multilead-mcp
Server Entrypoint: server.py:mcp
Required: MULTILEAD_API_KEY environment variable

Deployment URL: https://multilead-mcp.fastmcp.app/mcp

Complete Guide: FastMCP Cloud Quick Start Detailed Documentation: FastMCP Cloud Deployment Guide

💻 STDIO Deployment (Local/IDE Integration)

For Claude Desktop, Cursor, and Claude Code integration.

Quick Setup:

  1. Copy IDE configuration template:

    # For Claude Desktop (macOS)
    cp docs/setup/claude-desktop-config.json ~/Library/Application\ Support/Claude/claude_desktop_config.json
    
    # For Cursor
    cp docs/setup/cursor-mcp-config.json .cursor/mcp_config.json
    
    # For Claude Code
    cp docs/setup/claude-code-mcp.json .claude/mcp.json
  2. Edit configuration file and add your API key

  3. Restart your IDE

Detailed Guide: IDE Setup Guide

🌐 HTTP Deployment (Self-Hosted Remote Access)

For web services, remote access, and custom cloud deployment.

Development:

./start-http.sh

Production: See the complete Deployment Guide for:

  • systemd service configuration

  • Docker deployment

  • nginx reverse proxy setup

  • SSL/TLS configuration

  • Production best practices

Production Features

The server includes production-ready middleware:

  • Structured Logging: JSON or text format, file rotation

  • Request Logging: All requests logged with timing

  • Error Handling: Graceful error responses with proper status codes

  • Rate Limiting: Configurable per-minute and per-hour limits (100/min, 1000/hr default)

  • Health Checks: /health endpoint for monitoring

  • Response Timing: X-Response-Time header on all responses

Configuration:

LOG_LEVEL=INFO              # DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_FORMAT=json             # json (production) or text (development)
RATE_LIMIT_PER_MINUTE=100   # Requests per minute
RATE_LIMIT_PER_HOUR=1000    # Requests per hour

Documentation

Complete deployment documentation is available:

Quick Start:

Deployment Guides:

Setup Guides:

Configuration Templates:

  • Ready-to-use IDE configs in docs/setup/

Available Tools

Lead Management (5 tools implemented)

  1. create_lead: Create a new lead with email, name, company, tags, and custom fields

  2. get_lead: Retrieve a lead by ID with all properties

  3. list_leads: List and filter leads with pagination and filtering

  4. update_lead: Update lead properties, tags, and custom fields

  5. delete_lead: Delete a lead by ID

Example usage with Claude:

Create a new lead with email "john@example.com", first name "John",
last name "Doe", company "Acme Corp", and tags ["enterprise", "qualified"]

Resources

  1. multilead://config: Server configuration and API status

  2. multilead://stats: API usage statistics and account information

Prompts

  1. lead_enrichment_prompt: Template for enriching lead data with AI analysis

  2. campaign_analysis_prompt: Template for analyzing campaign performance

API Coverage

Current Implementation

  • 5 core lead management tools (create, read, update, delete, list)

  • 2 informational resources

  • 2 AI prompt templates

  • Full error handling and authentication

Planned Tools (69 endpoints remaining)

Lead Management (27 more):

  • Bulk import/export

  • Lead scoring and enrichment

  • Tag management

  • Custom field operations

  • Lead lifecycle tracking

  • Duplicate detection

  • Lead assignment

Campaign Management (12 endpoints):

  • Campaign CRUD operations

  • Template management

  • Segment targeting

  • Schedule management

  • Performance tracking

  • A/B testing

Conversations (15 endpoints):

  • Thread retrieval

  • Message history

  • Participant tracking

  • Conversation analytics

  • Export capabilities

Webhooks (8 endpoints):

  • Webhook registration

  • Event subscriptions

  • Delivery logs

  • Webhook testing

Analytics (7 endpoints):

  • Lead reports

  • Campaign analytics

  • Engagement metrics

  • Custom reporting

Project Structure

multilead-mcp/
├── server.py                          # Main FastMCP server implementation
├── pyproject.toml                     # Project metadata and dependencies
├── .env.example                       # Environment variable template
├── .gitignore                        # Git ignore patterns
├── README.md                         # This file
├── start.sh                          # STDIO startup script
├── start-http.sh                     # HTTP startup script
├── docs/                             # Complete documentation
│   ├── deployment/                   # Deployment guides
│   │   ├── DEPLOYMENT.md            # Complete deployment guide
│   │   ├── DEPLOYMENT_CHECKLIST.md  # Deployment checklist
│   │   └── .env.production          # Production environment template
│   ├── setup/                        # Setup and configuration
│   │   ├── IDE_SETUP.md             # IDE integration guide
│   │   ├── ENVIRONMENT_VARIABLES.md # Environment variables reference
│   │   ├── claude-desktop-config.json  # Claude Desktop template
│   │   ├── cursor-mcp-config.json      # Cursor template
│   │   ├── claude-code-mcp.json        # Claude Code template
│   │   └── http-client-config.json     # HTTP client template
│   └── testing/                      # Testing documentation
├── logs/                             # Server logs (HTTP mode only, gitignored)
└── tests/                            # Test suite (to be implemented)
    └── test_server.py

Development

Adding New Tools

Follow the pattern in server.py:

@mcp.tool()
async def your_new_tool(
    param1: str,
    param2: Optional[int] = None
) -> Dict[str, Any]:
    """
    Tool description for LLM

    Args:
        param1: Description of param1
        param2: Description of param2

    Returns:
        Response data from API
    """
    result = await client.request(
        "GET",
        "/v1/your-endpoint",
        params={"param1": param1, "param2": param2}
    )
    return result

Code Quality

# Format code
black server.py

# Lint code
ruff check server.py

# Type checking (optional)
mypy server.py

Security Best Practices

  • Never hardcode API keys in source code

  • Always use environment variables for secrets

  • The .env file is in .gitignore to prevent accidental commits

  • API keys are never logged or exposed in error messages

  • Use .env.example as a template with placeholders only

Troubleshooting

Authentication Errors

Error: Authentication failed. Please check your MULTILEAD_API_KEY.

Solution: Verify your API key is correct and active at https://app.multilead.co/settings/api

Timeout Errors

Error: Request timed out after 30 seconds.

Solution: Increase the timeout in your .env file:

MULTILEAD_TIMEOUT=60

Rate Limiting

Error: Rate limit exceeded. Please wait before making more requests.

Solution: The API has rate limits. Wait a few minutes before retrying. Consider implementing request queuing for high-volume operations.

Connection Errors

Error: Network error while connecting to Multilead API

Solution:

  1. Check your internet connection

  2. Verify the MULTILEAD_BASE_URL is correct

  3. Check if Multilead API is operational

API Documentation

For complete API reference, visit:

FastMCP Documentation

Learn more about FastMCP:

Contributing

Contributions are welcome! To add more endpoints:

  1. Review the Multilead API documentation

  2. Add the tool function following existing patterns

  3. Include proper type hints and docstrings

  4. Test the endpoint manually

  5. Update this README with the new tool

License

MIT License - See LICENSE file for details

Support

For issues with:

Changelog

Version 1.0.0 (2025-11-05)

  • Initial release

  • 5 core lead management tools implemented

  • 2 informational resources

  • 2 AI prompt templates

  • Full authentication and error handling

  • Production-ready foundation for 74 API endpoints

Available Tools

77 tools
activate_inboxflare_warmupB

Activate InboxFlare warm-up for a user

This endpoint creates an account for the user on the InboxFlare warm-up tool and sends credentials via email.

Args: user_id: User ID to activate warm-up for

Returns: Success confirmation with account creation details

Inputs: user_id (required). Returns: object

add_keywords_to_blacklistB

Add keywords to your seat's blacklist via JSON

Args: user_id: User ID account_id: Account ID (seat ID) keywords: List of keywords to blacklist (e.g., ["John Smith"]) keyword_type: Type of keyword. Options: "company_name", "email", "domain", "full_name", "profile_url", "job_title" comparison_type: How to match keywords. Options: "exact", "contains", "starts_with", "ends_with"

Returns: Success confirmation

Inputs: user_id (required), account_id (required), keywords (required), keyword_type (required), +1 more. Returns: object

add_keywords_to_global_blacklistA

Add keywords to the global blacklist via JSON

Args: team_id: Team ID user_id: User ID keywords: List of keywords to blacklist (e.g., ["test", "test123"]) keyword_type: Type of keyword. Options: "company_name", "email", "domain", "full_name", "profile_url", "job_title" comparison_type: How to match keywords. Options: "exact", "contains", "starts_with", "ends_with"

Returns: Success confirmation

Inputs: team_id (required), user_id (required), keywords (required), keyword_type (required), +1 more. Returns: object

add_leads_to_campaignA

Add a new lead to a selected campaign

Either profileUrl or email is required. All other fields can be provided in custom_fields.

Args: campaign_id: The ID of the campaign to add the lead to profile_url: LinkedIn profile URL of the lead (required if email not provided) email: Email address of the lead (required if profile_url not provided) custom_fields: Additional custom fields for the lead (e.g., {"first_name": "John", "company": "Acme"})

Returns: Created lead information

Example: add_leads_to_campaign( campaign_id="12345", email="lead@example.com", custom_fields={"first_name": "John", "company": "Acme Corp"} )

Inputs: campaign_id (required), profile_url, email, custom_fields. Returns: object

assign_tag_to_leadC

Add a new tag to a specific lead

Args: user_id: The ID of the user account_id: The ID of the account (seat) lead_id: The ID of the lead tag_id: The ID of the tag to assign

Returns: Confirmation of tag assignment

Inputs: user_id (required), account_id (required), lead_id (required), tag_id (required). Returns: object

cancel_seatC

Cancel Seat

This action cancels a specific seat within a specific team.

Args: user_id: User ID who owns the seat account_id: Account/Seat ID to cancel reason: Reason for cancellation

Returns: Cancellation confirmation with details

Inputs: user_id (required), account_id (required), reason (required). Returns: object

change_a_passwordA

Change A Password

This action changes the password for a specific user. Regular users can only change their own password and platform co-owners can change the password for all users within their platform.

Args: user_id: User ID whose password to change new_password: New password to set

Returns: Confirmation of password change

Inputs: user_id (required), new_password (required). Returns: object

connect_linkedin_accountB

Connect LinkedIn Account

This actions connects a specific LinkedIn account to a specific seat.

Args: user_id: User ID account_id: Account/Seat ID linkedin_email: LinkedIn account email linkedin_password: LinkedIn account password linkedin_subscription_id: LinkedIn subscription type ID country_code: Country code for proxy (e.g., "us", "gb") setup_proxy_type: Proxy setup type (e.g., "BUY") note: Optional note about the connection

Returns: LinkedIn connection status and details

Inputs: user_id (required), account_id (required), linkedin_email (required), linkedin_password (required), +4 more. Returns: object

create_campaign_from_templateA

Create a new campaign from a saved sequence template

This creates a URL-based campaign from the user's saved sequences. The campaign goes live immediately after creation.

Args: user_id: The ID of the user account_id: The ID of the account (seat) sequence_template_id: The ID of the sequence template to use campaign_name: Name for the new campaign lead_source_url: Optional lead source URL to attach to the campaign

Returns: Created campaign information

Example: create_campaign_from_template( user_id="123", account_id="456", sequence_template_id="789", campaign_name="Q1 Outreach Campaign", lead_source_url="https://linkedin.com/sales/search/..." )

Inputs: user_id (required), account_id (required), sequence_template_id (required), campaign_name (required), +1 more. Returns: object

create_global_webhookB

Create a global webhook

This creates a webhook that listens for events across all campaigns and resources in the account.

Args: user_id: User ID account_id: Account ID webhooks: List of webhook configurations, each containing: - url: Webhook endpoint URL - events: List of event types to subscribe to

Returns: Created global webhook details

Inputs: user_id (required), account_id (required), webhooks (required). Returns: object

create_leadB

Create a new lead in Multilead

Args: email: Lead email address (required) first_name: Lead first name last_name: Lead last name company: Company name title: Job title phone: Phone number tags: List of tags to assign custom_fields: Custom field key-value pairs

Returns: Created lead object with ID and metadata

Inputs: email (required), first_name, last_name, company, +4 more. Returns: object

create_lead_sourceA

Create a lead source and link it to a campaign

This creates a lead source (e.g., Sales Navigator search URL) and connects it to a campaign for automatic lead import.

Args: user_id: The ID of the user who owns the seat account_id: The ID of the seat where the campaign is located campaign_id: The ID of the campaign to link the lead source to lead_source_url: URL of the lead source (e.g., LinkedIn Sales Navigator search) lead_source_type: Type of lead source (e.g., "SALES_NAVIGATOR") dashboard: Dashboard ID (optional) auto_reuse: Auto-reuse setting (optional, 1 to enable) auto_reuse_interval: Auto-reuse interval in days (optional)

Returns: Created lead source information

Example: create_lead_source( user_id="123", account_id="456", campaign_id=789, lead_source_url="https://www.linkedin.com/sales/search/people?...", lead_source_type="SALES_NAVIGATOR", dashboard=2, auto_reuse=1, auto_reuse_interval=100 )

Inputs: user_id (required), account_id (required), campaign_id (required), lead_source_url (required), +4 more. Returns: object

create_seatB

Create Seat

This action creates a new seat within a specific team.

Args: user_id: User ID who owns the seat plan_id: Plan ID for the seat subscription full_name: Full name for the seat start_utc_time: Start time in UTC (e.g., "08:00") end_utc_time: End time in UTC (e.g., "16:00") time_zone: Timezone (e.g., "Europe/Belgrade", "America/New_York") team_id: Team ID to create the seat in whitelabel_id: Whitelabel ID

Returns: Created seat object with subscription details

Inputs: user_id (required), plan_id (required), full_name (required), start_utc_time (required), +4 more. Returns: object

create_tagB

Create a new tag for a specific seat (account)

Args: user_id: The ID of the user account_id: The ID of the account (seat) tag_name: Name of the tag to create

Returns: Created tag information including tag ID

Inputs: user_id (required), account_id (required), tag_name (required). Returns: object

create_teamB

Create a new team for a specific user

Args: user_id: The user ID who will own the team (required) name: The name of the team to create (required)

Returns: Created team object with ID and metadata

Example: create_team(user_id="1451", name="Sales Team")

Inputs: user_id (required), name (required). Returns: object

create_team_roleB

Create a role for a specific team with custom permissions

Args: team_id: The ID of the team for which to create this role (required) user_id: Your user ID (required) name: The name of the role (required) permissions: List of permission objects with 'id' and 'isViewOnly' fields (required)

Returns: Created role object with ID and permissions

Example: create_team_role( team_id="1570", user_id="1451", name="Manager", permissions=[ {"id": 1, "isViewOnly": False}, {"id": 2, "isViewOnly": False} ] )

Inputs: team_id (required), user_id (required), name (required), permissions (required). Returns: object

create_webhookA

Create a non-global webhook

This creates a webhook that listens for specific events. Non-global webhooks are scoped to specific campaigns or resources.

Args: user_id: User ID account_id: Account ID webhooks: List of webhook configurations, each containing: - url: Webhook endpoint URL - events: List of event types to subscribe to - campaignId: (Optional) Campaign ID to scope webhook to

Returns: Created webhook details

Inputs: user_id (required), account_id (required), webhooks (required). Returns: object

delete_global_webhookB

Delete a global webhook

This removes a specific global webhook by matching URL and event subscriptions.

Args: user_id: User ID account_id: Account ID array_of_actions: List of event action types the webhook was subscribed to array_of_ids: List of resource IDs associated with the webhook url: Webhook URL to delete

Returns: Success confirmation

Inputs: user_id (required), account_id (required), array_of_actions (required), array_of_ids (required), +1 more. Returns: object

delete_leadA

Delete a lead by ID

Args: lead_id: The unique identifier of the lead to delete

Returns: Success confirmation message

Inputs: lead_id (required). Returns: object

delete_webhookA

Delete a non-global webhook

This removes a specific non-global webhook by its ID.

Args: user_id: User ID account_id: Account ID webhook_id: Webhook ID to delete

Returns: Success confirmation

Inputs: user_id (required), account_id (required), webhook_id (required). Returns: object

disconnect_linkedin_accountC

Disconnect LinkedIn Account

This action disconnects a specific LinkedIn account from the seat on the platform.

Args: user_id: User ID account_id: Account/Seat ID with LinkedIn connection

Returns: Disconnection confirmation

Inputs: user_id (required), account_id (required). Returns: object

export_all_campaignsC

Export all campaigns in CSV format

Args: user_id: The ID of the user account_id: The ID of the account (seat)

Returns: CSV export of all campaigns or download URL

Inputs: user_id (required), account_id (required). Returns: object

export_leads_from_campaignA

Export leads from a specific campaign in CSV format with advanced filtering

Supports 7 groups of filters with OR logic within groups and AND logic between groups.

Args: user_id: The ID of the user account_id: The ID of the account (seat) campaign_id: The ID of the campaign to export leads from search: Search leads by fullName, email, company, headline, etc. filter_by_verified_emails: Export leads with verified emails filter_by_not_verified_emails: Export leads without verified emails filter_by_status: Filter by status ([1]=Discovered, [2]=Connection pending, [3]=Connected not replied, [4]=Replied) filter_by_connection_degree: Used with filter_by_status=[4] for additional status filtering filter_by_current_step: Export leads on specific campaign steps filter_by_selected_leads: Export specific leads by their IDs filter_by_name: Export leads whose names contain this value filter_by_company: Export leads whose company contains this value filter_by_occupation: Export leads whose occupation contains this value filter_by_headline: Export leads whose headline contains this value filter_by_out_of_office: Export leads with "Out of office" status filter_by_step_change_timestamp: Export leads with stepChangeTimestamp greater than this

Returns: CSV export data or download URL

Example: export_leads_from_campaign( user_id="123", account_id="456", campaign_id="789", filter_by_status=[4], filter_by_verified_emails=True )

Inputs: user_id (required), account_id (required), campaign_id (required), search, +12 more. Returns: object

export_statistics_csvB

Export campaign statistics as a CSV file

This retrieves statistics for all campaigns in CSV format.

Args: user_id: User ID account_id: Account ID from_timestamp: Statistics start timestamp (Unix timestamp) to_timestamp: Statistics end timestamp (Unix timestamp) curves: List of statistic types to retrieve (same values as get_statistics) time_zone: Timezone for statistics (e.g., "America/New_York", "Europe/Belgrade")

Returns: CSV file data with campaign statistics

Inputs: user_id (required), account_id (required), from_timestamp (required), to_timestamp (required), +2 more. Returns: object

get_all_campaigns_statisticsC

Get summary statistics for all campaigns

This retrieves platform-wide summary statistics (totals) for all campaigns.

Args: user_id: User ID account_id: Account ID campaign_state: Optional campaign state filter (default: 1)

Returns: Summary statistics for all campaigns

Inputs: user_id (required), account_id (required), campaign_state. Returns: object

get_all_conversationsB

Retrieve all conversations from all channels

This gets conversations from the "All channels" endpoint, with optional filtering by name and tags.

Args: user_id: User ID account_id: Account ID limit: Maximum number of results to return (default: 100) offset: Pagination offset (default: 0) name: Optional search filter for contact name tag_ids: Optional comma-separated list of tag IDs to filter by

Returns: List of all conversations

Inputs: user_id (required), account_id (required), limit, offset, +2 more. Returns: object

get_campaign_conversationsB

Retrieve conversations from a specific campaign

This gets all conversations associated with a particular campaign.

Args: user_id: User ID account_id: Account ID campaign_id: Campaign ID to get conversations from limit: Maximum number of results to return (default: 100) offset: Pagination offset (default: 0) name: Optional search filter for contact name

Returns: Conversations from the specified campaign

Inputs: user_id (required), account_id (required), campaign_id (required), limit, +2 more. Returns: object

get_campaign_infoC

Retrieve detailed information about a specific campaign

Args: user_id: The ID of the user account_id: The ID of the account (seat) campaign_id: The ID of the campaign

Returns: Campaign details including name, status, steps, statistics, etc.

Inputs: user_id (required), account_id (required), campaign_id (required). Returns: object

get_campaign_listA

Retrieve list of all campaigns with filtering and sorting

Args: user_id: The ID of the user account_id: The ID of the account (seat) campaign_state: Campaign status filter (1=ACTIVE, 2=DRAFT, 3=ARCHIVED, default: 1) sort_order: Sort direction ("ASC" or "DESC") sort_column: Column to sort by ("isActive", "name", or "createdAt") limit: Number of results to return (default: 30) offset: Pagination offset (default: 0)

Returns: List of campaigns with pagination metadata

Example: get_campaign_list( user_id="123", account_id="456", campaign_state=1, sort_order="DESC", sort_column="createdAt", limit=50 )

Inputs: user_id (required), account_id (required), campaign_state, sort_order, +3 more. Returns: object

get_conversations_by_identifiersC

Retrieve conversations using specific identifiers

This finds all conversations associated with the provided identifiers (e.g., LinkedIn profile IDs, email addresses).

Args: user_id: User ID account_id: Account ID identifiers: List of identifiers to search for (e.g., LinkedIn IDs)

Returns: Conversations matching the provided identifiers

Inputs: user_id (required), account_id (required), identifiers (required). Returns: object

get_leadB

Retrieve a lead by ID

Args: lead_id: The unique identifier of the lead

Returns: Lead object with all properties, tags, and custom fields

Inputs: lead_id (required). Returns: object

get_lead_messagesC

Retrieve all messages for a specific lead

This gets all conversation messages associated with a particular lead.

Args: user_id: User ID account_id: Account ID lead_id: Lead ID to get messages for

Returns: All messages for the specified lead

Inputs: user_id (required), account_id (required), lead_id (required). Returns: object

get_leads_from_campaignA

Retrieve leads from a specific campaign with advanced filtering

Supports 7 groups of filters with OR logic within groups and AND logic between groups:

  1. Advanced filters (name, company, occupation, headline)

  2. Status filters (status, connection degree, out of office)

  3. Email verification filters

  4. Current step filter

  5. Selected leads filter

  6. Step change timestamp filter

  7. General search filter

Args: user_id: The ID of the user account_id: The ID of the account (seat) campaign_id: The ID of the campaign search: Search leads by fullName, email, company, headline, etc. filter_by_verified_emails: Filter leads with verified emails filter_by_not_verified_emails: Filter leads without verified emails filter_by_status: Filter by status ([1]=Discovered, [2]=Connection pending, [3]=Connected not replied, [4]=Replied) filter_by_connection_degree: Used with filter_by_status=[4] for additional status filtering ([1]=replied connected, [2,3]=replied not connected) filter_by_current_step: Filter leads on specific campaign steps filter_by_name: Filter leads whose names contain this value filter_by_company: Filter leads whose company contains this value filter_by_occupation: Filter leads whose occupation contains this value filter_by_headline: Filter leads whose headline contains this value filter_by_out_of_office: Filter leads with "Out of office" status filter_by_step_change_timestamp: Filter leads with stepChangeTimestamp greater than this filter_by_selected_leads: Retrieve specific leads by their IDs limit: Number of results to return (default: 30) offset: Pagination offset (default: 0)

Returns: List of leads matching the filter criteria with pagination metadata

Example: get_leads_from_campaign( user_id="123", account_id="456", campaign_id="789", filter_by_status=[4], filter_by_connection_degree=[1], filter_by_verified_emails=True, limit=50 )

Inputs: user_id (required), account_id (required), campaign_id (required), search, +14 more. Returns: object

get_leads_from_seatA

Retrieve leads from a specific seat (account) with advanced filtering

Supports 6 groups of filters with OR logic within groups and AND logic between groups:

  1. Advanced filters (name, company, occupation, headline)

  2. Status filters (status, connection degree, out of office)

  3. Email verification filters

  4. Selected leads filter

  5. Step change timestamp filter

  6. General search filter

Args: user_id: The ID of the user account_id: The ID of the account (seat) search: Search leads by fullName, email, company, headline, etc. filter_by_verified_emails: Filter leads with verified emails filter_by_not_verified_emails: Filter leads without verified emails filter_by_status: Filter by status ([1]=Discovered, [2]=Connection pending, [3]=Connected not replied, [4]=Replied) filter_by_connection_degree: Used with filter_by_status=[4] for additional status filtering ([1]=replied connected, [2,3]=replied not connected) filter_by_name: Filter leads whose names contain this value filter_by_company: Filter leads whose company contains this value filter_by_occupation: Filter leads whose occupation contains this value filter_by_headline: Filter leads whose headline contains this value filter_by_out_of_office: Filter leads with "Out of office" status filter_by_step_change_timestamp: Filter leads with stepChangeTimestamp greater than this filter_by_selected_leads: Retrieve specific leads by their IDs limit: Number of results to return (default: 30) offset: Pagination offset (default: 0)

Returns: List of leads from the seat matching the filter criteria

Example: get_leads_from_seat( user_id="123", account_id="456", filter_by_company="Acme Corp", filter_by_verified_emails=True, limit=100 )

Inputs: user_id (required), account_id (required), search, filter_by_verified_emails, +12 more. Returns: object

get_leads_from_threadC

Retrieve leads who are part of a specific conversation thread

Args: user_id: The ID of the user account_id: The ID of the account (seat) thread_id: The ID of the conversation thread

Returns: List of leads belonging to the thread

Inputs: user_id (required), account_id (required), thread_id (required). Returns: object

get_linkedin_user_infoB

Retrieve LinkedIn profile information for a specific user

This returns profile information if you previously started a conversation with them.

Args: user_id: The ID of the user account_id: The ID of the account (seat) linkedin_user_id: The LinkedIn user ID

Returns: LinkedIn profile information including name, headline, company, etc.

Inputs: user_id (required), account_id (required), linkedin_user_id (required). Returns: object

get_messages_for_leadsC

Retrieve messages for specific leads

This gets conversation messages associated with specific lead IDs.

Args: user_id: User ID account_id: Account ID lead_ids: Optional list of lead IDs to get messages for limit: Maximum number of results to return (default: 100)

Returns: Messages for the specified leads

Inputs: user_id (required), account_id (required), lead_ids, limit. Returns: object

get_messages_from_a_specific_threadB

Retrieve messages from specific conversation threads

This retrieves messages from one or more specific threads, with optional filtering by step change timestamp to get only recent updates.

Args: user_id: User ID account_id: Account ID threads: List of thread IDs to retrieve messages from filter_by_step_change_timestamp: Optional ISO timestamp to filter messages that were updated after this time

Returns: Messages from the specified threads

Inputs: user_id (required), account_id (required), threads (required), filter_by_step_change_timestamp. Returns: object

get_other_conversationsB

Retrieve other conversations (not categorized as unread)

This gets conversations from the "All other messages" section.

Args: user_id: User ID account_id: Account ID limit: Maximum number of results to return (default: 100) offset: Pagination offset (default: 0) name: Optional search filter for contact name

Returns: List of other conversations

Inputs: user_id (required), account_id (required), limit, offset, +1 more. Returns: object

get_statisticsA

Get statistics for campaigns within a time range

This retrieves statistics for all campaigns or a specific campaign if campaign_id is provided.

Args: user_id: User ID account_id: Account ID from_timestamp: Statistics start timestamp (Unix timestamp) to_timestamp: Statistics end timestamp (Unix timestamp) curves: List of statistic types to retrieve. Values: 1=PROFILE_VIEW, 2=PROFILE_FOLLOW, 3=INVITATION_SENT, 4=MESSAGE_SENT, 5=INMAIL_SENT, 10=EMAIL_SENT, 11=EMAIL_OPENED, 12=EMAIL_CLICKED, 16=EMAIL_VERIFIED, 6=INVITATION_ACCEPTED, 7=MESSAGE_REPLY, 8=INVITATION_ACCEPTED_RATE, 9=MESSAGE_REPLY_RATE, 14=EMAIL_OPEN_RATE, 15=EMAIL_CLICK_RATE, 17=EMAIL_BOUNCE_RATE time_zone: Timezone for statistics (e.g., "America/New_York", "Europe/Belgrade") campaign_id: Optional campaign ID to get statistics for a specific campaign

Returns: Campaign statistics data

Inputs: user_id (required), account_id (required), from_timestamp (required), to_timestamp (required), +3 more. Returns: object

get_step_statisticsC

Get step statistics for a specific campaign

This retrieves statistics for individual campaign steps within a specific campaign.

Args: user_id: User ID account_id: Account ID campaign_id: Campaign ID to get step statistics for

Returns: Step-by-step statistics for the campaign

Inputs: user_id (required), account_id (required), campaign_id (required). Returns: object

get_tags_for_leadsC

Retrieve tags for specific leads

Args: user_id: The ID of the user account_id: The ID of the account (seat) lead_ids: List of lead IDs whose tags you want to retrieve

Returns: Tags associated with the specified leads

Inputs: user_id (required), account_id (required), lead_ids (required). Returns: object

get_tags_for_seatB

Retrieve all tags from a specific seat (account)

Args: user_id: The ID of the user account_id: The ID of the account (seat)

Returns: List of all tags for the seat

Inputs: user_id (required), account_id (required). Returns: object

get_tags_of_a_specific_seatB

Get Tags of a Specific Seat

This action retrieves all tags related to a specific seat.

Args: user_id: User ID account_id: Account/Seat ID

Returns: List of tags associated with the seat

Inputs: user_id (required), account_id (required). Returns: object

get_team_membersC

Retrieve all members from a specific team

Args: user_id: Your user ID (required) team_id: The ID of the team for which to retrieve members (required)

Returns: List of all team members with their roles and permissions

Example: get_team_members(user_id="1451", team_id="1443")

Inputs: user_id (required), team_id (required). Returns: object

get_team_rolesB

Retrieve all roles for a specific team

Args: team_id: The ID of the team for which to retrieve roles (required) user_id: Your user ID (required)

Returns: List of all roles configured for the team with their permissions

Example: get_team_roles(team_id="1", user_id="1451")

Inputs: team_id (required), user_id (required). Returns: object

get_unread_conversationsB

Retrieve unread conversations

This gets all conversations that have not been marked as read, with optional filtering by contact name.

Args: user_id: User ID account_id: Account ID limit: Maximum number of results to return (default: 100) offset: Pagination offset (default: 0) name: Optional search filter for contact name

Returns: List of unread conversations

Inputs: user_id (required), account_id (required), limit, offset, +1 more. Returns: object

get_user_informationB

Get User Information

This action retrieves all information on the authorized user (the user whose API key is being used).

Returns: Complete user information including profile, settings, and permissions

Inputs: no named parameters. Returns: object

get_users_sequence_templatesA

Get User's Sequence Templates

This action retrieves all sequence templates (saved sequences) from a user who is a part of certain team. You can use the returned sequence template IDs in the "Create Campaign From A Sequence Template" endpoint.

Args: user_id: ID of the user whose saved sequences to retrieve team_id: ID of the team that the user is part of

Returns: List of saved sequence templates with IDs

Inputs: user_id (required), team_id (required). Returns: object

import_keywords_to_blacklist_csvB

Import keywords to your seat's blacklist from a CSV file

Args: user_id: User ID account_id: Account ID (seat ID) csv_file_path: Path to CSV file containing keywords keyword_type: Type of keyword. Options: "company_name", "email", "domain", "full_name", "profile_url", "job_title" comparison_type: How to match keywords. Options: "exact", "contains", "starts_with", "ends_with"

Returns: Success confirmation with import results

Inputs: user_id (required), account_id (required), csv_file_path (required), keyword_type (required), +1 more. Returns: object

import_keywords_to_global_blacklist_csvB

Import keywords to global blacklist from a CSV file

Args: team_id: Team ID user_id: User ID csv_file_path: Path to CSV file containing keywords keyword_type: Type of keyword. Options: "company_name", "email", "domain", "full_name", "profile_url", "job_title" comparison_type: How to match keywords. Options: "exact", "contains", "starts_with", "ends_with"

Returns: Success confirmation with import results

Inputs: team_id (required), user_id (required), csv_file_path (required), keyword_type (required), +1 more. Returns: object

invite_team_memberA

Invite a user to become a member of a specific team

The sendAnInvitationEmail flag controls how the invitation works:

  • If False (default): No email is sent and the invitation is automatically accepted

  • If True: An email invitation is sent and the user can accept or decline

Args: team_id: The ID of the team to invite the member to (required) user_id: Your user ID (required) name: The name of the user to invite (required) email: The email address of the user to invite (required) account_roles: List of role assignments with 'roleId' and 'accounts' array (required) can_manage_payment: Whether the user can manage payment settings (default: False) send_invitation_email: Whether to send an email invitation (default: False)

Returns: Invitation object with member details and status

Example: invite_team_member( team_id="1443", user_id="1451", name="John Doe", email="john@company.com", account_roles=[ { "roleId": "6eb0c288-0a17-4f6c-88a3-bb750b34d7ca", "accounts": [1028] } ], can_manage_payment=False, send_invitation_email=True )

Inputs: team_id (required), user_id (required), name (required), email (required), +3 more. Returns: object

list_all_seats_of_a_specific_userB

List All Seats of a Specific User

This action provides information based on your Team Management role:

  • For team members: Retrieves information about the seats you've been invited to manage or own

  • For co-workers: Retrieves information about the seats that belong to the teams you manage

  • For platform admins: Retrieves information about the seats linked to the teams you own

Args: search: Optional search query to filter seats (e.g., "John Smith")

Returns: List of seats with detailed information

Inputs: search. Returns: object

list_all_users_as_a_whitelabelB

List All Users as a Whitelabel

As a whitelabel, this action retrieves the list of all your users.

Args: limit: Maximum number of results to retrieve (default: 30) offset: Position in the dataset to start from (default: 0)

Returns: Paginated list of users with metadata

Inputs: limit, offset. Returns: object

list_global_webhooksB

List global webhooks

This retrieves all global webhooks configured for the account.

Args: user_id: User ID account_id: Account ID limit: Maximum number of results to return (default: 30) offset: Pagination offset (default: 0)

Returns: List of global webhooks

Inputs: user_id (required), account_id (required), limit, offset. Returns: object

list_leadsA

List and filter leads with pagination

Args: tags: Filter by tags (optional) company: Filter by company name (optional) created_after: Filter leads created after this ISO 8601 datetime created_before: Filter leads created before this ISO 8601 datetime limit: Number of results to return (1-1000, default: 100) offset: Pagination offset (default: 0)

Returns: List of leads matching the filter criteria with pagination metadata

Inputs: tags, company, created_after, created_before, +2 more. Returns: object

list_teams_under_the_users_white_labelA

List Teams Under the User's White Label

This action retrieves all teams under one platform (White label). The user who runs this endpoint must be the platform admin.

Args: user_id: User ID (must be platform admin)

Returns: List of all teams under the whitelabel

Inputs: user_id (required). Returns: object

list_users_associated_with_a_specific_seatA

List Users Associated With a Specific Seat

This action retrieves all users associated with the chosen seat in any way. The way they are related to a seat determines their user types:

  1. Team Member: Users invited to the team and assigned a seat

  2. Coworker: Users who manage a team that owns the seat

  3. Platform Admin: Users who manage the platform containing the seat

Args: user_id: User ID account_id: Account/Seat ID limit: Maximum number of results (default: 30) offset: Starting position in dataset (default: 0) search: Search query for email or fullName

Returns: Paginated list of associated users with their roles

Inputs: user_id (required), account_id (required), limit, offset, +1 more. Returns: object

list_webhooksB

List non-global webhooks

This retrieves all non-global webhooks configured for the account.

Args: user_id: User ID account_id: Account ID limit: Maximum number of results to return (default: 30) offset: Pagination offset (default: 0)

Returns: List of non-global webhooks

Inputs: user_id (required), account_id (required), limit, offset. Returns: object

mark_messages_as_seenC

Mark messages in a thread as seen

This marks all messages in a specific conversation thread as read/seen.

Args: user_id: User ID account_id: Account ID thread: Thread ID to mark as seen

Returns: Success confirmation

Inputs: user_id (required), account_id (required), thread (required). Returns: object

pause_lead_executionB

Pause the execution of campaign steps for a specific lead

This pauses all upcoming steps in the campaign workflow for this lead.

Args: lead_id: The ID of the lead to pause

Returns: Confirmation of lead pause

Inputs: lead_id (required). Returns: object

reactivate_seatB

Reactivate Seat

This action reactivates a specific inactive seat within a specific team.

Args: user_id: User ID who owns the seat account_id: Account/Seat ID to reactivate proxy_country: Optional proxy country code (e.g., "us", "gb")

Returns: Reactivation confirmation with updated seat status

Inputs: user_id (required), account_id (required), proxy_country. Returns: object

register_new_userB

Register New User

This action registers a new user on the platform.

Args: email: User's email address (required) password: User's password (required) full_name: User's full display name (required) whitelabel_id: Whitelabel ID (required) phone: Optional phone number (e.g., "+3816423416") invitation_id: Optional invitation ID for secure registration skip_confirmation_email: Set to True to skip confirmation email (default: False)

Returns: Created user object with registration details

Inputs: email (required), password (required), full_name (required), whitelabel_id (required), +3 more. Returns: object

remove_tag_from_leadC

Remove a specific tag from a specific lead

Args: user_id: The ID of the user account_id: The ID of the account (seat) lead_id: The ID of the lead tag_id: The ID of the tag to remove

Returns: Confirmation of tag removal

Inputs: user_id (required), account_id (required), lead_id (required), tag_id (required). Returns: object

resend_email_confirmation_messageA

Resend Email Confirmation Message

This action resends an email confirmation message to the user's email and allows them to confirm their email address.

Args: user_id: User ID to resend confirmation for email: Email address that should receive the confirmation email

Returns: Confirmation that the email was sent

Inputs: user_id (required), email (required). Returns: object

resume_lead_executionA

Resume the execution of campaign steps for a specific lead

This resumes the campaign workflow for a previously paused lead.

Args: lead_id: The ID of the lead to resume

Returns: Confirmation of lead resumption

Inputs: lead_id (required). Returns: object

return_lead_to_campaignA

Return a specific lead to a specific campaign

This action happens immediately unless a scheduled time is provided.

Args: user_id: The ID of the user account_id: The ID of the account (seat) lead_id: The ID of the lead to move target_campaign_id: The ID of the campaign to return the lead to scheduled_time: Optional ISO 8601 datetime to schedule the action

Returns: Confirmation of lead transfer

Inputs: user_id (required), account_id (required), lead_id (required), target_campaign_id (required), +1 more. Returns: object

send_email_replyC

Send an email reply to an existing thread

This sends a reply to an existing email conversation thread.

Args: user_id: User ID account_id: Account ID thread: Thread ID to reply to message: Email message content lead_id: Lead ID associated with this conversation campaign_id: Campaign ID associated with this conversation recipient: Email address of the recipient

Returns: Sent email reply details

Inputs: user_id (required), account_id (required), thread (required), message (required), +3 more. Returns: object

send_linkedin_messageB

Send a LinkedIn message to an existing thread

This sends a LinkedIn message to an existing conversation in the platform's inbox.

Args: user_id: User ID account_id: Account ID message: Message content to send linkedin_user_id: LinkedIn user ID of the recipient public_identifier: LinkedIn public identifier of the recipient campaign_id: Campaign ID associated with this conversation lead_id: Lead ID associated with this conversation

Returns: Sent LinkedIn message details

Inputs: user_id (required), account_id (required), message (required), linkedin_user_id (required), +3 more. Returns: object

send_new_emailB

Send a new email to a recipient

This sends a new email through the platform to a recipient who may not have an existing thread.

Args: user_id: User ID account_id: Account ID recipient: Email address of the recipient subject: Email subject line content: Email body content (can include HTML) signature_id: ID of the signature to use

Returns: Sent email details

Inputs: user_id (required), account_id (required), recipient (required), subject (required), +2 more. Returns: object

send_password_reset_emailC

Send Password Reset Email

This action initializes the user's password reset and sends a password reset email.

Args: email: Email address to receive the password reset link

Returns: Confirmation that the reset email was sent

Inputs: email (required). Returns: object

suspend_or_unsuspend_seatB

Suspend or Unsuspend Seat

This action suspends or unsuspends a specific seat within a specific team.

Args: user_id: User ID who owns the seat account_id: Account/Seat ID to suspend/unsuspend suspended: True to suspend, False to unsuspend

Returns: Updated seat status

Inputs: user_id (required), account_id (required), suspended (required). Returns: object

sync_linkedin_messagesA

Sync all LinkedIn messages for a specific seat to the platform inbox

This action retrieves all LinkedIn messages for a specific seat and displays them inside the platform's inbox for centralized message management.

Args: user_id: Your user ID (required) account_id: The ID of the seat for which to sync LinkedIn messages (required)

Returns: Sync status and count of messages retrieved

Example: sync_linkedin_messages(user_id="16911", account_id="9852")

Inputs: user_id (required), account_id (required). Returns: object

transfer_creditsB

Transfer Credits

This action transfers credits from the authenticated user to a specified destination user.

Args: user_id: Source user ID (authenticated user) destination_user_id: Destination user ID to receive credits quantity: Number of credits to transfer

Returns: Transfer confirmation with updated credit balances

Inputs: user_id (required), destination_user_id (required), quantity (required). Returns: object

update_leadA

Update an existing lead's properties

Args: lead_id: The unique identifier of the lead email: New email address first_name: New first name last_name: New last name company: New company name title: New job title phone: New phone number tags: New list of tags (replaces existing tags) custom_fields: New custom fields (merges with existing)

Returns: Updated lead object

Inputs: lead_id (required), email, first_name, last_name, +5 more. Returns: object

update_lead_in_campaignA

Update one or more variables for a lead in a specified campaign and LinkedIn account

This updates lead fields including built-in fields (businessEmail, etc.) and custom variables.

Args: campaign_id: The ID of the campaign lead_id: The ID of the lead to update linkedin_account_id: The LinkedIn account ID changed_values: Dictionary of field names and new values to update Can include built-in fields like "businessEmail" or custom fields

Returns: Updated lead information

Example: update_lead_in_campaign( campaign_id="12345", lead_id="67890", linkedin_account_id="2", changed_values={ "businessEmail": "john.smith@company.com", "custom-variable": "custom value" } )

Inputs: campaign_id (required), lead_id (required), linkedin_account_id (required), changed_values (required). Returns: object

update_team_memberB

Edit and update a team member from a specific team

Args: team_id: The ID of the team this member is part of (required) user_id: Your user ID (required) email: The email address of the member to update (required) account_roles: Updated list of role assignments with 'roleId' and 'accounts' array can_manage_team_global_webhooks: Whether the user can manage team global webhooks

Returns: Updated team member object with new settings

Example: update_team_member( team_id="1443", user_id="1451", email="borisa@company.io", account_roles=[ { "roleId": "d144079f-2a22-4f86-b2a9-45b3289b4bf4", "accounts": [158] } ], can_manage_team_global_webhooks=True )

Inputs: team_id (required), user_id (required), email (required), account_roles, +1 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 77 tools

    Disambiguation2/5

    Many tools have overlapping purposes that could cause confusion. For example, there are multiple tools for retrieving leads (get_leads_from_campaign, get_leads_from_seat, list_leads, get_lead), multiple tools for managing tags (create_tag, assign_tag_to_lead, remove_tag_from_lead, get_tags_for_leads, get_tags_for_seat, get_tags_of_a_specific_seat), and multiple tools for webhooks (create_webhook, create_global_webhook, delete_webhook, delete_global_webhook, list_webhooks, list_global_webhooks). While descriptions help, the boundaries between these tools are often unclear, leading to potential misselection.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun pattern (e.g., create_campaign_from_template, get_campaign_info, update_lead). There are minor deviations, such as 'change_a_password' (includes 'a'), 'get_user_information' (uses 'information' instead of 'info'), and 'list_all_seats_of_a_specific_user' (verbose with articles). However, the overall pattern is readable and predictable, with snake_case used consistently throughout.

    Tool Count2/5

    With 77 tools, the count is excessive for the apparent scope of a LinkedIn outreach and lead management platform. Many tools appear redundant or overly granular (e.g., separate tools for seat suspension and reactivation, multiple export tools with slight variations). This volume will overwhelm agents and increase the risk of misselection, indicating poor scoping and a need for consolidation.

    Completeness5/5

    The tool set provides comprehensive coverage for the domain of LinkedIn outreach, lead management, and team administration. It includes full CRUD operations for leads, campaigns, tags, webhooks, seats, teams, and users, along with advanced features like message syncing, blacklisting, statistics, and exports. There are no obvious gaps; agents can perform end-to-end workflows without dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      C
      quality
      C
      maintenance
      Exposes 153 tools to connect AI assistants to the Ploomes CRM, enabling CRUD operations, funnel configuration, CPQ, automations, and webhooks.
      100
      1
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to manage email campaigns, contact lists, analytics, A/B tests, and transactional emails through natural language, using OAuth for secure connection.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to list and score leads by tier, submit and route new leads with AI scoring, generate personalized follow-up emails, and retrieve conversion funnel statistics. It supports lead analysis and automated routing through MCP tools.
      MIT