Skip to main content
Glama

run_campaign

Execute a saved campaign, running all variant-replicate pairs with a paired design to log audience reactions for A/B testing.

Instructions

Run a saved campaign against its audience and log every reaction.

Runs every variant x replicate with a PAIRED design (identical audience, reach and network randomness per replicate across variants), so A/B differences are attributable to the creative.

Cognition: personas react via the configured backend — a live local LLM when SYNTH_LLM_MODE=live (Ollama etc.), otherwise the deterministic heuristic model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
watchNoSlow the NetLogo run down (~0.15s/tick) to watch the campaign spread through the network live. Ignored for engine="python".
engineNo"netlogo" (visible simulation in the NetLogo window; first call boots the JVM, 30-60s) or "python" (headless, fastest).netlogo
campaign_nameYesA campaign saved with create_campaign.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description responsibly discloses key behavioral traits: it logs every reaction, runs all variant x replicate pairs, and configures cognition via environment variable or heuristic. It does not mention side effects like overwriting previous results, but the mutation is implicit in a run tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured into three paragraphs, which is reasonably concise but includes some redundancy (e.g., 'Runs every variant x replicate' is mentioned twice). It could be tightened while retaining clarity.

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?

Given the tool has an output schema (not shown but indicated), the description does not need to detail return values. It covers the campaign execution model, cognition backends, and the experimental design, providing sufficient context for an agent to understand the tool's behavior.

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?

The input schema covers all 3 parameters with descriptions, and the tool description adds context about the paired design and cognition modes but does not elaborate on individual parameters beyond what the schema already states. Baseline 3 is appropriate.

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 clearly states the tool's function: 'Run a saved campaign against its audience and log every reaction.' It specifies the verb 'run' and the resource 'campaign', and distinguishes it from siblings like run_simulation (which runs isolated simulations) and create_campaign (which saves a campaign).

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 description explains the tool's usage context, including the paired experimental design and the two cognition modes. However, it does not explicitly state when not to use it or provide alternative tools for similar tasks, such as run_simulation for ad-hoc experiments.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Razee4315/NetLogo-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server