Skip to main content
Glama

validate_campaign_accounts

Check account eligibility for campaign creation by verifying status and requirements to resolve campaign setup issues.

Instructions

Validate which accounts are eligible for campaign creation. This tool helps debug campaign creation issues by showing the status of all accounts and which ones meet the requirements for sending campaigns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_listNoOptional: Specific email addresses to validate. If not provided, shows all account statuses.

Implementation Reference

  • Zod schema definition for the validate_campaign_accounts tool input validation, accepting an optional array of email addresses.
    export const ValidateCampaignAccountsSchema = z.object({ email_list: z.array(EmailSchema).optional() });
  • Handler function that performs input validation specifically for the validate_campaign_accounts tool using the defined Zod schema.
    export function validateCampaignAccountsData(args: unknown): z.infer<typeof ValidateCampaignAccountsSchema> { return validateWithSchema(ValidateCampaignAccountsSchema, args, 'validate_campaign_accounts'); }
  • Registration of the validate_campaign_accounts tool's validator function in the central TOOL_VALIDATORS mapping used for tool parameter validation.
    'validate_campaign_accounts': validateCampaignAccountsData,

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

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