:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(visual-review): describe what the flakiness tool actually returns (#90064)
Julian Bezbe1f8d1b9b45
diff --git a/products/visual_review/mcp/tools.yaml b/products/visual_review/mcp/tools.yamlindex ea83d5c40063..db6fd5cb75cf 100644--- a/products/visual_review/mcp/tools.yaml+++ b/products/visual_review/mcp/tools.yaml@@ -31,13 +31,16 @@ tools:title: Visual review flakiness overviewdescription: >Snapshots in a repo whose rendering cannot be trusted: those carrying a live tolerated variant against their- current baseline, and those under an active quarantine. Recency changes an entry's state rather than- excluding it, so a snapshot that has been quiet for weeks is still listed. This is the triage view, and it- is far smaller than the baselines universe, so start here when asked why a suite is unreliable, which- snapshots to quarantine, or which quarantines to lift. Every `totals` field except `listed` covers the whole- population even when the entry list is capped; `listed` counts the entries actually returned, so it stops at- the cap. Takes no filter parameters: filter the returned entries yourself, and pass `fields` to keep the- response small when you only need a few of them.+ current baseline, those that failed the gate on a recent default-branch run, and those under an active+ quarantine. Recency changes an entry's state rather than excluding it, so a snapshot that has gone quiet is+ still listed. This is the triage view, and it is far smaller than the baselines universe, so start here when+ asked why a suite is unreliable, which snapshots to quarantine, or which quarantines to lift. Each entry+ carries `hard_rate`, the share of recent default-branch runs that failed the gate, and `soft_rate`, the+ share a toleration absorbed, plus `headroom`, the fraction of the diff threshold its worst absorbed run+ leaves free. Every `totals` field except `listed` covers the whole population even when the entry list is+ capped; `listed` counts the entries actually returned, so it stops at the cap. Takes no filter parameters:+ filter the returned entries yourself, and pass `fields` to keep the response small when you only need a few+ of them.param_overrides:id:description: The repo's UUID, from `visual-review-repos-list`.diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 3105058fb334..bd2768c8d289 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -11516,7 +11516,7 @@"requires_ai_consent": true},"visual-review-repos-flakiness-retrieve": {- "description": "Snapshots in a repo whose rendering cannot be trusted: those carrying a live tolerated variant against their current baseline, and those under an active quarantine. Recency changes an entry's state rather than excluding it, so a snapshot that has been quiet for weeks is still listed. This is the triage view, and it is far smaller than the baselines universe, so start here when asked why a suite is unreliable, which snapshots to quarantine, or which quarantines to lift. Every `totals` field except `listed` covers the whole population even when the entry list is capped; `listed` counts the entries actually returned, so it stops at the cap. Takes no filter parameters: filter the returned entries yourself, and pass `fields` to keep the response small when you only need a few of them.",+ "description": "Snapshots in a repo whose rendering cannot be trusted: those carrying a live tolerated variant against their current baseline, those that failed the gate on a recent default-branch run, and those under an active quarantine. Recency changes an entry's state rather than excluding it, so a snapshot that has gone quiet is still listed. This is the triage view, and it is far smaller than the baselines universe, so start here when asked why a suite is unreliable, which snapshots to quarantine, or which quarantines to lift. Each entry carries `hard_rate`, the share of recent default-branch runs that failed the gate, and `soft_rate`, the share a toleration absorbed, plus `headroom`, the fraction of the diff threshold its worst absorbed run leaves free. Every `totals` field except `listed` covers the whole population even when the entry list is capped; `listed` counts the entries actually returned, so it stops at the cap. Takes no filter parameters: filter the returned entries yourself, and pass `fields` to keep the response small when you only need a few of them.","category": "Visual review","feature": "visual_review","summary": "Visual review flakiness overview",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex dec87ce35e12..e8ad9a8f2010 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -12130,7 +12130,7 @@"requires_ai_consent": true},"visual-review-repos-flakiness-retrieve": {- "description": "Snapshots in a repo whose rendering cannot be trusted: those carrying a live tolerated variant against their current baseline, and those under an active quarantine. Recency changes an entry's state rather than excluding it, so a snapshot that has been quiet for weeks is still listed. This is the triage view, and it is far smaller than the baselines universe, so start here when asked why a suite is unreliable, which snapshots to quarantine, or which quarantines to lift. Every `totals` field except `listed` covers the whole population even when the entry list is capped; `listed` counts the entries actually returned, so it stops at the cap. Takes no filter parameters: filter the returned entries yourself, and pass `fields` to keep the response small when you only need a few of them.",+ "description": "Snapshots in a repo whose rendering cannot be trusted: those carrying a live tolerated variant against their current baseline, those that failed the gate on a recent default-branch run, and those under an active quarantine. Recency changes an entry's state rather than excluding it, so a snapshot that has gone quiet is still listed. This is the triage view, and it is far smaller than the baselines universe, so start here when asked why a suite is unreliable, which snapshots to quarantine, or which quarantines to lift. Each entry carries `hard_rate`, the share of recent default-branch runs that failed the gate, and `soft_rate`, the share a toleration absorbed, plus `headroom`, the fraction of the diff threshold its worst absorbed run leaves free. Every `totals` field except `listed` covers the whole population even when the entry list is capped; `listed` counts the entries actually returned, so it stops at the cap. Takes no filter parameters: filter the returned entries yourself, and pass `fields` to keep the response small when you only need a few of them.","category": "Visual review","feature": "visual_review","summary": "Visual review flakiness overview",