Skip to main content
Glama

create_campaign

Destructive

Create a campaign for the caller's tenant (tenant_id, owner_id and created_by are set from the authenticated user). 'name' required. Optional: description, status (draft|active|paused|completed — default 'active'), start_date/end_date (YYYY-MM-DD), daily_call_target (int, default 0), owner_id (override), script_id, notes, from_email, from_name, email_signature. Duplicate names within the tenant are rejected: if a campaign with the same name (case-insensitive) exists, its id is returned with already_exists=true instead of creating a second. Returns { campaign_id }.

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
nameYesName of the campaign
notesNoFree-text notes
statusNoInitial status
end_dateNoEnd date (YYYY-MM-DD)
owner_idNoID of the owner (user)
from_nameNoSender display name
script_idNoID of the script
from_emailNoSender email address
start_dateNoStart date (YYYY-MM-DD)
descriptionNoDescription of the campaign
email_signatureNoE-mail signature used for this campaign's mails
daily_call_targetNoNumber of calls planned per day (integer, default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / daily_call_target / description
      Added value: +"Number of calls planned per day (integer, default 0)"
    • addedInput schema / properties / description / description
      Added value: +"Description of the campaign"
    • addedInput schema / properties / email_signature / description
      Added value: +"E-mail signature used for this campaign's mails"
    • addedInput schema / properties / end_date / description
      Added value: +"End date (YYYY-MM-DD)"
    • addedInput schema / properties / from_email / description
      Added value: +"Sender email address"
    • addedInput schema / properties / from_name / description
      Added value: +"Sender display name"
    • addedInput schema / properties / name / description
      Added value: +"Name of the campaign"
    • addedInput schema / properties / notes / description
      Added value: +"Free-text notes"
    • addedInput schema / properties / owner_id / description
      Added value: +"ID of the owner (user)"
    • addedInput schema / properties / script_id / description
      Added value: +"ID of the script"
    • addedInput schema / properties / start_date / description
      Added value: +"Start date (YYYY-MM-DD)"
    • addedInput schema / properties / status / description
      Added value: +"Initial status"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that tenant_id, owner_id and created_by are auto-derived from the authenticated user, that duplicate names within the tenant are rejected by returning the existing id with already_exists=true, and that the call returns { campaign_id }. Annotations supply the safety profile (destructiveHint=true, idempotentHint=false), so no contradiction — though the description leaves the destructiveHint unexplained.

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?

The definition is front-loaded with scope and the required field, then enumerates optionals and finally the duplicate-handling rule, which is the most surprising behavior. It is dense but every clause carries information; only the mid-sentence field laundry list is slightly harder to scan than a bulleted form.

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?

For a 12-parameter creation tool with no output schema, the description covers auto-populated fields, defaults, formats, the duplicate-name edge case, and the return shape. It omits only secondary details such as required permissions and what makes the operation destructive, which the annotations assert but do not explain.

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 already 100%, so the baseline would be 3, but the description adds real meaning on top: the status enum values (draft|active|paused|completed) and its default of 'active', the YYYY-MM-DD date format for start_date/end_date, daily_call_target's default of 0, and the note that owner_id overrides the authenticated user. The schema's status property has no enum or default, so this is genuinely additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Create a campaign for the caller's tenant") and scopes it to the authenticated tenant's internal campaign object. It does not, however, name or distinguish itself from the many sibling create_*_campaign tools (Brevo, Meta, Google Ads, LinkedIn), so the agent must infer the difference from the field set alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the field list (script_id, daily_call_target, from_email) signals an internal outbound-calling campaign rather than a third-party ad campaign, but the description never states when to pick this tool over the sibling create_*_campaign tools. The one explicit behavioral rule given is the duplicate-name rejection path, which is useful but is a data rule rather than tool-selection guidance.

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.