Skip to main content
Glama

Instantly MCP Server

list_accounts

Retrieve all valid sending email accounts from your workspace to use as sender addresses when creating email campaigns, ensuring campaign creation success.

Instructions

List all sending accounts in the workspace. PREREQUISITE FOR CAMPAIGN CREATION: You MUST call this tool first before creating any campaigns to obtain valid email addresses for the email_list parameter. The returned accounts are the only valid sending addresses that can be used in campaigns.

CRITICAL FOR SUCCESS: Campaign creation will fail if you use email addresses that are not returned by this endpoint. Always use the exact email addresses from this response.

COMPLETE PAGINATION: To get ALL accounts, 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 accounts, 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 accounts"

  • Return complete dataset with validation

ACCOUNT STATUS: Look for accounts with status=1, setup_pending=false, warmup_status=1 for campaign eligibility.

Input Schema

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

Input Schema (JSON Schema)

{ "properties": { "get_all": { "description": "Set to true to force complete pagination and retrieve ALL accounts regardless of limit setting.", "type": "boolean" }, "limit": { "description": "Number of accounts to return (1-100, default: 20). Use limit=100+ or limit=\"all\" to trigger complete pagination that retrieves ALL accounts automatically.", "type": [ "number", "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" } }, "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