Skip to main content
Glama

campaignstack_add_lead_to_sequence

Idempotent

Add one lead to an external provider's sequence (provider-parameterized: apollo sequences, instantly campaigns). The lead is resolved by email on the provider side (Apollo creates the contact in the tenant's account if it does not exist yet). Apollo also requires emailAccountId (a sending mailbox id). Duplicate adds are idempotent successes (status already_present). Set activateSequence to start an Apollo sequence after adding (best-effort: a sequence that is already active is left as is). Instantly handoffs are recorded so reply/bounce/unsubscribe state syncs back automatically. Free: no CampaignStack credits. Returns status: added, already_present, skipped_no_email (lead has no email), or error (e.g. INTEGRATION_NOT_CONNECTED, INTEGRATION_KEY_INSUFFICIENT_SCOPE when an Apollo key is not a master API key, LEAD_NOT_FOUND). Use campaignstack_list_external_sequences for sequence ids and campaignstack_list_external_email_accounts for Apollo mailbox ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leadIdYes
providerYesIntegration provider that owns the sequence.
campaignIdYesProvider-side sequence id (from campaignstack_list_external_sequences).
leadSourceNoLead source table (default: global). Private leads are workspace-scoped CSV imports.
workspaceIdNoWorkspace ID (required for user keys; workspace keys are bound)
emailAccountIdNoProvider-side sending mailbox id. REQUIRED for apollo (from campaignstack_list_external_email_accounts); unused by instantly.
activateSequenceNoStart the sequence after adding if it is not running yet (best-effort). Apollo only.
skipIfInWorkspaceNoSkip the lead if its email already exists anywhere in the provider workspace, not just this sequence. Instantly only.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Workspace ID (defaults to the bound workspace)"New value: +"Workspace ID (required for user keys; workspace keys are bound)"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations (idempotentHint=true, readOnlyHint=false, destructiveHint=false) are consistent with the description, which goes well beyond them: Apollo auto-creates missing contacts, duplicate adds return already_present as an idempotent success, activateSequence is best-effort ('a sequence that is already active is left as is'), and Instantly handoffs trigger automatic reply/bounce/unsubscribe state sync. The 'Free: no CampaignStack credits' note is the kind of operational context that saves an agent from making wrong assumptions.

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 dense but disciplined: every sentence carries a distinct fact (resolution behavior, idempotency, best-effort activation, state sync, cost, return statuses, ID lookup routing). No filler or name-restating tautology. It runs long, but the length is justified by the provider-parameterized complexity and the absence of an output schema, which makes the status enumeration load-bearing.

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

Completeness5/5

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

For an 8-parameter, provider-parameterized mutation with no output schema, this is complete: it fully enumerates possible return statuses including example error codes with their causes (INTEGRATION_NOT_CONNECTED, INTEGRATION_KEY_INSUFFICIENT_SCOPE for non-master Apollo keys, LEAD_NOT_FOUND), explains provider differences, prerequisites, idempotency semantics, and cost implications. An agent has everything needed to decide, invoke, and interpret the result correctly.

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

Parameters4/5

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

Schema coverage is 88%, so the schema carries most parameter meaning. The description adds genuine value beyond it: it explains that leadId is resolved by email on the provider side (the only undocumented parameter), clarifies that campaignId is the provider-side sequence id, and reinforces that emailAccountId is a sending mailbox required only by Apollo. This compensates for the one uncovered parameter without redundant restatement.

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 opens with a specific verb and resource: 'Add one lead to an external provider's sequence,' immediately clarified as provider-parameterized ('apollo sequences, instantly campaigns'). This cleanly separates it from siblings like campaignstack_add_lead_to_external_list (lists vs. sequences) and campaignstack_sync_lead_to_hubspot (CRM sync vs. sequence enrollment) without needing to inspect either schema.

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

Usage Guidelines4/5

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

The description gives strong usage context: provider-specific prerequisites (Apollo requires emailAccountId, activateSequence is Apollo-only, skipIfInWorkspace is Instantly-only) and explicit pointers to sibling tools for ID lookups ('Use campaignstack_list_external_sequences for sequence ids and campaignstack_list_external_email_accounts for Apollo mailbox ids'). It does not explicitly state when NOT to use the tool versus the add-to-list siblings, relying on naming, which keeps it from a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.7/5.0
Disambiguation3/5

The set is enormous and generally well-differentiated through detailed cross-referenced descriptions, but several clusters blur together: archive/delete/remove have inconsistent permanence semantics (delete_campaign vs remove_signal_watch vs archive_campaign), create_connection_watch_agent explicitly overlaps with set_account_watcher, and the parallel draft-checkup and playbook-proposal flows (run_draft_checkup/get_draft_checkup/accept_draft_checkup vs propose_playbook_change/get_playbook_proposal/decide_playbook_proposal) present near-identical decision pipelines.

Naming Consistency4/5

Nearly every tool follows the campaignstack_<verb>_<noun> convention with disciplined get/list pairing and consistent verb choices (create/update/delete/pause/resume). Minor deviations like campaignstack_priority_enrich (adverb+verb) and campaignstack_whoami break the strict verb_noun pattern but are isolated and do not hinder navigation.

Tool Count1/5

223 tools is an extreme surface for any MCP server. Even though each tool maps to a distinct API operation and the underlying platform is broad, the scale far exceeds the 50+ threshold for an extreme mismatch and will overwhelm agents with selection overhead.

Completeness5/5

The surface is exhaustive for the LinkedIn outreach domain: full campaign/workflow/lead-list lifecycles, ICP and persona management, content scheduling and approvals, inbox and messaging, enrichment and integrations, signal watches and exclusions, review queues, playbook versioning, workspace admin, billing, and notifications. Minor gaps like a missing delete_lead or delete_company are explained by shared-data semantics, so no critical dead ends remain.

Resources