Skip to content

: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.

fix(experiments): Correct stale experiment-activity MCP tool description (#101207)

Juraj Majerik969e57686785
diff --git a/products/experiments/mcp/tools.yaml b/products/experiments/mcp/tools.yaml
index 4d84c62006c1..c41558b0b437 100644
--- a/products/experiments/mcp/tools.yaml
+++ b/products/experiments/mcp/tools.yaml
@@ -30,12 +30,11 @@ tools:
idempotent: true
title: Get experiment change history
description: >
- Get the audit trail for a specific experiment by ID. Returns a paginated list of changes to the experiment
- and its holdouts and shared metrics: who made each change, what was changed (field-level before/after
- values), and when, newest first. Lifecycle actions (launch, end, ship variant, etc.) appear as updates to
- the underlying fields (start_date, end_date, conclusion, ...). Use limit and page query params for
- pagination. Note: changes to the experiment's linked feature flag (rollout, targeting) are logged on the
- flag itself — use feature-flags-activity-retrieve with the flag's ID for those.
+ Get the audit trail for a specific experiment by ID. Returns a paginated list of changes to the experiment,
+ its holdouts and shared metrics, and its linked feature flag (rollout, targeting): who made each change,
+ what was changed (field-level before/after values), and when, newest first. Lifecycle actions (launch, end,
+ ship variant, etc.) appear as updates to the underlying fields (start_date, end_date, conclusion, ...). Use
+ limit and page query params for pagination.
param_overrides:
id:
cast: string-int
diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.json
index 952aee969f20..c51d9d5428c0 100644
--- a/services/mcp/schema/generated-tool-definitions.json
+++ b/services/mcp/schema/generated-tool-definitions.json
@@ -4274,7 +4274,7 @@
"feature_flag": "customer-analytics-csp"
},
"experiment-activity": {
- "description": "Get the audit trail for a specific experiment by ID. Returns a paginated list of changes to the experiment and its holdouts and shared metrics: who made each change, what was changed (field-level before/after values), and when, newest first. Lifecycle actions (launch, end, ship variant, etc.) appear as updates to the underlying fields (start_date, end_date, conclusion, ...). Use limit and page query params for pagination. Note: changes to the experiment's linked feature flag (rollout, targeting) are logged on the flag itself — use feature-flags-activity-retrieve with the flag's ID for those.",
+ "description": "Get the audit trail for a specific experiment by ID. Returns a paginated list of changes to the experiment, its holdouts and shared metrics, and its linked feature flag (rollout, targeting): who made each change, what was changed (field-level before/after values), and when, newest first. Lifecycle actions (launch, end, ship variant, etc.) appear as updates to the underlying fields (start_date, end_date, conclusion, ...). Use limit and page query params for pagination.",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment change history",
diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.json
index a9b6789e39a7..03b773d072bc 100644
--- a/services/mcp/schema/tool-definitions-all.json
+++ b/services/mcp/schema/tool-definitions-all.json
@@ -4345,7 +4345,7 @@
}
},
"experiment-activity": {
- "description": "Get the audit trail for a specific experiment by ID. Returns a paginated list of changes to the experiment and its holdouts and shared metrics: who made each change, what was changed (field-level before/after values), and when, newest first. Lifecycle actions (launch, end, ship variant, etc.) appear as updates to the underlying fields (start_date, end_date, conclusion, ...). Use limit and page query params for pagination. Note: changes to the experiment's linked feature flag (rollout, targeting) are logged on the flag itself — use feature-flags-activity-retrieve with the flag's ID for those.",
+ "description": "Get the audit trail for a specific experiment by ID. Returns a paginated list of changes to the experiment, its holdouts and shared metrics, and its linked feature flag (rollout, targeting): who made each change, what was changed (field-level before/after values), and when, newest first. Lifecycle actions (launch, end, ship variant, etc.) appear as updates to the underlying fields (start_date, end_date, conclusion, ...). Use limit and page query params for pagination.",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment change history",