Skip to content

MCP tool

ma_experiments_draft: Draft a test

Markdown version

Draft an A/B test with variants, goal and guardrails; a person reviews the variants and starts it.

  • Changes data: yes
  • Scope needed: marketing:write

Example call

{
  "name": "ma_experiments_draft",
  "arguments": {
    "body": {
      "name": "Pricing headline",
      "site": "example.com",
      "path_pattern": "/pricing",
      "variants": [
        {
          "key": "control",
          "name": "Original",
          "weight": 1,
          "changes": []
        },
        {
          "key": "clear",
          "name": "Clear headline",
          "weight": 1,
          "changes": [
            {
              "selector": "h1",
              "text": "Plans from $9"
            }
          ]
        }
      ],
      "primary_goal": {
        "key": "signup",
        "label": "Sign-ups",
        "kind": "pageview",
        "path": "/thanks"
      }
    }
  }
}

All tools: MCP tools. Connecting: quickstarts.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.