Skip to main content
Glama

Create a campaign

create_campaign
Destructive

Create a new standalone marketing campaign record in the owner's Metravane AI workspace (free, 0 credits). Each call inserts a new campaign row without modifying existing campaigns or publishing externally (non-idempotent write). Use this for a fresh campaign before generating variants or requesting approval; use create_followup_campaign to iterate on an existing campaign, or plan_batch to create a campaign, assign open posting slots, and file one owner approval in a single call. Returns campaign_id and credits.

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

Input Schema

NameRequiredDescriptionDefault
titleYesCampaign title (required, 1 to 120 characters).
base_langNoOptional default campaign language: ht (Haitian Creole), en (English), fr (French), or es (Spanish).
objectiveNoOptional conversion goal: auto (default/unspecified), calls, messages, bookings, visits, sales, or event.

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 the write/destructive/non-idempotent profile, but the description adds real substance: zero credit cost, that it inserts a row without mutating existing campaigns or publishing externally, and that it returns campaign_id and credits. The only mild tension is that it downplays the destructiveness implied by destructiveHint=true without explaining it, and it says nothing about permissions or rate limits.

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?

One tight paragraph, front-loaded with the core action and cost before routing to alternatives. Slightly dense with parenthetical asides, but nothing is filler.

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 3-parameter creation tool with a fully documented schema and no output schema, everything an agent needs is present: cost, side effects, idempotency, return values, and the routing decision against siblings.

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 description coverage is 100% and each parameter carries its own description, so the baseline is 3. The description adds no additional syntax, defaults, or guidance about how title, base_lang, and objective interact with later steps.

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 ("Create a new standalone marketing campaign record") plus the workspace it lands in. The word "standalone" and the alternative-naming sentence separate it cleanly from create_followup_campaign and plan_batch.

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: a fresh campaign before generating variants or requesting approval. Then names two alternatives with the exact condition that selects each — create_followup_campaign for iterating on an existing campaign, plan_batch when slots and approval should be handled in one call.

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