Skip to main content
Glama

Create campaign

create_campaign

Create a draft campaign, blank, from a design, or as a copy of another campaign. Returns the campaign {id, status:"draft", ...}. Errors: invalid_name, unknown_design, not_found. Next: update_campaign to set subject, from_address, document and audience, then send_campaign_test.

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

Input Schema

NameRequiredDescriptionDefault
nameYesCampaign name, for example "November product update".
designNoOptional design slug from list_campaign_designs.
copy_ofNoOptional campaign id (cmp_...) to copy.

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 already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, and the description is consistent with them (creation is non-idempotent, non-destructive). Beyond that it discloses the returned shape ({id, status:"draft", ...}) and names three concrete error codes, which is real context an agent cannot get from the annotations. It does not say whether design and copy_of are mutually exclusive.

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?

Three short sentences, front-loaded with the action and scope, then return value, then errors and next step. Every clause carries distinct information with 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?

There is no output schema, and the description compensates by sketching the return object and listing failure codes, plus the follow-up workflow. For a 3-parameter creation tool this is nearly complete; only the interaction between design and copy_of and any name-uniqueness constraint are unstated.

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 meaning on top: the three creation modes map onto which optional parameter (design vs copy_of) is supplied. It does not clarify precedence if both are passed, which is the one semantic gap the schema leaves open.

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?

"Create a draft campaign" names a specific verb and resource, then enumerates the three creation modes (blank, from a design, as a copy of another campaign). No sibling tool creates campaigns, and the draft-only scope is stated up front, so an agent can select it without ambiguity.

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 definition explicitly routes the agent forward: use update_campaign to set subject, from_address, document and audience, then send_campaign_test. That is clear sequencing guidance, and the design path points to list_campaign_designs via the schema. It stops short of stating when not to use it or what to do if the campaign already exists.

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