Skip to main content
Glama

Storiez

Plan campaign

plan-campaign

Starts planning a campaign for the given personas and goal: researches the audience and how to reach it on the public web, then writes the calendar and post copy. Nothing is generated or published. Returns campaignId immediately; planning takes a few minutes (get-campaign-planning shows progress). Without platforms or connectionIds, every connected account of each listed persona is used. Returns an error while planning already runs for this campaign.

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>",
      "goal": "<goal>",
      "personas": "<personas>"
    },
    "name": "plan-campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesOne goal string from list-campaign-goals.
nameYesShort campaign name, e.g. "Spring launch"
subjectNoWhat the campaign is about: a persona ({ type: "persona", personaId }) or free text ({ type: "text", text }). Posts state only what the subject contains. A persona subject posts only if it is also in personas.
personasYesPersonas that may post: persona IDs as strings, or objects that limit networks or accounts.
startDateNoFirst day, YYYY-MM-DD. Default tomorrow. Today or later in the signed-in user's time zone (get-me).
durationDaysNoDays in the campaign, 1 to 31. Default 7. The app offers 7, 14, 21 and 30. Longer means more posts and credits.
clientPersonaIdNoDeprecated alias of subject { type: "persona", personaId }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the asynchronous behavior, immediate campaignId return, multi-minute planning duration, public-web research, lack of publishing, default account inclusion, and the already-planning error. These are exactly the behavioral traits an agent needs before invoking a non-readOnly, open-world planning tool.

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?

The description is front-loaded with the core action, then adds async return behavior, progress lookup, default account behavior, and the error condition in compact sentences. Every sentence earns its place, and there is no 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 complex, asynchronous, open-world planning tool with no output schema, it supplies the key operational facts: what it does, what it does not do, what it returns immediately, where to check progress, default account behavior, and a concurrency error. The schema already covers the individual field details, so the combined definition is complete enough to call correctly.

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 schema carries most parameter meaning. The description adds useful behavioral semantics for personas: without platforms or connectionIds, every connected account of each listed persona is used, which clarifies an important default not obvious from the schema alone.

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?

The description states a specific verb and resource: it starts planning a campaign for given personas and a goal, then researches and writes calendar/post copy. It distinguishes planning from generation/publishing and explicitly points to get-campaign-planning for progress, so an agent can separate it from sibling tools such as launch-plan.

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?

Usage context is clear: this is the planning step, it does not publish, returns immediately, and progress is checked via get-campaign-planning. It also states the error condition when planning already runs. It stops short of explicitly naming when to use launch-plan or retry-plan afterward, so it is strong but not fully alternative-routing.

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