Skip to main content
Glama

Create campaign (draft)

create_campaign

Create a new campaign as a draft. Nothing is sent until start_campaign. Optionally set the sending mailboxes (ids from list_mailboxes) and the audience (prospect_ids: who will be enrolled at start). Typical flow: create_campaign -> add_step (one per email) -> optionally add_variant for A/B -> start_campaign. Returns the campaign row with its id. Use when the user wants to start building a new outreach sequence.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCampaign name. Defaults to 'Untitled campaign'.
mailbox_idsNoSending mailbox ids (rotation order).
prospect_idsNoProspects to enrol when the campaign starts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and the description adds the non-obvious behavioral fact that 'Nothing is sent until start_campaign' — valuable context about deferred side effects. It also states the return value ('the campaign row with its id'). It does not cover auth/permission requirements or whether duplicate campaigns are permitted (relevant since idempotentHint=false), which keeps it from a 5.

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

Conciseness5/5

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

Front-loads what the tool does and the safety-relevant draft constraint, then the optional parameters, then the flow, then the return value. Every sentence carries information an agent needs; nothing is repeated from the name or annotations.

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 three-optional-parameter creation tool with no output schema, the description covers purpose, side-effect timing, the follow-on workflow, and the return value. An agent can call this correctly without consulting siblings or guessing at lifecycle behavior.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: mailbox_ids are sourced from list_mailboxes and used in rotation order, and prospect_ids are 'who will be enrolled at start' — clarifying that enrolment is deferred, not immediate. This is meaningful clarification not present in the schema's own parameter text.

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+resource ('Create a new campaign as a draft') and immediately disambiguates the lifecycle position versus start_campaign, which is the main sibling an agent could confuse it with. The qualifying phrase 'as a draft' pins down the exact creation semantics.

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 an explicit when-to-use clause ('Use when the user wants to start building a new outreach sequence') plus a concrete post-creation sequence (add_step -> add_variant -> start_campaign). It names the alternative for the sending action (start_campaign) and states the condition that separates creation from activation.

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.