Skip to main content
Glama

Instantly MCP Server

list_campaigns

Retrieve and filter email campaigns from Instantly API with automatic pagination support to access all campaigns efficiently.

Instructions

List campaigns with optional filters and complete pagination support. COMPLETE PAGINATION: To get ALL campaigns, use one of these approaches:

  1. Set limit=100 or higher (automatically triggers complete pagination)

  2. Set get_all=true (forces complete pagination)

  3. Use limit="all" (string triggers complete pagination)

PAGINATION ALGORITHM: When requesting all campaigns, the tool will automatically:

  • Start with limit=100 per page

  • Continue fetching until next_starting_after is null or empty results

  • Report progress: "Retrieved 100... 200... 304 total campaigns"

  • Return summarized data to prevent size limits

  • Use get_campaign for full details of specific campaigns

FILTERS: search and status filters work with both single-page and complete pagination modes.

Input Schema

NameRequiredDescriptionDefault
get_allNoSet to true to force complete pagination and retrieve ALL campaigns regardless of limit setting.
limitNoNumber of campaigns to return (1-100, default: 20). Use limit=100+ or limit="all" to trigger complete pagination that retrieves ALL campaigns automatically.
searchNoSearch term to filter campaigns by name (works with complete pagination)
starting_afterNoID of the last item from previous page for manual pagination. Not needed when using complete pagination (limit=100+).
statusNoFilter by campaign status (works with complete pagination)

Input Schema (JSON Schema)

{ "properties": { "get_all": { "description": "Set to true to force complete pagination and retrieve ALL campaigns regardless of limit setting.", "type": "boolean" }, "limit": { "description": "Number of campaigns to return (1-100, default: 20). Use limit=100+ or limit=\"all\" to trigger complete pagination that retrieves ALL campaigns automatically.", "maximum": 100, "minimum": 1, "type": [ "number", "string" ] }, "search": { "description": "Search term to filter campaigns by name (works with complete pagination)", "type": "string" }, "starting_after": { "description": "ID of the last item from previous page for manual pagination. Not needed when using complete pagination (limit=100+).", "type": "string" }, "status": { "description": "Filter by campaign status (works with complete pagination)", "enum": [ "active", "paused", "completed" ], "type": "string" } }, "type": "object" }

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/bcharleson/Instantly-MCP'

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