Audit Unleash experiment flags and their variants

An Unleash flag carries the rollout share and variants but no metrics, so the check reads what the flag holds and asks you for the rest.

How it works

  1. Connect the Unleash MCP server for your instance at https://<your-instance-url>/api/admin/mcp and sign in through the browser flow, or run the local server with your instance URL and personal access token where your setup calls for that route.
  2. Install the ExpLint MCP at https://explint.com/mcp to enable your agent to audit tests.
  3. Run the prompt below to audit these plans before the work starts.

How the check runs

  1. It reads the flag's description, activation strategies with their rollout share and constraints or segments, and strategy variants with their weights, and it asks you to confirm variant and constraint detail where your server version returns only a summary.
  2. It sends that text to ExpLint with explint__lint, which returns errors, warnings, and passes, each finding naming the rule behind it.
  3. You edit the flag in Unleash and ask for a fresh read, keeping the findings in chat unless you ask the assistant to change flag configuration through the MCP tools.

Copy and paste this prompt

Change the words in square brackets to name your own project, board, or test.

Prompt for your assistant
Use the Unleash MCP tools to read the experiment flag [flag name] in project [project name]. Build one text from its description, rollout share, constraints or segments, and variants with their weights, and state which of hypothesis, primary metric, guardrails, run length, and sample size the flag did not carry. Lint it with explint.com against project [your ExpLint project name]. Show each error and warning with its Unleash field. Do not launch or edit the flag yet. Suggest fixes here and re-check after I update Unleash.

What ExpLint looks for

ExpLint ships over 24 rules, and a project switches each one on or off or rewrites it in plain English. These are the rules the plans this guide reads break most often. An error means the test cannot answer its question as written, and a warning means the result will be hard to judge when it comes in.

RuleLevelIn plain words
randomization/states-the-uniterrorUnleash splits by whatever its strategy names, and the plan should say whether that unit is a user, a session, or an account.
randomization/states-the-spliterrorThe rollout share and variant weights belong in the plan text, since the split decides whether the test can finish in the time it holds.
audience/has-exclusion-criteriawarningConstraints and segments choose who enters the experiment, and the plan should say separately which accounts it keeps out and why.
rollout/has-a-rollback-planerrorThe flag is the switch, and the plan should name who turns it off and what result would make them do it.

Read more

Portrait of Kameron Tanseli

Kameron Tanseli

Founder, ExpLint

Kameron Tanseli is the founder of ExpLint and a growth engineer who has run more than 1,500 experiments across a nine-year career. As the founding growth hire at Fyxer he launched 540 experiments in a year while the company grew from $1M to $35M in annual revenue, and he now runs growth engineering at FLORA, where a one-person team ships six to eight experiments a week.

Don’t let a bad test make it to production

Install the MCP and start flagging ticket slop before it reaches your users