Skip to main content
Glama

Create a campaign draft

create_campaign

Save a campaign as a draft for a saved audience from list_audiences, with the agent from list_agents and the steps to send. Nobody is contacted until start_campaign; the result's people is how many it will reach.

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

Input Schema

NameRequiredDescriptionDefault
goalNoWhat the campaign is for, in plain words
nameYesCampaign name the team will recognize
stepsYesWhat goes out, in order: each step is a call, text or email and how long after the previous one
team_idNoTeam that owns the campaign, if you only work in teams
agent_idNoAgent id from list_agents; omit to let RevDesk pick
audience_idYesAudience id from list_audiences
review_modeNoreview_each (default): a person approves every message. review_first: only each first message. auto_send: nothing waits
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
follow_audienceNoAlso reach people who join the audience after the campaign starts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / name / description
      Added value: +"Campaign name the team will recognize"
    • addedInput schema / properties / steps / description
      Added value: +"What goes out, in order: each step is a call, text or email and how long after the previous one"
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

The description adds the single most important behavioral fact beyond the annotations: the campaign is inert until start_campaign, so nothing is sent. It also covers a return value ('the result's people is how many it will reach') despite there being no output schema. It does not mention that repeated calls create duplicate drafts, but idempotentHint=false already signals that.

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?

Two sentences, no wasted words, with the draft/not-sent constraint front-loaded immediately after the action. The return-value note is tacked on efficiently at the end.

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 nine-parameter creation tool with no output schema, the definition covers the draft semantics, the identity inputs, and the reach count. Remaining details such as review_mode implications and workspace scoping live in the richly described schema, so coverage is nearly complete.

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%, so every parameter including steps, review_mode, and workspace_id is already documented in the schema, and the description's 'audience from list_audiences' / 'agent from list_agents' largely repeats it. With no real syntax or constraint detail added beyond the schema, baseline 3 applies.

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 ('Save a campaign as a draft') plus the three ingredient sources (audience from list_audiences, agent from list_agents, steps). This clearly separates it from the sibling start_campaign, which is where sending actually begins.

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?

'Nobody is contacted until start_campaign' gives the key when-to-use boundary between drafting and launching. It also points at list_audiences and list_agents as prerequisite lookups for the required ids, though it does not spell out an explicit exclusion case beyond that.

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