Skip to main content
Glama

add_list_to_campaign_tool

Destructive

Adds a further prospect list to an existing campaign (max 10). The campaign must already have at least one list from initialize_campaign_tool — this does not create a campaign without a list. Pass the campaign's id and the REAL list _id (24 hex). Works for system lists like 'All Website Visitors' (use its real _id from list_prospect_lists_tool with filters.includeSystemLists=true, never the slug). On an active campaign the added list is enrolled in the background and the campaign's sequence starts for its contacts, whose first messages go out over as many sending days as its sending accounts' daily limits need (on a dynamic campaign, also for people added to the list later); AI writing in those messages is charged in credits as each message is written.

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": {
      "campaignId": "<campaignId>",
      "listId": "<listId>"
    },
    "name": "add_list_to_campaign_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
listIdYes
campaignIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and openWorldHint=true, and the description adds substantial context beyond them: the 10-list cap, that enrollment happens in the background on an active campaign, that the sequence fires for the new contacts, and that AI-written messages consume credits. What remains unstated is whether re-adding a duplicate list errors or is a no-op.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Requirements and the id-sourcing rule are front-loaded well, but the final sentence chains enrollment behavior, sending-day budgeting, dynamic-campaign scope, and credit billing into one dense run-on. It is informative but harder to parse than necessary and could be split.

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?

Given a mutation tool with only two params, no output schema, and destructive/open-world annotations, the definition covers prerequisites, side effects, billing, and the cap. The one gap is campaignId's expected format, which matters for a tool that rejects malformed ids.

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 specifies listId as a REAL 24-hex _id (not a slug) and tells the agent where to source it, which is the highest-risk parameter. campaignId is only described as 'the campaign's id' with no format hint, leaving one of two parameters under-specified.

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 ('Adds a further prospect list to an existing campaign') with a hard cap (max 10) and explicitly disclaims what it does not do ('this does not create a campaign without a list'), which separates it from initialize_campaign_tool.

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 explicit preconditions (campaign must already have at least one list from initialize_campaign_tool), names the sibling to use for retrieving list ids (list_prospect_lists_tool with filters.includeSystemLists=true), and warns against passing a slug instead of the real id. Both when-to-use and how-to-qualify are covered.

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.