Skip to main content
Glama
vanman2024

Multilead Open API MCP Server

by vanman2024

export_leads_from_campaign

Export campaign leads to CSV with advanced filtering options including status, email verification, company, and occupation to target specific audience segments.

Instructions

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 )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes
account_idYes
campaign_idYes
searchNo
filter_by_verified_emailsNo
filter_by_not_verified_emailsNo
filter_by_statusNo
filter_by_connection_degreeNo
filter_by_current_stepNo
filter_by_selected_leadsNo
filter_by_nameNo
filter_by_companyNo
filter_by_occupationNo
filter_by_headlineNo
filter_by_out_of_officeNo
filter_by_step_change_timestampNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the filtering logic ('OR within groups, AND between groups') and output format ('CSV export data or download URL'), which adds useful context. However, it does not mention potential side effects, rate limits, authentication needs, or what happens with large exports, leaving gaps for a mutation-like export operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear purpose statement, filtering logic explanation, parameter details, return information, and an example. It is appropriately sized for a complex tool with many parameters, though some sections like the parameter list are lengthy but necessary given the lack of schema descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (16 parameters, no annotations, schema coverage 0%, but has output schema), the description is quite complete. It explains the tool's purpose, filtering logic, all parameters, and return values. The output schema handles return structure, so the description's mention of 'CSV export data or download URL' is sufficient. Minor gaps remain in behavioral aspects like error handling or export limits.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate fully. It provides detailed explanations for all 16 parameters, including the meaning of status codes (e.g., '[1]=Discovered'), relationships between parameters (e.g., 'filter_by_connection_degree' used with 'filter_by_status=[4]'), and practical usage notes. This adds significant value beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Export leads'), resource ('from a specific campaign'), and output format ('in CSV format with advanced filtering'). It distinguishes itself from sibling tools like 'export_all_campaigns' or 'get_leads_from_campaign' by emphasizing the export functionality and filtering capabilities.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through the mention of 'advanced filtering' and the example, but does not explicitly state when to use this tool versus alternatives like 'get_leads_from_campaign' or 'export_all_campaigns'. It provides some guidance through the example parameters but lacks explicit when/when-not statements.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vanman2024/multilead-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server