NextConstraint
v1.0.1Your SaaS funnel's costliest leak, its fix, watchdog alerts and verdicts, from NextConstraint.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_status Funnel status
Funnel health right now: whether a constraint is locked and where its re-check stands, every funnel step priced in dollars per month (only while nothing is locked - while one is, the rest is re-priced once it resolves), what each watchdog check concluded, and which sources are connected. Start here.
get_current_constraint Current constraint
The locked constraint: which funnel step is leaking, what it cost per month when it was selected, the one fix NextConstraint prescribed (and any prep step), and how the fix will be measured. Returns state "none" when nothing is locked.
list_alerts Alerts
Watchdog alerts: open issues, plus those closed or fixed in the last 30 days, most expensive first. Each has an id for get_alert, get_fix_prompt and mark_fix_done.
get_alert Alert detail
One watchdog alert in full: what moved and by how much, what it costs if it continues, the likely causes lined up against the days before it started (deploys, price changes, page changes, traffic-source shifts - possible, not certain), and what could not be checked.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | An alert id from list_alerts. |
get_fix_prompt Fix prompt
A ready-to-use fix prompt, written by NextConstraint, for the current constraint (omit issue_id) or for one alert, in the format for the chosen coding tool. It carries the evidence, the task, safety rules (new branch, show the diff, never touch billing, auth, user data or secrets) and how to check the fix worked. After shipping, call mark_fix_done with the commit SHA (see the fix-workflow prompt) rather than just marking it done.
| Parameter | Type | Description |
|---|---|---|
issue_id | string | An alert id from list_alerts. Omit for the current constraint. |
tool | string | Which coding tool the prompt is for. |
get_history History
Past constraints, newest first (up to 20): the leak, the fix tried, and how it ended - measured as better, no clear change or worse (with before and after), skipped as already done, dismissed, or not enough data.
mark_fix_done Mark fix shipped
Record that a fix has shipped: the current constraint's fix (omit issue_id) or one alert's fix. Give commit_sha (and optionally branch) when the fix was a code change: NextConstraint waits for that exact commit to reach a production deploy before starting the re-check, so the window starts from when the fix actually went live, not from this call (see the fix-workflow prompt). Omit commit_sha to start the re-check immediately instead - this only changes NextConstraint's own record and never touches the founder's code, payments or analytics. There is no undo here, so confirm with the founder tha…
| Parameter | Type | Description |
|---|---|---|
branch | string | Optional: the branch the commit is on, for reference only (not matched against). |
commit_sha | string | The git commit that contains the fix. Wait for it to reach a production deploy before the re-check starts, instead of starting immediately. |
issue_id | string | An alert id from list_alerts. Omit to mark the current constraint's fix. |