Skip to main content
Glama

campaigns_add_leads

Add specified leads to the campaign's first step regardless of the daily add_limit quota. Validation is per-lead: ineligible leads are returned in skipped with a stable reason code (not_found, not_in_segment, status_not_new, already_enrolled, no_first_step, suppressed — the address opted out or bounced) instead of aborting the whole request.

Method: POST /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/add-leads/

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": {
      "sqid": "<sqid>",
      "lead_sqids": "<lead_sqids>"
    },
    "name": "campaigns_add_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
lead_sqidsYesLead sqids to enrol in this campaign's first step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so well: it discloses per-lead validation semantics, the non-aborting failure model, and an enumerated set of stable skip reason codes including what 'suppressed' means. It also gives the concrete HTTP method and route. Gaps remain around auth requirements and success-response shape, but this is strong behavioral disclosure.

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 the core action and quota exception, then the failure model, then the route. The parenthetical reason-code list is dense but each code earns its place for error handling. Slightly overloaded in one paragraph but no filler.

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?

No output schema and no annotations, so the description must explain returns and effects, and it covers the partial-failure shape (skipped with reason codes) that an agent needs. It omits the success payload (e.g., count added/enrolled) and any permission or irreversibility notes, keeping it from a 5.

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 coverage is 50%: lead_sqids is already documented in the schema as targeting the campaign's first step, so the description mostly repeats it, and sqid (which the route implies is the campaign) is left unexplained. It adds some value by tying validation outcomes to the lead_sqids input, but does not fully compensate for the undocumented sqid.

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 (add) and resource (leads to the campaign's first step) with a distinguishing scope note: it ignores the daily add_limit quota. That scope detail separates it from any ordinary enrollment path an agent might otherwise pick.

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 'regardless of the daily add_limit quota' clause implies the situation that selects this tool over a quota-respecting add, giving clear context. It stops short of explicit when-not guidance or naming an alternative tool, so it falls short of 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.