Skip to main content
Glama
AB Tasty MCP Server

AB Tasty MCP Server

Official
by flagship-io

Activate Campaign

decision_api_activate_campaign

Activates a campaign for a visitor by sending an activation hit using the visitor, variation group, and variation IDs.

Instructions

Activate a campaign by sending an activation hit for a visitor.

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": {
      "visitor_id": "<visitor_id>",
      "variation_group_id": "<variation_group_id>",
      "variation_id": "<variation_id>"
    },
    "name": "decision_api_activate_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
visitor_idYesThe unique identifier for the visitor
variation_idYesThe unique identifier for the variation
variation_group_idYesThe unique identifier for the variation group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It hints that the tool emits an 'activation hit' rather than purely mutating state, but says nothing about idempotency, whether activation is reversible, what permissions or campaign state are required, or what the response contains — all material for an activation call.

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?

A single front-loaded sentence with no filler and no repetition of the title. It is efficient, though its terseness is part of why behavioral and usage detail are missing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three required parameters, no annotations, and no output schema, the definition covers the bare minimum to invoke the tool. An agent could form a call, but would not know what activation actually does to the campaign or visitor, or how failures surface.

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 coverage is 100%, so each of visitor_id, variation_id, and variation_group_id is already documented in the schema. The description only echoes the visitor concept and adds no meaning about why variation and variation_group identifiers are jointly required. Baseline 3 applies.

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 gives a specific verb and resource ('Activate a campaign') plus the mechanism ('sending an activation hit for a visitor'), which is enough to distinguish it from the read-only get_campaign siblings. It stops short of naming or contrasting an alternative, but the operation itself is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no preconditions (e.g. whether the campaign must be in a draft state or the visitor must already be bucketed), and no mention of alternatives. The agent must infer all of this from the name alone.

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