Skip to main content
Glama

Create campaign

create_campaign
Idempotent

Create a new, empty outreach campaign for the authenticated user. Ask the user for the name and the type before calling — 'multi' is one shared sequence launched in bulk, 'single' is an AI draft per lead approved by hand, and they are different workflows. Also ask for the follow-up delay (and, for single, emails per lead), plus the schedule — send window, days, timezone — which is saved afterwards with update_campaign_settings. This does NOT add leads, write a sequence, attach an inbox or send anything; the response lists what is still needed.

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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat to call the campaign. Ask the user; do not invent one.
typeYesREQUIRED, and ask the user which they want — the two are different workflows, not settings. 'multi': one shared email sequence sent to every lead, launched in bulk. 'single': an AI-written sequence per lead, each reviewed and approved by hand before its first send. Only 'multi' can be launched through MCP.
max_stepsNoSingle campaigns only: how many emails the AI drafts per lead (default 3). Ignored for multi, where the sequence length decides.
descriptionNoOptional note about the campaign, for the user's own reference.
idempotency_keyNoOptional. Send the SAME value when retrying a call you are unsure completed, and it will return the original result instead of creating a second campaign. Omit it and identical calls within a minute are collapsed automatically.
follow_up_delay_minutesNoGap between emails, in minutes. Ask the user rather than relying on the default of 1440 (24 hours).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare the mutation/safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=false), and the description usefully adds the post-condition that the response lists what is still needed plus the fact that scheduling is persisted later. However it says nothing about permissions, errors, or how the returned 'still needed' list looks, so it adds context but not a rich behavioral picture beyond the annotations.

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 action, then boundaries, then what to collect — a sensible order with no filler. The type explanation is somewhat redundant with the enum description in the schema, which costs a point on tightness.

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 6-parameter creation tool with no output schema, it covers purpose, required user input, workflow differences, what is deferred to other tools, and a hint at the response contents. Nothing an agent needs to invoke it correctly appears missing.

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 baseline is 3; the description still adds value by telling the agent to solicit name, type, follow-up delay and (for single) emails per lead from the user, and by clarifying that schedule parameters are not part of this call. That routing information is not in the schema.

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+resource with an explicit scope qualifier: 'Create a new, empty outreach campaign for the authenticated user.' The closing sentence enumerates what it does not do (add leads, write a sequence, attach an inbox, send), which separates it cleanly from set_campaign_inboxes, set_sequence, add_leads and launch_campaign.

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 concrete pre-call guidance (ask the user for name and type), explains why the type choice matters, and names the follow-on tool for scheduling (update_campaign_settings). It also implicitly rules out alternatives by stating the campaign is created empty and nothing is sent, so an agent knows to chain other tools afterwards.

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