Skip to main content
Glama

Add leads

add_leads
Idempotent

Add contacts to one of the user's campaigns. At most 25 per call — for a CSV or a longer list, call get_lead_import_link and give the user the link instead. Reports per-row outcomes, so duplicates, suppressed and invalid addresses are named individually rather than counted as one failure. Does NOT verify addresses; that is verify_lead_emails, which spends the user's credits. ON AN ACTIVE MULTIPLE LEADS CAMPAIGN THIS STARTS SENDING: the added leads, and any other not-yet-started ones, are queued for the next send window (with Email Validation on, only verified-valid ones). Ask the user first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "campaign_id": "<campaign_id>",
      "leads": "<leads>"
    },
    "name": "add_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
leadsYesThe contacts to add, at most 25 per call. For a CSV or a list longer than that, call get_lead_import_link instead and give the user the link — it is faster and cannot mangle a row.
campaign_idYesThe campaign to add them to. Get one from list_campaigns.
idempotency_keyNoOptional. Send the SAME value when retrying a call you are unsure completed, so the leads are not added twice.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare the read/write profile; the description adds the batch cap, per-row outcome reporting (duplicates/suppressed/invalid named individually), the fact that addresses are NOT verified, and the important side effect that adding to an active campaign queues leads and other not-yet-started leads into the next send window. The 'starts sending' disclosure goes beyond what destructiveHint=false conveys, which is the highest-value information here.

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 limits, then outcomes, then the sending warning—a logical progression with no filler. The all-caps sending sentence is a deliberate emphasis device rather than noise, though the paragraph is long enough that a reader may skim past the limit 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?

There is no output schema, and the description compensates by explaining that results are per-row rather than a single pass/fail count. Combined with the idempotency guidance in the schema, an agent has enough to call it correctly; only the return payload's exact shape remains unspecified.

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

Parameters3/5

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

Schema description coverage is 100%, including notes on source, description, and idempotency_key, so the schema already carries parameter meaning. The description restates the 25-item cap but adds no per-field semantics beyond what the schema documents; baseline 3 applies.

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?

States a specific verb and resource ('Add contacts to one of the user's campaigns') and explicitly separates itself from two siblings: get_lead_import_link for bulk/CSV and verify_lead_emails for verification. An agent can tell what this does and what it does not do without reading the 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?

Gives a concrete routing rule (≤25 per call; larger lists or CSVs go to get_lead_import_link), names the alternative tool for verification, and adds a precondition ('Ask the user first') for active Multiple Leads campaigns. When-to-use, when-not-to-use, and which sibling to pick are all explicit.

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.

Resources