Skip to main content
Glama

Launch a campaign (SENDS EMAIL)

launch_campaign
Destructive

Start a MULTI campaign sending: queues every not-yet-started lead so the scheduler emails them on the campaign's schedule. THIS SENDS REAL EMAIL AND CANNOT BE UNDONE. Requires a confirmation token from get_campaign_readiness, which is refused if anything about the campaign changed after the user agreed to it. Tell the user the exact recipient count and wait for their answer before calling. Single campaigns use approve_leads instead.

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>",
      "confirmation_token": "<confirmation_token>"
    },
    "name": "launch_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe MULTI campaign to launch. Single campaigns use approve_leads.
confirmation_tokenYesThe token get_campaign_readiness returned for THIS campaign. Obtain it, tell the user how many leads will be emailed and from which mailboxes, and call this only after they have said yes. The token is single-use, expires in five minutes, and is refused if anything about the campaign changed in the meantime.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, and non-idempotent; the description reinforces this with 'THIS SENDS REAL EMAIL AND CANNOT BE UNDONE' and adds crucial non-annotation detail: the single-use five-minute token and the invalidation-on-change rule. It does not cover what happens to partially-sent campaigns or failure/rollback behavior, which is a meaningful remaining gap for an irreversible send.

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-loads the irreversible send with capitalization, then the token prerequisite, then the user-confirmation ritual, then the sibling routing. Four sentences with essentially no waste, though the recipient-count instruction is repeated verbatim in the schema, costing a bit of redundancy.

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 a two-parameter irreversible send with no output schema, the definition supplies the safety profile, the token acquisition path, the invalidation semantics, the human confirmation requirement, and the single-vs-multi routing. Nothing essential to calling it correctly is missing.

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 100%, so both parameters are already documented in detail, including the token lifecycle. The description restates that a token from get_campaign_readiness is required but adds no syntax or meaning beyond the schema; 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?

Specific verb (launch) + resource (MULTI campaign), with explicit scope that every not-yet-started lead is queued. It distinguishes from approve_leads for single campaigns, so an agent can tell it apart from siblings without opening 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?

Explicitly says to use approve_leads for single campaigns, requires a confirmation token from get_campaign_readiness, and mandates telling the user the exact recipient count and waiting for their answer. When-to-use, prerequisite, and human-in-the-loop gating are all spelled out.

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