Skip to main content
Glama

Push to campaign

sdr_push_to_campaign

Enroll verified prospects into a draft or paused Instantly campaign. Preview eligible and excluded leads first, then confirm to add them and start outreach.

Instructions

Enroll prospects into an existing Instantly campaign. Only campaigns in "draft" or "paused" status are accepted, because adding leads to an active campaign starts sending. Two-phase: call without confirm to preview the campaign status and who is eligible/excluded (suppression, no email, unverified, invalid, already in campaign, over cap), show it to the user, then call again with confirm=true and the token after explicit approval. If any approved lead changes before confirming, the confirm is rejected and you must preview again. Only verified/likely emails are enrolled unless allow_unverified (which still never allows suppressed or invalid). Honors OPENSDR_READ_ONLY. Demo mode returns simulated:true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listNo
confirmNo
campaign_idYes
prospect_idsNo
allow_unverifiedNo
confirmation_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already state mutating, non-idempotent, non-destructive, open-world, but the description adds far more: the draft/paused gate, the two-phase preview/confirm workflow with a token, the token-invalidation-on-change behavior, the verified-email inclusion policy and allow_unverified exception, the never-suppressed/invalid invariant, OPENSDR_READ_ONLY enforcement, and demo-mode simulated output. This is rich operational context well beyond structured fields.

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?

Front-loaded with purpose, then constraints, then procedure; every clause carries information and none is filler. It is dense to the point of being a run-on block, but nothing can be dropped without losing an operative rule.

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?

With no output schema, the description still tells the agent what the preview returns (campaign status, eligible vs. excluded with reasons like suppression, no email, unverified, invalid, already in campaign, over cap) and how the mutation behaves. The remaining gap is what the successful confirm returns and the role of the `list` parameter.

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 description coverage is 0%, so the description must carry the load: it explains confirm, confirmation_token (obtained from the preview call), allow_unverified (still never permits suppressed or invalid), and campaign_id implicitly via status constraints. It does not explain the `list` parameter or how prospect_ids interact with it, leaving one of six parameters undocumented.

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?

"Enroll prospects into an existing Instantly campaign" gives a specific verb (enroll) and resource (prospects into a campaign), and the word "existing" plus the campaign-status constraint cleanly separates it from the sibling sdr_create_campaign. An agent can pick this over its siblings without inspecting 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 Guidelines5/5

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

Explicit when-to-use (existing campaign in draft/paused), when-not (active campaigns are rejected because they start sending), and the exact two-phase procedure with preview-then-confirm. The invalidation rule ("if any approved lead changes before confirming... preview again") closes the main usage ambiguity.

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