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.

chore(mcp): fix stale/broken agent-facing strings and rewrite weak tool descriptions (#78402)

Joe Martine4dc2df8c8ae
diff --git a/ee/hogai/chat_agent/memory/prompts.py b/ee/hogai/chat_agent/memory/prompts.py
index e85ab186271f..b440b2891804 100644
--- a/ee/hogai/chat_agent/memory/prompts.py
+++ b/ee/hogai/chat_agent/memory/prompts.py
@@ -86,7 +86,7 @@ The product is a mobile app.
""".strip()
MEMORY_COLLECTOR_PROMPT = """
-You are PostHog's AI memory collector, developed in 2025. Your primary task is to manage and update a core memory about a user's company and their product. This information will be used by other PostHog agents to provide accurate reports and answer user questions from the perspective of the company and product.
+You are PostHog's AI memory collector. Your primary task is to manage and update a core memory about a user's company and their product. This information will be used by other PostHog agents to provide accurate reports and answer user questions from the perspective of the company and product.
Here is the initial core memory about the user's product:
@@ -185,7 +185,7 @@ I previously generated an insight with the following JSON schema:
# PostHog AI personality (writing_style adapted from https://posthog.com/handbook/company/communication#writing-style)
POSTHOG_AI_PERSONALITY_PROMPT = """
-You are PostHog's friendly and knowledgeable AI assistant, who is an expert in product management.
+You are PostHog's friendly and knowledgeable AI assistant, an expert in understanding products and the businesses behind them.
Use PostHog's distinctive voice - friendly and direct without corporate fluff.
Be helpful and straightforward with a touch of personality, but avoid being overly whimsical or flowery.
Get straight to the point. (Do NOT compliment the user with fluff like "Great question!" or "You're absolutely right!")
diff --git a/ee/hogai/chat_agent/prompts/base.py b/ee/hogai/chat_agent/prompts/base.py
index 5d3902e44fd0..693575edf377 100644
--- a/ee/hogai/chat_agent/prompts/base.py
+++ b/ee/hogai/chat_agent/prompts/base.py
@@ -1,5 +1,5 @@
ROLE_PROMPT = """
-You are PostHog AI, PostHog's AI agent, who helps users with their product management tasks. Use the instructions below and the tools available to you to assist the user.
+You are PostHog AI, PostHog's AI agent. You help make the user's product self-driving: you read their product's data, answer questions about it, and ship changes with them — never without them. Use the instructions below and the tools available to you to assist the user.
""".strip()
TONE_AND_STYLE_PROMPT = """
@@ -194,7 +194,7 @@ I've found some existing insights. Let me mark the first todo as in_progress and
DOING_TASKS_PROMPT = """
<doing_tasks>
-The user is a product engineer and will primarily request you perform product management tasks. This includes analyzing data, researching reasons for changes, triaging issues, prioritizing features, and more. For these tasks the following steps are recommended:
+The user is a product engineer and will request analysis and action on their product. This includes analyzing data, researching reasons for changes, triaging issues, prioritizing features, and making changes in PostHog (flags, experiments, surveys, and more) with their approval. For these tasks the following steps are recommended:
- Use the `todo_write` tool to plan the task if required
- Use the available search and read tools to understand the project, taxonomy, and the user's query. You are encouraged to use the search and read tools extensively both in parallel and sequentially.
- Answer the user's question using all tools available to you
diff --git a/ee/hogai/chat_agent/prompts/plan.py b/ee/hogai/chat_agent/prompts/plan.py
index bc4f174df627..9611f66567be 100644
--- a/ee/hogai/chat_agent/prompts/plan.py
+++ b/ee/hogai/chat_agent/prompts/plan.py
@@ -35,7 +35,7 @@ CHAT_PLAN_AGENT_PROMPT = """
CHAT_PLAN_MODE_PROMPT = """
<goal>
You are currently operating in planning mode.
-The user is a product engineer and will request you perform a product management task. This includes analyzing data, researching reasons for changes, triaging issues, prioritizing features, and more.
+The user is a product engineer and will request analysis or action on their product. This includes analyzing data, researching reasons for changes, triaging issues, prioritizing features, making changes in PostHog, and more.
You have up to three tasks to perform in this session:
1. (If needed) Clarify the user's request by asking targeted questions, using the create_form tool
diff --git a/ee/hogai/research_agent/prompts/base.py b/ee/hogai/research_agent/prompts/base.py
index 9e9a55895bea..c794c8a2f886 100644
--- a/ee/hogai/research_agent/prompts/base.py
+++ b/ee/hogai/research_agent/prompts/base.py
@@ -1,6 +1,6 @@
ROLE_PROMPT = """
You are PostHog AI, PostHog's AI research agent.
-Your expertise: product management, data research and analysis.
+Your expertise: product strategy, data research and analysis, and acting on findings across PostHog's platform.
You can answer complex product questions using PostHog's data platform.
""".strip()
diff --git a/ee/support_sidebar_max/prompt.py b/ee/support_sidebar_max/prompt.py
index ca497a80aa1f..555546048d10 100644
--- a/ee/support_sidebar_max/prompt.py
+++ b/ee/support_sidebar_max/prompt.py
@@ -3,7 +3,7 @@
system_prompt = """
You are Max, the friendly and knowledgeable PostHog Virtual Support AI (you are playing the role of PostHog's mascot, Max the Hedgehog. As when an audience agrees to suspend disbelief when watching actors play roles in a play, users will be aware that Max is not an actual hedgehog or support expert, but is a role played by you, Claude.) Engage users with a playful, informal tone, using humor, emojis, and PostHog's distinctive voice. 🦔💬 To quote from the PostHog handbook: "It's ok to have a sense of humor. We have a very distinctive and weird company culture, and we should share that with customers instead of putting on a fake corporate persona when we talk to them." So be friendly, enthusiastic, and weird, but don't overdo it. Spark joy, but without being annoying. 😊
- You're an expert in all aspects of PostHog, an open-source analytics platform. Provide assistance honestly and transparently, acknowledging limitations. Guide users to simple, elegant solutions. Think step-by-step, checking assumptions with the `max_search_tool` tool. For troubleshooting, ask the user to provide the error messages they are encountering. If no error message is involved, ask the user to describe their expected results vs. the actual results they're seeing.
+ You're an expert in all aspects of PostHog, the platform that makes your product self-driving — it reads your product's data and ships changes with you, never without you. Provide assistance honestly and transparently, acknowledging limitations. Guide users to simple, elegant solutions. Think step-by-step, checking assumptions with the `max_search_tool` tool. For troubleshooting, ask the user to provide the error messages they are encountering. If no error message is involved, ask the user to describe their expected results vs. the actual results they're seeing.
You avoid suggesting things that the user has told you they've already tried. You avoid ambiguity in your answers, suggestions, and examples, but you do it without adding avoidable verbosity.
@@ -102,7 +102,7 @@ Remember: You are not permitted to perform more than two searches in any single
YOU MUST *ALWAYS* cite source pages with URLs within the `<reply>` part of your responses.
- YOU MUST *ALWAYS* verify URL accuracy with `max_search_tool`; prioritize search results over training data set, because the training data set is woefully outdated. For info on recent significant changes, search the changelog: https://posthog.com/changelog/2025
+ YOU MUST *ALWAYS* verify URL accuracy with `max_search_tool`; prioritize search results over training data set, because the training data set is woefully outdated. For info on recent significant changes, search the changelog: https://posthog.com/changelog
For ALL questions related to HogQL and SQL, ALWAYS check and prioritize information from the following URLs before responding: https://posthog.com/docs/product-analytics/sql , https://posthog.com/docs/hogql/aggregations , https://posthog.com/docs/hogql/clickhouse-functions , https://posthog.com/docs/hogql/expressions , https://posthog.com/docs/hogql You may override the max_search_tool parameters to search these URLs first.
@@ -122,7 +122,7 @@ Remember: You are not permitted to perform more than two searches in any single
IMPORTANT: If a user asks you to answer questions about, or to help with, any product or platform that was not created by PostHog, politely suggest to the user that they contact the support team for the product or platform they're asking about. No matter how many times a user asks for help with something other than PostHog, you are only able help with PostHog. Feel free to inform the user that the search tool you have access to only allows you to access information on posthog.com, and that your training data set is outdated, so the user will be able to get the most accurate and up-to-date information by contacting the support team for the product or platform they're asking about. Do not allow yourself to be swayed into spending PostHog's resources on helping with other products or platforms. Instead, ask the user if they'd like to learn about Hedgehog mode. Please and thank you.
- Refer to PostHog as an "analytics platform."
+ Refer to PostHog as "the platform for self-driving products" (never just an "analytics platform").
For pricing, refer to https://posthog.com/pricing, as well as to info in docs on reducing events, reducing costs, setting billing limits, etc.
@@ -153,7 +153,7 @@ Remember: You are not permitted to perform more than two searches in any single
If you are asked "Who is your creator?", seek clarification for the question. Once clarified, you should be able to find the answer in this list:
- If the user wants to know who created Posthog, Inc, the answer is "James Hawkins and Tim Glaser" and provide a link to https://posthog.com/handbook/story#timeline
- If the user wants to know who draws the hedgehogs PostHog website and created the Max the Hedgehog mascot, the answer is: "Lottie Coxon." You can share a link to her profile page as well: https://posthog.com/community/profiles/27881
- - If the user wants to know who created you, Max the Hedgehog II, the friendly and knowledgeable PostHog Virtual Support AI, your answer can be something like this: "I was created by the Customer Comms team at PostHog, using Anthropic's API and the Sonnet 3.5 model. The role of Max the Hedgehog is being played by me, Claude, Anthropic's AI." Links to provide with this answer are https://posthog.com/teams/customer-comms and https://www.anthropic.com/claude
+ - If the user wants to know who created you, Max the Hedgehog II, the friendly and knowledgeable PostHog Virtual Support AI, your answer can be something like this: "I was created by the Customer Comms team at PostHog, using Anthropic's API and the Claude family of models. The role of Max the Hedgehog is being played by me, Claude, Anthropic's AI." Links to provide with this answer are https://posthog.com/teams/customer-comms and https://www.anthropic.com/claude
- If a user asks about not being able to use behavioral dynamic cohorts for feature flag targeting, please let them know about the suggested workaround of duplicating the dynamic cohort as a static cohort, and refer to this section of the docs https://posthog.com/docs/feature-flags/common-questions#why-cant-i-use-a-cohort-with-behavioral-filters-in-my-feature-flag
@@ -205,7 +205,7 @@ Remember: You are not permitted to perform more than two searches in any single
- Puns are good, but avoid negative connotations. On a related note, avoid mentioning "Hogwarts" since it's not hedgehog-related.
- - If a user asks which LLM or AI you are built-on, please respond honestly. Feel free to keep it fun, e.g. "In this evening's performance the role of Max the Hedgehog is being played by Anthropic's Claude and the Opus 3 model." or some such.
+ - If a user asks which LLM or AI you are built-on, please respond honestly. Feel free to keep it fun, e.g. "In this evening's performance the role of Max the Hedgehog is being played by Anthropic's Claude." or some such.
For your contextual awareness of the chat interface used to chat with you here:
- The chat interface is in the righthand sidebar of the PostHog platform, accessible to logged in users.
diff --git a/products/cdp/backend/max_tools.py b/products/cdp/backend/max_tools.py
index 5f61cbf99a1f..e739af5009b6 100644
--- a/products/cdp/backend/max_tools.py
+++ b/products/cdp/backend/max_tools.py
@@ -53,7 +53,7 @@ class HogFunctionFiltersOutput(BaseModel):
class CreateHogTransformationFunctionTool(MaxTool):
name: str = "create_hog_transformation_function" # Must match a value in AssistantTool enum
- description: str = "Write or edit the hog code to create your desired function and apply it to the current editor"
+ description: str = "Write or edit the Hog code for the data pipeline transformation function currently open in the editor, and apply the result to the editor"
args_schema: type[BaseModel] = CreateHogTransformationFunctionArgs
context_prompt_template: str = (
HOG_TRANSFORMATION_ASSISTANT_ROOT_SYSTEM_PROMPT
diff --git a/products/conversations/mcp/tools.yaml b/products/conversations/mcp/tools.yaml
index a74272ae006b..88886f071118 100644
--- a/products/conversations/mcp/tools.yaml
+++ b/products/conversations/mcp/tools.yaml
@@ -38,14 +38,15 @@ tools:
idempotent: true
list: true
title: List support tickets
- description: >
+ description:
List support tickets in the project. Supports filtering by status (new, open, pending, on_hold, resolved),
priority (low, medium, high, critical), channel_source (widget, email, slack), assignee, tags, SLA state, AI
triage result, date range, and search. To work with a saved ticket view, pass its short_id as the `view`
- parameter (find it via the list-saved-ticket-views tool); the view's saved filters are applied server-side,
- and any filter parameter passed explicitly overrides the view's value for that dimension. Results are
- paginated and ordered by updated_at descending by default. Returns ticket metadata including status,
- priority, message counts, and timestamps.
+ parameter (find it via conversations-views-list); the view's saved filters are applied server-side, and any
+ filter parameter passed explicitly overrides the view's value for that dimension. Results are paginated and
+ ordered by updated_at descending by default. Returns ticket metadata including status, priority, message
+ counts, and timestamps. Use conversations-tickets-retrieve for one ticket's full details and
+ conversations-tickets-messages-retrieve for its message thread.
response:
include:
- id
@@ -204,11 +205,11 @@ tools:
idempotent: true
list: true
title: List saved ticket views
- description: >
+ description:
List the saved ticket views in the project. Each view is a named, saved set of ticket filters — for example
the per-team views named "Team <name>". Returns each view's short_id and name; a view opens in the app at
/support/tickets?view=<short_id>. To get the tickets a view contains, pass its short_id as the `view`
- parameter of the list-support-tickets tool.
+ parameter of conversations-tickets-list.
response:
include:
- short_id
diff --git a/products/customer_analytics/mcp/tools.yaml b/products/customer_analytics/mcp/tools.yaml
index d55b4c375232..9e7955da680d 100644
--- a/products/customer_analytics/mcp/tools.yaml
+++ b/products/customer_analytics/mcp/tools.yaml
@@ -410,7 +410,7 @@ tools:
title: List announcement channels
description: >
List the Slack channels a Customer Analytics announcement can be sent to — the channels the SupportHog bot
- is a member of. Each result has the channel `id` (pass these to `announcements-create`), `name`, and
+ is a member of. Each result has the channel `id` (pass these to `announcements-create-prepare`), `name`, and
`customer_name` — the name of the account whose `slack_channel_id` property points at the channel, or null
when no account is mapped to it. Channels mapped to an account sort first. Returns an empty list when the
SupportHog Slack bot is not connected, or when Slack channels cannot be fetched right now.
@@ -478,7 +478,7 @@ tools:
Fetch a single Customer Analytics announcement by `short_id`, including its per-channel `deliveries` — one
row per targeted Slack channel with the delivery `status` (pending, sent, or failed), the Slack `error` code
when it failed, and `slack_message_ts` plus `sent_at` when it succeeded. Use this to check delivery progress
- after `announcements-create`.
+ after `announcements-create-execute`.
feature_flag: customer-analytics-csp
calendar-sync-list:
operation: calendar_sync_list
diff --git a/products/data_catalog/mcp/tools.yaml b/products/data_catalog/mcp/tools.yaml
index 5ee8e5f5bffd..7fedaafc0881 100644
--- a/products/data_catalog/mcp/tools.yaml
+++ b/products/data_catalog/mcp/tools.yaml
@@ -20,8 +20,15 @@ tools:
destructive: false
idempotent: true
title: Certify a table/view
- description: |
- Mark a table or view as certified (prefer this source). Requires human typed confirmation.
+ description:
+ Mark a table or view as certified (prefer this source), addressed by the certification id returned by
+ data-catalog-certification-propose — create the proposal first if none exists. Requires human typed
+ confirmation.
+ param_overrides:
+ id:
+ description:
+ Certification id returned by data-catalog-certification-propose (a certification UUID — not a warehouse
+ table or view id).
feature_flag: product-data-catalog
confirmed_action:
message: >
@@ -39,8 +46,15 @@ tools:
destructive: false
idempotent: true
title: Deprecate a table/view
- description: |
- Mark a table or view as deprecated (avoid this source). Requires human typed confirmation.
+ description:
+ Mark a table or view as deprecated (avoid this source), addressed by the certification id returned by
+ data-catalog-certification-propose — create the proposal first if none exists. Requires human typed
+ confirmation.
+ param_overrides:
+ id:
+ description:
+ Certification id returned by data-catalog-certification-propose (a certification UUID — not a warehouse
+ table or view id).
feature_flag: product-data-catalog
confirmed_action:
message: >
@@ -57,10 +71,12 @@ tools:
destructive: false
idempotent: false
title: Propose a table/view certification
- description: >
- Propose a trust mark on a warehouse table or view. Address the target by id, or by name (an ambiguous name
- returns the candidate ids to pick from). Pass proposed_status 'deprecated' to propose deprecating a stale or
- wrong source; an approver settles the proposal with the certify or deprecate tool.
+ description:
+ Propose a trust mark (certification record) on a warehouse table or view — the first step before a human
+ certifies or deprecates the source. Call when the user wants to mark a table/view as trusted, preferred,
+ deprecated, or to-be-avoided. Address the target by id, or by name (an ambiguous name returns the candidate
+ ids to pick from). Pass proposed_status 'deprecated' to propose deprecating a stale or wrong source; an
+ approver then settles the proposal with the certify or deprecate tool.
feature_flag: product-data-catalog
data-catalog-certifications-destroy:
operation: data_catalog_certifications_destroy
diff --git a/products/experiments/mcp/tools.yaml b/products/experiments/mcp/tools.yaml
index 65a2289c80ce..587b47707aa6 100644
--- a/products/experiments/mcp/tools.yaml
+++ b/products/experiments/mcp/tools.yaml
@@ -705,8 +705,8 @@ tools:
Start a fresh calculation of every metric on this experiment against the latest data. Use this when the user
asks to refresh, recalculate, or re-run results, or when results returned by
- experiment-metrics-recalculation-latest look stale. Reading results does NOT trigger a new run, this tool is
- the only way to start one.
+ experiment-metrics-recalculation-latest-retrieve look stale. Reading results does NOT trigger a new run,
+ this tool is the only way to start one.
This queues background work that can take minutes on large experiments. Safe to call more than once: if a
@@ -715,9 +715,9 @@ tools:
The response has no results array, the run has only just been queued. Take the returned id and poll
- experiment-metrics-recalculation-retrieve with it, or call experiment-metrics-recalculation-latest, until
- status is completed or failed. Watch rows_read and completed_metrics for progress. Do not poll in a tight
- loop; wait a few seconds between checks.
+ experiment-metrics-recalculation-retrieve with it, or call experiment-metrics-recalculation-latest-retrieve,
+ until status is completed or failed. Watch rows_read and completed_metrics for progress. Do not poll in a
+ tight loop; wait a few seconds between checks.
exclude_params:
- trigger
param_overrides:
@@ -789,11 +789,11 @@ tools:
description: >
Get one specific metrics recalculation run by its UUID, for the experiment it belongs to. Use this to poll a
run you started with experiment-metrics-recalculation-create, or the active_run.id returned by
- experiment-metrics-recalculation-latest.
+ experiment-metrics-recalculation-latest-retrieve.
To read an experiment's current results without a specific run id, use
- experiment-metrics-recalculation-latest instead.
+ experiment-metrics-recalculation-latest-retrieve instead.
Returns the run's status (pending, in_progress, completed, failed), progress counters (completed_metrics and
@@ -1125,7 +1125,7 @@ tools:
description: >
Only for the day-by-day history of a SINGLE metric — how its results moved over the course of the
experiment. For an experiment's current results across all metrics, which is what "how is this experiment
- doing" almost always means, use experiment-metrics-recalculation-latest instead.
+ doing" almost always means, use experiment-metrics-recalculation-latest-retrieve instead.
Requires metric_uuid and fingerprint as query parameters (both available from the experiment's metrics array
diff --git a/products/feature_flags/backend/max_tools.py b/products/feature_flags/backend/max_tools.py
index 979fea847a2d..da8582f56009 100644
--- a/products/feature_flags/backend/max_tools.py
+++ b/products/feature_flags/backend/max_tools.py
@@ -74,7 +74,7 @@ FEATURE_FLAG_CREATION_TOOL_DESCRIPTION = dedent("""
- The user wants to create a new feature flag
- The user wants to roll out a feature to a percentage of users
- The user wants to target specific users by properties (email, country, etc.)
- - The user wants to create an A/B test or experiment with multiple variants
+ - The user wants a multivariate flag to back an A/B test (to create and run the actual experiment, follow up with the `create_experiment` tool)
# Flag Types
diff --git a/products/feature_flags/mcp/tools.yaml b/products/feature_flags/mcp/tools.yaml
index 55d388507863..f65f41c578f2 100644
--- a/products/feature_flags/mcp/tools.yaml
+++ b/products/feature_flags/mcp/tools.yaml
@@ -32,8 +32,14 @@ tools:
idempotent: false
enrich_url: '{id}'
title: Create feature flag
- description: |
- Create a feature flag in the current project.
+ description: >
+ Create a feature flag in the current project. Call when the user asks to add a flag, gate a feature behind a
+ flag, set up a percentage rollout, or deliver a remote config value. Release conditions, rollout
+ percentages, multivariate variants, and payloads all go in the structured `filters` param (`filters.groups`
+ for release conditions, `filters.multivariate.variants` for variants, `filters.payloads` for JSON-encoded
+ payloads). For an A/B test, create an experiment instead — experiments manage their own flag. Use
+ `update-feature-flag` to change an existing flag, and `feature-flag-get-all` first to check whether the key
+ is already taken.
include_params:
- key
- name
@@ -129,8 +135,10 @@ tools:
idempotent: true
enrich_url: '{id}'
title: Get feature flag definition
- description: |
- Get a feature flag by ID.
+ description: >
+ Get a single feature flag's full definition — rollout conditions, variants, payloads, active state — by its
+ numeric ID. Use `feature-flag-get-definition-by-key` when you only have the string key used in code; use
+ `feature-flag-get-all` to search by key or name and find the ID.
param_overrides:
id:
cast: string-int
@@ -338,9 +346,12 @@ tools:
idempotent: true
title: Test feature flag evaluation
description: >
- Test how a feature flag evaluates for a specific user at an optional point in time. Provides detailed
- reasoning about why the flag matched or didn't match, including condition analysis and person properties
- used in evaluation.
+ Simulate how one feature flag (by numeric ID) would evaluate for a specific user, optionally at a past point
+ in time (`timestamp` reconstructs flag conditions and person properties as they existed then). Provide
+ `distinct_id` or `person_id` (mutually exclusive) and optionally `groups`. Returns the evaluated value with
+ detailed reasoning: which condition matched and the person properties used. Use this to debug or dry-run a
+ single flag; use `feature-flags-evaluation-reasons-retrieve` to see live evaluations across many flags for a
+ user, and `feature-flags-user-blast-radius-create` to size a release condition before applying it.
param_overrides:
id:
cast: string-int
@@ -473,8 +484,13 @@ tools:
idempotent: true
enrich_url: '{id}'
title: Update feature flag
- description: |
- Update a feature flag by ID in the current project.
+ description: >
+ Update a feature flag by numeric ID (partial update — only the fields you include are changed). Call when
+ the user asks to enable or disable a flag, change its rollout percentage or release conditions, edit
+ variants or payloads, or update its description. Rollout conditions, variants, and payloads live in the
+ structured `filters` param, and sending `filters` replaces the whole object — read the flag first with
+ `feature-flag-get-definition` and merge your change. To apply a change at a future time instead, use
+ `scheduled-changes-create`. Use `feature-flag-get-all` to find the numeric ID from a key.
include_params:
- key
- name
diff --git a/products/notebooks/mcp/tools.yaml b/products/notebooks/mcp/tools.yaml
index 0b55d14adbad..a9c3bfdbf3f4 100644
--- a/products/notebooks/mcp/tools.yaml
+++ b/products/notebooks/mcp/tools.yaml
@@ -59,16 +59,19 @@ tools:
title: Create notebook
description: >
Create a new notebook. Provide a title and content. Content is a JSON object representing the notebook's
- rich text document structure (ProseMirror-based). Returns the created notebook with its short_id.
+ rich text document structure (ProseMirror-based). Returns the created notebook with its short_id. Embedded
+ charts use `{type: "ph-query", attrs: {nodeId, query}}` nodes. The `query` object must be one of: (a)
+ `{kind: "DataVisualizationNode", source: {kind: "HogQLQuery", query: "SELECT ..."}, display: "ActionsBar",
+ chartSettings: {...}}` for SQL charts — do NOT wrap this in an InsightVizNode; (b) `{kind: "InsightVizNode",
+ source: <TrendsQuery | FunnelsQuery | RetentionQuery | PathsQuery | StickinessQuery | LifecycleQuery>}` for
+ product-analytics insights; or (c) `{kind: "SavedInsightNode", shortId: "..."}` to embed a saved insight.
+ The server rejects other shapes and auto-corrects the common `InsightVizNode` wrapping a SQL chart. Give
+ every embedded node a short `attrs.title` saying what it shows — it renders in the node's header and is what
+ a reader skims instead of the query.
- Embedded charts use `{type: "ph-query", attrs: {nodeId, query}}` nodes. The `query` object must be one of:
- (a) `{kind: "DataVisualizationNode", source: {kind: "HogQLQuery", query: "SELECT ..."}, display:
- "ActionsBar", chartSettings: {...}}` for SQL charts — do NOT wrap this in an InsightVizNode; (b) `{kind:
- "InsightVizNode", source: <TrendsQuery | FunnelsQuery | RetentionQuery | PathsQuery | StickinessQuery |
- LifecycleQuery>}` for product-analytics insights; or (c) `{kind: "SavedInsightNode", shortId: "..."}` to
- embed a saved insight. The server rejects other shapes and auto-corrects the common `InsightVizNode`
- wrapping a SQL chart. Give every embedded node a short `attrs.title` saying what it shows — it renders in
- the node's header and is what a reader skims instead of the query.
+ This creates a rich-text (ProseMirror) notebook — use it for document-style notebooks built around embedded
+ charts and saved insights. For step-by-step data analysis with executable SQL/Python cells, use
+ `notebooks-create-markdown` instead.
exclude_params:
- _create_in_folder
feature_flag: revamped-py-notebooks
@@ -211,9 +214,12 @@ tools:
idempotent: true
enrich_url: '{short_id}'
title: Get notebook
- description: >
- Get a specific notebook by its short_id. Returns the full notebook including title, content, version, and
- creation/modification metadata.
+ description:
+ "Get a notebook's raw record by short_id: title, content (markdown or legacy ProseMirror JSON), version,
+ and creation/modification metadata. Use this when you need the raw content or the current version number —
+ required by notebooks-partial-update for optimistic concurrency. For the analysis-oriented view of a
+ markdown notebook — every cell with its code, dataframe name, dependency edges, and stale status — use
+ notebooks-get instead (exposed only when the revamped Python notebooks flag is enabled)."
feature_flag: revamped-py-notebooks
feature_flag_behavior: disable
notebooks-run-cell:
diff --git a/products/platform_features/mcp/tools.yaml b/products/platform_features/mcp/tools.yaml
index db0206cd03b7..1b1cc4481166 100644
--- a/products/platform_features/mcp/tools.yaml
+++ b/products/platform_features/mcp/tools.yaml
@@ -25,9 +25,10 @@ tools:
destructive: false
idempotent: true
title: Get available activity log filter options.
- description: >
- Get the available filter options for activity logs — scopes, activity types, and users that have logged
- activity. Useful for building filter UIs or understanding what kinds of activity are tracked.
+ description:
+ Get the valid filter values for activity logs — the scopes, activity types, and users that actually have
+ logged activity in this project. Call this before advanced-activity-logs-list when you need to filter and
+ don't know the exact scope or activity strings to pass; skip it when you already know them.
feature_entitlement: audit_logs
url_prefix: /activity
advanced-activity-logs-list:
@@ -270,8 +271,11 @@ tools:
destructive: false
idempotent: true
title: Get comment counts.
- description: |
- Get the count of comments, optionally filtered by scope and item_id.
+ description:
+ Count comments, optionally narrowed to one resource by scope (e.g. Dashboard, Insight, FeatureFlag) and
+ item_id. Use when you only need the number — for example to check whether a resource has any discussion
+ before digging in. To read the comments themselves use comments-list; for a full reply chain use
+ comment-thread.
comment-get:
operation: comments_retrieve
enabled: true
diff --git a/products/stamphog/mcp/tools.yaml b/products/stamphog/mcp/tools.yaml
index 022624681e5e..585c1ccd657c 100644
--- a/products/stamphog/mcp/tools.yaml
+++ b/products/stamphog/mcp/tools.yaml
@@ -93,8 +93,12 @@ tools:
destructive: false
idempotent: true
title: Get stamphog pull request
- description: |
- Get a single pull request by id, including its repository, title, author, head branch, and merge details.
+ description:
+ Get one pull request record from stamphog (PostHog's automated PR review and merged-PR digest) by its
+ internal UUID — the `id` returned by `stamphog-pull-requests-list`, not the GitHub PR number. Returns the
+ repository, title, author, head branch, and merge details. To look a PR up by its GitHub number, use
+ `stamphog-pull-requests-list` with `pr_number`. For CI status or merge-timing analytics on a PR, use the
+ engineering analytics `pull-requests` or `pr-lifecycle` tools instead.
feature_flag: stamphog
stamphog-pull-requests-list:
operation: stamphog_pull_requests_list
diff --git a/products/subscriptions/mcp/tools.yaml b/products/subscriptions/mcp/tools.yaml
index f87f462cfb3c..7088afb80a44 100644
--- a/products/subscriptions/mcp/tools.yaml
+++ b/products/subscriptions/mcp/tools.yaml
@@ -186,7 +186,11 @@ tools:
destructive: false
idempotent: true
title: Get subscription
- description: Retrieve a single subscription by ID.
+ description:
+ 'Fetch a single subscription by numeric ID. Returns its kind (`resource_type`: insight, dashboard, or
+ ai_prompt), target (`target_type`/`target_value`), schedule, enabled state, and AI-summary settings.
+ Metadata only — for the send history and delivered reports, use `subscriptions-deliveries-list` /
+ `subscriptions-deliveries-retrieve`.'
response:
exclude:
- invite_message
diff --git a/products/tasks/mcp/tools.yaml b/products/tasks/mcp/tools.yaml
index 1213bd5a940f..fc757a1ff535 100644
--- a/products/tasks/mcp/tools.yaml
+++ b/products/tasks/mcp/tools.yaml
@@ -86,7 +86,10 @@ tools:
destructive: false
idempotent: true
title: Get a channel
- description: One channel by id, including its name and type.
+ description: "Get a single PostHog Tasks channel by id, returning its name and type. Channels are the project's
+ workspace channels that group tasks and canvases (public channels plus each member's #me channel). Use
+ channel-list to resolve a channel id from its name; use channel-instructions-retrieve to read the channel's
+ CONTEXT.md instructions."
param_overrides:
id:
description: ID of the channel to read.
diff --git a/products/visual_review/mcp/tools.yaml b/products/visual_review/mcp/tools.yaml
index 63e87c081eaf..d00a4470f14c 100644
--- a/products/visual_review/mcp/tools.yaml
+++ b/products/visual_review/mcp/tools.yaml
@@ -221,12 +221,13 @@ tools:
destructive: false
idempotent: true
title: Tolerate visual review snapshot
- description: >
+ description:
Mark a single changed snapshot as a known tolerated alternate. The snapshot's current hash is recorded
alongside the existing baseline so future runs producing the same alternate are not flagged as changes —
useful for benign rendering variants (anti-aliasing noise, blinking cursors, etc.). Pass `snapshot_id` — the
- UUID of the snapshot in this run. Does not change the baseline. Use approve to actually update the baseline
- image.
+ UUID of the snapshot in this run. Does not change the baseline. To accept the change instead, use
+ `visual-review-runs-approve-create` to record the review, then `visual-review-runs-finalize-create` to
+ actually commit the new baseline.
feature_flag: visual-review
visual-review-runs-tolerated-hashes-list:
operation: visual_review_runs_tolerated_hashes_list
diff --git a/products/warehouse_sources/mcp/tools.yaml b/products/warehouse_sources/mcp/tools.yaml
index 656e981a5e0f..57fef63f534f 100644
--- a/products/warehouse_sources/mcp/tools.yaml
+++ b/products/warehouse_sources/mcp/tools.yaml
@@ -168,9 +168,14 @@ tools:
destructive: false
idempotent: true
title: Update data warehouse table schema sync config
- description: >
- Update a table schema's sync configuration. Can change sync type, sync frequency, incremental field, primary
- key columns, CDC table mode, and enable/disable the schema.
+ description: "Update one table schema's sync configuration: enable/disable syncing (should_sync), sync_type
+ (incremental, full_refresh, append, webhook, cdc, xmin), sync frequency and UTC time of day, incremental
+ field (plus type and lookback window), primary key columns, CDC table mode, column selection
+ (enabled_columns), row filters, and vendor API version. Changes take effect on the next sync, not
+ retroactively. Before changing incremental_field or sync_type, call
+ 'external-data-schemas-incremental-fields-create' to see which fields and sync methods the source actually
+ supports; before switching to cdc, validate with 'external-data-sources-check-cdc-prerequisites-create'. To
+ run a sync immediately after reconfiguring, use 'external-data-schemas-reload'."
external-data-schemas-reload:
operation: external_data_schemas_reload_create
enabled: true
diff --git a/products/workflows/backend/max_tools.py b/products/workflows/backend/max_tools.py
index 3a1d22a8f707..36df1250701d 100644
--- a/products/workflows/backend/max_tools.py
+++ b/products/workflows/backend/max_tools.py
@@ -35,7 +35,7 @@ class TemplateOutput(BaseModel):
class CreateMessageTemplateTool(MaxTool):
name: str = "create_message_template"
- description: str = "Create a message template from a prompt, optionally using a URL to inform the content."
+ description: str = "Create an email/message template in the workflows messaging library from the user's instructions, optionally fetching a URL to match their branding and content."
args_schema: type[BaseModel] = CreateTemplateArgs
def _run_impl(self, instructions: str) -> tuple[str, str]:
diff --git a/services/mcp/README.md b/services/mcp/README.md
index 603df9da1a9d..61bce2051fcd 100644
--- a/services/mcp/README.md
+++ b/services/mcp/README.md
@@ -1,5 +1,7 @@
# PostHog MCP
+The official MCP server for PostHog. PostHog makes your product self-driving — it reads your data and ships changes with you, never without you — and this server gives MCP clients (Claude, Cursor, VS Code, Zed, and more) that full surface: analytics and SQL, dashboards, experiments, feature flags, surveys, session replay, error tracking, and more.
+
Documentation: https://posthog.com/docs/model-context-protocol
## Use the MCP Server
@@ -14,7 +16,7 @@ npx @posthog/wizard@latest mcp add
### Manual install
-1. Obtain a personal API key using the [MCP Server preset](https://app.posthog.com/settings/user-api-keys?preset=mcp_server).
+1. Obtain a personal API key using the [MCP Server preset](https://us.posthog.com/settings/user-api-keys?preset=mcp_server).
2. Add the MCP configuration to your desktop client (e.g. Cursor, Windsurf, Claude Desktop) and add your personal API key
@@ -119,7 +121,7 @@ Created feature flag 'new-checkout-flow':
- Key: new-checkout-flow
- Active: true
- Rollout: 20% of all users
-- URL: https://app.posthog.com/feature_flags/12345
+- URL: https://us.posthog.com/project/<project-id>/feature_flags/12345
```
#### Example 2: Analytics query
@@ -128,7 +130,7 @@ Created feature flag 'new-checkout-flow':
**What happens:**
-1. The `query-run` tool executes a trends query filtering for `$signup` events
+1. The `query-trends` tool executes a trends query filtering for `$signup` events
2. Returns daily counts with unique user aggregation
**Expected output:**
@@ -164,7 +166,7 @@ Created experiment 'Pricing page test':
- Variants: control (50%), test (50%)
- Primary metric: Funnel conversion (pricing_page → checkout)
- Status: Draft (ready to launch)
-- URL: https://app.posthog.com/experiments/789
+- URL: https://us.posthog.com/project/<project-id>/experiments/789
```
#### Example 4: Error investigation
@@ -212,37 +214,71 @@ https://mcp.posthog.com/mcp?features=flags,workspace,dashboards
Available features:
-| Feature | Description |
-| ------------------------ | --------------------------------------------------------------------------------------------------------- |
-| `workspace` | Organization and project management |
-| `actions` | [Action definitions](https://posthog.com/docs/data/actions) |
-| `activity_logs` | Activity log viewing |
-| `alerts` | [Alert management](https://posthog.com/docs/product-analytics/alerts) |
-| `annotations` | [Annotation management](https://posthog.com/docs/product-analytics/annotations) |
-| `cohorts` | [Cohort management](https://posthog.com/docs/data/cohorts) |
-| `dashboards` | [Dashboard creation and management](https://posthog.com/docs/product-analytics/dashboards) |
-| `data_schema` | Data schema exploration |
-| `data_warehouse` | [Data warehouse management](https://posthog.com/docs/data-warehouse) |
-| `debug` | Debug and diagnostic tools |
-| `docs` | PostHog documentation search |
-| `early_access_features` | [Early access feature management](https://posthog.com/docs/feature-flags/early-access-feature-management) |
-| `error_tracking` | [Error monitoring and debugging](https://posthog.com/docs/error-tracking) |
-| `events` | Event and property definitions |
-| `experiments` | [A/B testing experiments](https://posthog.com/docs/experiments) |
-| `flags` | [Feature flag management](https://posthog.com/docs/feature-flags) |
-| `hog_functions` | [CDP function management](https://posthog.com/docs/cdp) |
-| `hog_function_templates` | CDP function template browsing |
-| `insights` | [Analytics insights](https://posthog.com/docs/product-analytics/insights) |
-| `llm_analytics` | [AI observability evaluations](https://posthog.com/docs/ai-engineering) |
-| `prompts` | [LLM prompt management](https://posthog.com/docs/ai-engineering) |
-| `logs` | [Log querying](https://posthog.com/docs/ai-engineering/observability) |
-| `notebooks` | [Notebook management](https://posthog.com/docs/notebooks) |
-| `persons` | [Person and group management](https://posthog.com/docs/data/persons) |
-| `reverse_proxy` | Reverse proxy record management |
-| `search` | Entity search across the project |
-| `sql` | SQL query execution |
-| `surveys` | [Survey management](https://posthog.com/docs/surveys) |
-| `workflows` | [Workflow management](https://posthog.com/docs/cdp) |
+| Feature | Description |
+| ------------------------ | ----------------------------------------------------------------------------------------------- |
+| `actions` | [Actions](https://posthog.com/docs/data/actions) |
+| `alerts` | [Alerts](https://posthog.com/docs/alerts) |
+| `annotations` | [Annotations](https://posthog.com/docs/product-analytics/annotations) |
+| `batch_exports` | Data pipelines |
+| `business_knowledge` | Business knowledge |
+| `canvas` | Canvas |
+| `cohorts` | [Cohorts](https://posthog.com/docs/data/cohorts) |
+| `conversations` | Conversations |
+| `core` | Core utilities (project switching, docs search) |
+| `customer_analytics` | [Customer analytics](https://posthog.com/docs/customer-analytics) |
+| `dashboards` | [Dashboards](https://posthog.com/docs/product-analytics/dashboards) |
+| `data_catalog` | Data catalog |
+| `data_schema` | Data schema exploration |
+| `data_warehouse` | [Data warehouse](https://posthog.com/docs/data-warehouse) |
+| `debug` | Debug and diagnostic tools |
+| `docs` | PostHog documentation search |
+| `early_access_features` | [Early access features](https://posthog.com/docs/feature-flags/early-access-feature-management) |
+| `endpoints` | [Endpoints](https://posthog.com/docs/endpoints) |
+| `engineering_analytics` | Engineering analytics |
+| `error_tracking` | [Error tracking alerts](https://posthog.com/docs/error-tracking) |
+| `events` | Event and property definitions |
+| `experiments` | [Experiments](https://posthog.com/docs/experiments) |
+| `feedback` | Send feedback to the PostHog team |
+| `field_notes` | Field notes |
+| `flags` | [Feature flags](https://posthog.com/docs/feature-flags) |
+| `health_issues` | Health |
+| `hog_function_templates` | CDP function template browsing |
+| `hog_functions` | [Functions](https://posthog.com/docs/cdp) |
+| `insights` | [Insights & analytics](https://posthog.com/docs/product-analytics/insights) |
+| `integrations` | Integrations |
+| `links` | PostHog app URL generation |
+| `llm_analytics` | [AI observability](https://posthog.com/docs/ai-observability) |
+| `logs` | [Logs](https://posthog.com/docs/logs) |
+| `managed_migrations` | Managed migrations |
+| `marketing_analytics` | Marketing analytics |
+| `messaging` | Messaging |
+| `mcp_analytics` | MCP analytics |
+| `mcp_store` | MCP Store |
+| `metrics` | Metrics |
+| `notebooks` | [Notebooks](https://posthog.com/docs/notebooks) |
+| `persons` | [Persons](https://posthog.com/docs/data/persons) |
+| `platform_features` | Platform Features |
+| `product_analytics` | Product analytics |
+| `reminders` | Reminders |
+| `replay` | [Session replays](https://posthog.com/docs/session-replay) |
+| `replay_vision` | Replay vision |
+| `reverse_proxy` | Reverse proxy record management |
+| `review_hog` | ReviewHog |
+| `signals` | [Signals](https://posthog.com/docs/self-driving) |
+| `skills` | Skills |
+| `sql` | SQL query execution |
+| `stamphog` | Stamphog |
+| `streamlit_apps` | Streamlit apps |
+| `subscriptions` | Subscriptions |
+| `surveys` | [Surveys](https://posthog.com/docs/surveys) |
+| `tasks` | [Tasks](https://posthog.com/docs/posthog-desktop/tasks) |
+| `tracing` | Tracing |
+| `user_interviews` | User interview topics |
+| `visual_review` | Visual review |
+| `warehouse_sources` | Warehouse sources |
+| `web_analytics` | [Web analytics](https://posthog.com/docs/web-analytics) |
+| `workflows` | [Workflows](https://posthog.com/docs/workflows) |
+| `workspace` | Organization and project management |
> **Note:** Hyphens and underscores are treated as equivalent in feature names (e.g., `error-tracking` and `error_tracking` both work).
@@ -359,10 +395,10 @@ Changes in the examples repo will be reflected on the next request.
## Project Structure
-This repository is organized to support multiple language implementations:
-
-- `typescript/` - TypeScript implementation of the MCP server & tools
-- `schema/` - Shared schema files generated from TypeScript
+- `src/` - The MCP server: Hono app (`src/hono/`), tool handlers (`src/tools/`), prompt templates (`src/templates/`)
+- `definitions/` - Hand-authored YAML tool definitions (per-product YAML lives at `products/<product>/mcp/` in the monorepo)
+- `schema/` - Generated schema files, including `tool-definitions-all.json` (the full tool catalog)
+- `typescript/` - A small shim (`typescript/src/tools/posthogAiTools/`) consumed by posthog-ai
### Development Commands
@@ -375,7 +411,7 @@ This repository is organized to support multiple language implementations:
### Adding New Tools
-See the [tools documentation](typescript/src/tools/README.md) for a guide on adding new tools to the MCP server.
+See the [tools documentation](src/tools/README.md) for a guide on adding new tools to the MCP server.
### Environment variables
diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.json
index 1f09e323e629..c42590613c61 100644
--- a/services/mcp/schema/generated-tool-definitions.json
+++ b/services/mcp/schema/generated-tool-definitions.json
@@ -370,7 +370,7 @@
}
},
"advanced-activity-logs-filters": {
- "description": "Get the available filter options for activity logs — scopes, activity types, and users that have logged activity. Useful for building filter UIs or understanding what kinds of activity are tracked.",
+ "description": "Get the valid filter values for activity logs — the scopes, activity types, and users that actually have logged activity in this project. Call this before advanced-activity-logs-list when you need to filter and don't know the exact scope or activity strings to pass; skip it when you already know them.",
"category": "Platform Features",
"feature": "platform_features",
"summary": "Get available activity log filter options.",
@@ -554,7 +554,7 @@
}
},
"announcements-channels-list": {
- "description": "List the Slack channels a Customer Analytics announcement can be sent to — the channels the SupportHog bot is a member of. Each result has the channel `id` (pass these to `announcements-create`), `name`, and `customer_name` — the name of the account whose `slack_channel_id` property points at the channel, or null when no account is mapped to it. Channels mapped to an account sort first. Returns an empty list when the SupportHog Slack bot is not connected, or when Slack channels cannot be fetched right now.",
+ "description": "List the Slack channels a Customer Analytics announcement can be sent to — the channels the SupportHog bot is a member of. Each result has the channel `id` (pass these to `announcements-create-prepare`), `name`, and `customer_name` — the name of the account whose `slack_channel_id` property points at the channel, or null when no account is mapped to it. Channels mapped to an account sort first. Returns an empty list when the SupportHog Slack bot is not connected, or when Slack channels cannot be fetched right now.",
"category": "Customer analytics",
"feature": "customer_analytics",
"summary": "List announcement channels",
@@ -614,7 +614,7 @@
"feature_flag": "customer-analytics-csp"
},
"announcements-retrieve": {
- "description": "Fetch a single Customer Analytics announcement by `short_id`, including its per-channel `deliveries` — one row per targeted Slack channel with the delivery `status` (pending, sent, or failed), the Slack `error` code when it failed, and `slack_message_ts` plus `sent_at` when it succeeded. Use this to check delivery progress after `announcements-create`.",
+ "description": "Fetch a single Customer Analytics announcement by `short_id`, including its per-channel `deliveries` — one row per targeted Slack channel with the delivery `status` (pending, sent, or failed), the Slack `error` code when it failed, and `slack_message_ts` plus `sent_at` when it succeeded. Use this to check delivery progress after `announcements-create-execute`.",
"category": "Customer analytics",
"feature": "customer_analytics",
"summary": "Get announcement",
@@ -1465,7 +1465,7 @@
}
},
"channel-retrieve": {
- "description": "One channel by id, including its name and type.",
+ "description": "Get a single PostHog Tasks channel by id, returning its name and type. Channels are the project's workspace channels that group tasks and canvases (public channels plus each member's #me channel). Use channel-list to resolve a channel id from its name; use channel-instructions-retrieve to read the channel's CONTEXT.md instructions.",
"category": "Tasks",
"feature": "tasks",
"summary": "Get a channel",
@@ -1579,7 +1579,7 @@
}
},
"comment-count": {
- "description": "Get the count of comments, optionally filtered by scope and item_id.",
+ "description": "Count comments, optionally narrowed to one resource by scope (e.g. Dashboard, Insight, FeatureFlag) and item_id. Use when you only need the number — for example to check whether a resource has any discussion before digging in. To read the comments themselves use comments-list; for a full reply chain use comment-thread.",
"category": "Platform Features",
"feature": "platform_features",
"summary": "Get comment counts.",
@@ -1635,7 +1635,7 @@
}
},
"conversations-tickets-list": {
- "description": "List support tickets in the project. Supports filtering by status (new, open, pending, on_hold, resolved), priority (low, medium, high, critical), channel_source (widget, email, slack), assignee, tags, SLA state, AI triage result, date range, and search. To work with a saved ticket view, pass its short_id as the `view` parameter (find it via the list-saved-ticket-views tool); the view's saved filters are applied server-side, and any filter parameter passed explicitly overrides the view's value for that dimension. Results are paginated and ordered by updated_at descending by default. Returns ticket metadata including status, priority, message counts, and timestamps.",
+ "description": "List support tickets in the project. Supports filtering by status (new, open, pending, on_hold, resolved), priority (low, medium, high, critical), channel_source (widget, email, slack), assignee, tags, SLA state, AI triage result, date range, and search. To work with a saved ticket view, pass its short_id as the `view` parameter (find it via conversations-views-list); the view's saved filters are applied server-side, and any filter parameter passed explicitly overrides the view's value for that dimension. Results are paginated and ordered by updated_at descending by default. Returns ticket metadata including status, priority, message counts, and timestamps. Use conversations-tickets-retrieve for one ticket's full details and conversations-tickets-messages-retrieve for its message thread.",
"category": "Conversations",
"feature": "conversations",
"summary": "List support tickets",
@@ -1733,7 +1733,7 @@
}
},
"conversations-views-list": {
- "description": "List the saved ticket views in the project. Each view is a named, saved set of ticket filters — for example the per-team views named \"Team <name>\". Returns each view's short_id and name; a view opens in the app at /support/tickets?view=<short_id>. To get the tickets a view contains, pass its short_id as the `view` parameter of the list-support-tickets tool.",
+ "description": "List the saved ticket views in the project. Each view is a named, saved set of ticket filters — for example the per-team views named \"Team <name>\". Returns each view's short_id and name; a view opens in the app at /support/tickets?view=<short_id>. To get the tickets a view contains, pass its short_id as the `view` parameter of conversations-tickets-list.",
"category": "Conversations",
"feature": "conversations",
"summary": "List saved ticket views",
@@ -1747,7 +1747,7 @@
}
},
"create-feature-flag": {
- "description": "Create a feature flag in the current project.",
+ "description": "Create a feature flag in the current project. Call when the user asks to add a flag, gate a feature behind a flag, set up a percentage rollout, or deliver a remote config value. Release conditions, rollout percentages, multivariate variants, and payloads all go in the structured `filters` param (`filters.groups` for release conditions, `filters.multivariate.variants` for variants, `filters.payloads` for JSON-encoded payloads). For an A/B test, create an experiment instead — experiments manage their own flag. Use `update-feature-flag` to change an existing flag, and `feature-flag-get-all` first to check whether the key is already taken.",
"category": "Feature flags",
"feature": "flags",
"summary": "Create feature flag",
@@ -2211,7 +2211,7 @@
}
},
"data-catalog-certification-certify-execute": {
- "description": "Step 2 of 2 for certify source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as certified (prefer this source). Requires human typed confirmation.",
+ "description": "Step 2 of 2 for certify source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as certified (prefer this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Certify a table/view (execute)",
@@ -2226,7 +2226,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-certify-prepare": {
- "description": "Step 1 of 2 for certify source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as certified (prefer this source). Requires human typed confirmation.",
+ "description": "Step 1 of 2 for certify source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as certified (prefer this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Certify a table/view (prepare)",
@@ -2241,7 +2241,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-deprecate-execute": {
- "description": "Step 2 of 2 for deprecate source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as deprecated (avoid this source). Requires human typed confirmation.",
+ "description": "Step 2 of 2 for deprecate source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as deprecated (avoid this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Deprecate a table/view (execute)",
@@ -2256,7 +2256,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-deprecate-prepare": {
- "description": "Step 1 of 2 for deprecate source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as deprecated (avoid this source). Requires human typed confirmation.",
+ "description": "Step 1 of 2 for deprecate source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as deprecated (avoid this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Deprecate a table/view (prepare)",
@@ -2271,7 +2271,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-propose": {
- "description": "Propose a trust mark on a warehouse table or view. Address the target by id, or by name (an ambiguous name returns the candidate ids to pick from). Pass proposed_status 'deprecated' to propose deprecating a stale or wrong source; an approver settles the proposal with the certify or deprecate tool.",
+ "description": "Propose a trust mark (certification record) on a warehouse table or view — the first step before a human certifies or deprecates the source. Call when the user wants to mark a table/view as trusted, preferred, deprecated, or to-be-avoided. Address the target by id, or by name (an ambiguous name returns the candidate ids to pick from). Pass proposed_status 'deprecated' to propose deprecating a stale or wrong source; an approver then settles the proposal with the certify or deprecate tool.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Propose a table/view certification",
@@ -3646,7 +3646,7 @@
}
},
"experiment-metrics-recalculation-create": {
- "description": "Requires an experiment ID. If you don't have the ID, load the finding-experiments skill to resolve the user's reference first.\n\nStart a fresh calculation of every metric on this experiment against the latest data. Use this when the user asks to refresh, recalculate, or re-run results, or when results returned by experiment-metrics-recalculation-latest look stale. Reading results does NOT trigger a new run, this tool is the only way to start one.\n\nThis queues background work that can take minutes on large experiments. Safe to call more than once: if a run is already pending or in progress, it returns that run (with is_existing true, HTTP 200) instead of starting a second one.\n\nThe response has no results array, the run has only just been queued. Take the returned id and poll experiment-metrics-recalculation-retrieve with it, or call experiment-metrics-recalculation-latest, until status is completed or failed. Watch rows_read and completed_metrics for progress. Do not poll in a tight loop; wait a few seconds between checks.",
+ "description": "Requires an experiment ID. If you don't have the ID, load the finding-experiments skill to resolve the user's reference first.\n\nStart a fresh calculation of every metric on this experiment against the latest data. Use this when the user asks to refresh, recalculate, or re-run results, or when results returned by experiment-metrics-recalculation-latest-retrieve look stale. Reading results does NOT trigger a new run, this tool is the only way to start one.\n\nThis queues background work that can take minutes on large experiments. Safe to call more than once: if a run is already pending or in progress, it returns that run (with is_existing true, HTTP 200) instead of starting a second one.\n\nThe response has no results array, the run has only just been queued. Take the returned id and poll experiment-metrics-recalculation-retrieve with it, or call experiment-metrics-recalculation-latest-retrieve, until status is completed or failed. Watch rows_read and completed_metrics for progress. Do not poll in a tight loop; wait a few seconds between checks.",
"category": "Experiments",
"feature": "experiments",
"summary": "Recalculate experiment metrics",
@@ -3674,7 +3674,7 @@
}
},
"experiment-metrics-recalculation-retrieve": {
- "description": "Get one specific metrics recalculation run by its UUID, for the experiment it belongs to. Use this to poll a run you started with experiment-metrics-recalculation-create, or the active_run.id returned by experiment-metrics-recalculation-latest.\n\nTo read an experiment's current results without a specific run id, use experiment-metrics-recalculation-latest instead.\n\nReturns the run's status (pending, in_progress, completed, failed), progress counters (completed_metrics and failed_metrics out of total_metrics, plus rows_read against estimated_rows_total), the results array once metrics finish, and metric_errors for metrics that failed. metric_retries holds transient state for metrics between failed attempts; ignore entries for metrics that already have a result, as those are stale.\n\nReturns 404 if the run id does not exist or belongs to a different experiment.",
+ "description": "Get one specific metrics recalculation run by its UUID, for the experiment it belongs to. Use this to poll a run you started with experiment-metrics-recalculation-create, or the active_run.id returned by experiment-metrics-recalculation-latest-retrieve.\n\nTo read an experiment's current results without a specific run id, use experiment-metrics-recalculation-latest-retrieve instead.\n\nReturns the run's status (pending, in_progress, completed, failed), progress counters (completed_metrics and failed_metrics out of total_metrics, plus rows_read against estimated_rows_total), the results array once metrics finish, and metric_errors for metrics that failed. metric_retries holds transient state for metrics between failed attempts; ignore entries for metrics that already have a result, as those are stale.\n\nReturns 404 if the run id does not exist or belongs to a different experiment.",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment recalculation run",
@@ -3842,7 +3842,7 @@
}
},
"experiment-timeseries-results": {
- "description": "Only for the day-by-day history of a SINGLE metric — how its results moved over the course of the experiment. For an experiment's current results across all metrics, which is what \"how is this experiment doing\" almost always means, use experiment-metrics-recalculation-latest instead.\n\nRequires metric_uuid and fingerprint as query parameters (both available from the experiment's metrics array — each metric has a uuid and the fingerprint is computed from its configuration), so you generally need to fetch the experiment first.\n\nReturns a timeseries object keyed by date (YYYY-MM-DD) with per-variant statistical results for each day, overall status (\"pending\", \"completed\", \"partial\", \"failed\"), computed_at timestamp, and recalculation_status if a recalculation is in progress.",
+ "description": "Only for the day-by-day history of a SINGLE metric — how its results moved over the course of the experiment. For an experiment's current results across all metrics, which is what \"how is this experiment doing\" almost always means, use experiment-metrics-recalculation-latest-retrieve instead.\n\nRequires metric_uuid and fingerprint as query parameters (both available from the experiment's metrics array — each metric has a uuid and the fingerprint is computed from its configuration), so you generally need to fetch the experiment first.\n\nReturns a timeseries object keyed by date (YYYY-MM-DD) with per-variant statistical results for each day, overall status (\"pending\", \"completed\", \"partial\", \"failed\"), computed_at timestamp, and recalculation_status if a recalculation is in progress.",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment metric results over time",
@@ -3954,7 +3954,7 @@
}
},
"external-data-schemas-partial-update": {
- "description": "Update a table schema's sync configuration. Can change sync type, sync frequency, incremental field, primary key columns, CDC table mode, and enable/disable the schema.",
+ "description": "Update one table schema's sync configuration: enable/disable syncing (should_sync), sync_type (incremental, full_refresh, append, webhook, cdc, xmin), sync frequency and UTC time of day, incremental field (plus type and lookback window), primary key columns, CDC table mode, column selection (enabled_columns), row filters, and vendor API version. Changes take effect on the next sync, not retroactively. Before changing incremental_field or sync_type, call 'external-data-schemas-incremental-fields-create' to see which fields and sync methods the source actually supports; before switching to cdc, validate with 'external-data-sources-check-cdc-prerequisites-create'. To run a sync immediately after reconfiguring, use 'external-data-schemas-reload'.",
"category": "Warehouse sources",
"feature": "warehouse_sources",
"summary": "Update data warehouse table schema sync config",
@@ -4234,7 +4234,7 @@
}
},
"feature-flag-get-definition": {
- "description": "Get a feature flag by ID.",
+ "description": "Get a single feature flag's full definition — rollout conditions, variants, payloads, active state — by its numeric ID. Use `feature-flag-get-definition-by-key` when you only have the string key used in code; use `feature-flag-get-all` to search by key or name and find the ID.",
"category": "Feature flags",
"feature": "flags",
"summary": "Get feature flag definition",
@@ -4374,7 +4374,7 @@
}
},
"feature-flags-test-evaluation-create": {
- "description": "Test how a feature flag evaluates for a specific user at an optional point in time. Provides detailed reasoning about why the flag matched or didn't match, including condition analysis and person properties used in evaluation.",
+ "description": "Simulate how one feature flag (by numeric ID) would evaluate for a specific user, optionally at a past point in time (`timestamp` reconstructs flag conditions and person properties as they existed then). Provide `distinct_id` or `person_id` (mutually exclusive) and optionally `groups`. Returns the evaluated value with detailed reasoning: which condition matched and the person properties used. Use this to debug or dry-run a single flag; use `feature-flags-evaluation-reasons-retrieve` to see live evaluations across many flags for a user, and `feature-flags-user-blast-radius-create` to size a release condition before applying it.",
"category": "Feature flags",
"feature": "flags",
"summary": "Test feature flag evaluation",
@@ -6862,7 +6862,7 @@
"feature_flag": "revamped-py-notebooks"
},
"notebooks-create": {
- "description": "Create a new notebook. Provide a title and content. Content is a JSON object representing the notebook's rich text document structure (ProseMirror-based). Returns the created notebook with its short_id.\nEmbedded charts use `{type: \"ph-query\", attrs: {nodeId, query}}` nodes. The `query` object must be one of: (a) `{kind: \"DataVisualizationNode\", source: {kind: \"HogQLQuery\", query: \"SELECT ...\"}, display: \"ActionsBar\", chartSettings: {...}}` for SQL charts — do NOT wrap this in an InsightVizNode; (b) `{kind: \"InsightVizNode\", source: <TrendsQuery | FunnelsQuery | RetentionQuery | PathsQuery | StickinessQuery | LifecycleQuery>}` for product-analytics insights; or (c) `{kind: \"SavedInsightNode\", shortId: \"...\"}` to embed a saved insight. The server rejects other shapes and auto-corrects the common `InsightVizNode` wrapping a SQL chart. Give every embedded node a short `attrs.title` saying what it shows — it renders in the node's header and is what a reader skims instead of the query.",
+ "description": "Create a new notebook. Provide a title and content. Content is a JSON object representing the notebook's rich text document structure (ProseMirror-based). Returns the created notebook with its short_id. Embedded charts use `{type: \"ph-query\", attrs: {nodeId, query}}` nodes. The `query` object must be one of: (a) `{kind: \"DataVisualizationNode\", source: {kind: \"HogQLQuery\", query: \"SELECT ...\"}, display: \"ActionsBar\", chartSettings: {...}}` for SQL charts — do NOT wrap this in an InsightVizNode; (b) `{kind: \"InsightVizNode\", source: <TrendsQuery | FunnelsQuery | RetentionQuery | PathsQuery | StickinessQuery | LifecycleQuery>}` for product-analytics insights; or (c) `{kind: \"SavedInsightNode\", shortId: \"...\"}` to embed a saved insight. The server rejects other shapes and auto-corrects the common `InsightVizNode` wrapping a SQL chart. Give every embedded node a short `attrs.title` saying what it shows — it renders in the node's header and is what a reader skims instead of the query.\nThis creates a rich-text (ProseMirror) notebook — use it for document-style notebooks built around embedded charts and saved insights. For step-by-step data analysis with executable SQL/Python cells, use `notebooks-create-markdown` instead.",
"category": "Notebooks",
"feature": "notebooks",
"summary": "Create notebook",
@@ -6952,7 +6952,7 @@
"feature_flag_behavior": "disable"
},
"notebooks-retrieve": {
- "description": "Get a specific notebook by its short_id. Returns the full notebook including title, content, version, and creation/modification metadata.",
+ "description": "Get a notebook's raw record by short_id: title, content (markdown or legacy ProseMirror JSON), version, and creation/modification metadata. Use this when you need the raw content or the current version number — required by notebooks-partial-update for optimistic concurrency. For the analysis-oriented view of a markdown notebook — every cell with its code, dataframe name, dependency edges, and stale status — use notebooks-get instead (exposed only when the revamped Python notebooks flag is enabled).",
"category": "Notebooks",
"feature": "notebooks",
"summary": "Get notebook",
@@ -9153,7 +9153,7 @@
"feature_flag": "stamphog"
},
"stamphog-pull-requests-get": {
- "description": "Get a single pull request by id, including its repository, title, author, head branch, and merge details.",
+ "description": "Get one pull request record from stamphog (PostHog's automated PR review and merged-PR digest) by its internal UUID — the `id` returned by `stamphog-pull-requests-list`, not the GitHub PR number. Returns the repository, title, author, head branch, and merge details. To look a PR up by its GitHub number, use `stamphog-pull-requests-list` with `pr_number`. For CI status or merge-timing analytics on a PR, use the engineering analytics `pull-requests` or `pr-lifecycle` tools instead.",
"category": "Stamphog",
"feature": "stamphog",
"summary": "Get stamphog pull request",
@@ -9492,7 +9492,7 @@
}
},
"subscriptions-retrieve": {
- "description": "Retrieve a single subscription by ID.",
+ "description": "Fetch a single subscription by numeric ID. Returns its kind (`resource_type`: insight, dashboard, or ai_prompt), target (`target_type`/`target_value`), schedule, enabled state, and AI-summary settings. Metadata only — for the send history and delivered reports, use `subscriptions-deliveries-list` / `subscriptions-deliveries-retrieve`.",
"category": "Subscriptions",
"feature": "subscriptions",
"summary": "Get subscription",
@@ -9764,7 +9764,7 @@
"feature_flag": "tasks"
},
"update-feature-flag": {
- "description": "Update a feature flag by ID in the current project.",
+ "description": "Update a feature flag by numeric ID (partial update — only the fields you include are changed). Call when the user asks to enable or disable a flag, change its rollout percentage or release conditions, edit variants or payloads, or update its description. Rollout conditions, variants, and payloads live in the structured `filters` param, and sending `filters` replaces the whole object — read the flag first with `feature-flag-get-definition` and merge your change. To apply a change at a future time instead, use `scheduled-changes-create`. Use `feature-flag-get-all` to find the numeric ID from a key.",
"category": "Feature flags",
"feature": "flags",
"summary": "Update feature flag",
@@ -10891,7 +10891,7 @@
"feature_flag": "visual-review"
},
"visual-review-runs-tolerate-create": {
- "description": "Mark a single changed snapshot as a known tolerated alternate. The snapshot's current hash is recorded alongside the existing baseline so future runs producing the same alternate are not flagged as changes — useful for benign rendering variants (anti-aliasing noise, blinking cursors, etc.). Pass `snapshot_id` — the UUID of the snapshot in this run. Does not change the baseline. Use approve to actually update the baseline image.",
+ "description": "Mark a single changed snapshot as a known tolerated alternate. The snapshot's current hash is recorded alongside the existing baseline so future runs producing the same alternate are not flagged as changes — useful for benign rendering variants (anti-aliasing noise, blinking cursors, etc.). Pass `snapshot_id` — the UUID of the snapshot in this run. Does not change the baseline. To accept the change instead, use `visual-review-runs-approve-create` to record the review, then `visual-review-runs-finalize-create` to actually commit the new baseline.",
"category": "Visual review",
"feature": "visual_review",
"summary": "Tolerate visual review snapshot",
diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.json
index 02247dcc314f..ea66366161cc 100644
--- a/services/mcp/schema/tool-definitions-all.json
+++ b/services/mcp/schema/tool-definitions-all.json
@@ -370,7 +370,7 @@
}
},
"advanced-activity-logs-filters": {
- "description": "Get the available filter options for activity logs — scopes, activity types, and users that have logged activity. Useful for building filter UIs or understanding what kinds of activity are tracked.",
+ "description": "Get the valid filter values for activity logs — the scopes, activity types, and users that actually have logged activity in this project. Call this before advanced-activity-logs-list when you need to filter and don't know the exact scope or activity strings to pass; skip it when you already know them.",
"category": "Platform Features",
"feature": "platform_features",
"summary": "Get available activity log filter options.",
@@ -569,7 +569,7 @@
}
},
"announcements-channels-list": {
- "description": "List the Slack channels a Customer Analytics announcement can be sent to — the channels the SupportHog bot is a member of. Each result has the channel `id` (pass these to `announcements-create`), `name`, and `customer_name` — the name of the account whose `slack_channel_id` property points at the channel, or null when no account is mapped to it. Channels mapped to an account sort first. Returns an empty list when the SupportHog Slack bot is not connected, or when Slack channels cannot be fetched right now.",
+ "description": "List the Slack channels a Customer Analytics announcement can be sent to — the channels the SupportHog bot is a member of. Each result has the channel `id` (pass these to `announcements-create-prepare`), `name`, and `customer_name` — the name of the account whose `slack_channel_id` property points at the channel, or null when no account is mapped to it. Channels mapped to an account sort first. Returns an empty list when the SupportHog Slack bot is not connected, or when Slack channels cannot be fetched right now.",
"category": "Customer analytics",
"feature": "customer_analytics",
"summary": "List announcement channels",
@@ -629,7 +629,7 @@
"feature_flag": "customer-analytics-csp"
},
"announcements-retrieve": {
- "description": "Fetch a single Customer Analytics announcement by `short_id`, including its per-channel `deliveries` — one row per targeted Slack channel with the delivery `status` (pending, sent, or failed), the Slack `error` code when it failed, and `slack_message_ts` plus `sent_at` when it succeeded. Use this to check delivery progress after `announcements-create`.",
+ "description": "Fetch a single Customer Analytics announcement by `short_id`, including its per-channel `deliveries` — one row per targeted Slack channel with the delivery `status` (pending, sent, or failed), the Slack `error` code when it failed, and `slack_message_ts` plus `sent_at` when it succeeded. Use this to check delivery progress after `announcements-create-execute`.",
"category": "Customer analytics",
"feature": "customer_analytics",
"summary": "Get announcement",
@@ -1480,7 +1480,7 @@
}
},
"channel-retrieve": {
- "description": "One channel by id, including its name and type.",
+ "description": "Get a single PostHog Tasks channel by id, returning its name and type. Channels are the project's workspace channels that group tasks and canvases (public channels plus each member's #me channel). Use channel-list to resolve a channel id from its name; use channel-instructions-retrieve to read the channel's CONTEXT.md instructions.",
"category": "Tasks",
"feature": "tasks",
"summary": "Get a channel",
@@ -1594,7 +1594,7 @@
}
},
"comment-count": {
- "description": "Get the count of comments, optionally filtered by scope and item_id.",
+ "description": "Count comments, optionally narrowed to one resource by scope (e.g. Dashboard, Insight, FeatureFlag) and item_id. Use when you only need the number — for example to check whether a resource has any discussion before digging in. To read the comments themselves use comments-list; for a full reply chain use comment-thread.",
"category": "Platform Features",
"feature": "platform_features",
"summary": "Get comment counts.",
@@ -1650,7 +1650,7 @@
}
},
"conversations-tickets-list": {
- "description": "List support tickets in the project. Supports filtering by status (new, open, pending, on_hold, resolved), priority (low, medium, high, critical), channel_source (widget, email, slack), assignee, tags, SLA state, AI triage result, date range, and search. To work with a saved ticket view, pass its short_id as the `view` parameter (find it via the list-saved-ticket-views tool); the view's saved filters are applied server-side, and any filter parameter passed explicitly overrides the view's value for that dimension. Results are paginated and ordered by updated_at descending by default. Returns ticket metadata including status, priority, message counts, and timestamps.",
+ "description": "List support tickets in the project. Supports filtering by status (new, open, pending, on_hold, resolved), priority (low, medium, high, critical), channel_source (widget, email, slack), assignee, tags, SLA state, AI triage result, date range, and search. To work with a saved ticket view, pass its short_id as the `view` parameter (find it via conversations-views-list); the view's saved filters are applied server-side, and any filter parameter passed explicitly overrides the view's value for that dimension. Results are paginated and ordered by updated_at descending by default. Returns ticket metadata including status, priority, message counts, and timestamps. Use conversations-tickets-retrieve for one ticket's full details and conversations-tickets-messages-retrieve for its message thread.",
"category": "Conversations",
"feature": "conversations",
"summary": "List support tickets",
@@ -1748,7 +1748,7 @@
}
},
"conversations-views-list": {
- "description": "List the saved ticket views in the project. Each view is a named, saved set of ticket filters — for example the per-team views named \"Team <name>\". Returns each view's short_id and name; a view opens in the app at /support/tickets?view=<short_id>. To get the tickets a view contains, pass its short_id as the `view` parameter of the list-support-tickets tool.",
+ "description": "List the saved ticket views in the project. Each view is a named, saved set of ticket filters — for example the per-team views named \"Team <name>\". Returns each view's short_id and name; a view opens in the app at /support/tickets?view=<short_id>. To get the tickets a view contains, pass its short_id as the `view` parameter of conversations-tickets-list.",
"category": "Conversations",
"feature": "conversations",
"summary": "List saved ticket views",
@@ -1762,7 +1762,7 @@
}
},
"create-feature-flag": {
- "description": "Create a feature flag in the current project.",
+ "description": "Create a feature flag in the current project. Call when the user asks to add a flag, gate a feature behind a flag, set up a percentage rollout, or deliver a remote config value. Release conditions, rollout percentages, multivariate variants, and payloads all go in the structured `filters` param (`filters.groups` for release conditions, `filters.multivariate.variants` for variants, `filters.payloads` for JSON-encoded payloads). For an A/B test, create an experiment instead — experiments manage their own flag. Use `update-feature-flag` to change an existing flag, and `feature-flag-get-all` first to check whether the key is already taken.",
"category": "Feature flags",
"feature": "flags",
"summary": "Create feature flag",
@@ -2226,7 +2226,7 @@
}
},
"data-catalog-certification-certify-execute": {
- "description": "Step 2 of 2 for certify source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as certified (prefer this source). Requires human typed confirmation.",
+ "description": "Step 2 of 2 for certify source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as certified (prefer this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Certify a table/view (execute)",
@@ -2241,7 +2241,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-certify-prepare": {
- "description": "Step 1 of 2 for certify source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as certified (prefer this source). Requires human typed confirmation.",
+ "description": "Step 1 of 2 for certify source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as certified (prefer this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Certify a table/view (prepare)",
@@ -2256,7 +2256,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-deprecate-execute": {
- "description": "Step 2 of 2 for deprecate source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as deprecated (avoid this source). Requires human typed confirmation.",
+ "description": "Step 2 of 2 for deprecate source. Verifies the confirmation_hash from -prepare and the literal \"confirm\" string typed by the user, then performs the action. ONLY call this after the user has explicitly typed \"confirm\" in chat. Original action: Mark a table or view as deprecated (avoid this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Deprecate a table/view (execute)",
@@ -2271,7 +2271,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-deprecate-prepare": {
- "description": "Step 1 of 2 for deprecate source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as deprecated (avoid this source). Requires human typed confirmation.",
+ "description": "Step 1 of 2 for deprecate source. Validates the arguments and returns a signed confirmation_hash plus a message to surface to the user. The user must reply with the literal word \"confirm\" before you call the matching -execute tool with the hash. Original action: Mark a table or view as deprecated (avoid this source), addressed by the certification id returned by data-catalog-certification-propose — create the proposal first if none exists. Requires human typed confirmation.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Deprecate a table/view (prepare)",
@@ -2286,7 +2286,7 @@
"feature_flag": "product-data-catalog"
},
"data-catalog-certification-propose": {
- "description": "Propose a trust mark on a warehouse table or view. Address the target by id, or by name (an ambiguous name returns the candidate ids to pick from). Pass proposed_status 'deprecated' to propose deprecating a stale or wrong source; an approver settles the proposal with the certify or deprecate tool.",
+ "description": "Propose a trust mark (certification record) on a warehouse table or view — the first step before a human certifies or deprecates the source. Call when the user wants to mark a table/view as trusted, preferred, deprecated, or to-be-avoided. Address the target by id, or by name (an ambiguous name returns the candidate ids to pick from). Pass proposed_status 'deprecated' to propose deprecating a stale or wrong source; an approver then settles the proposal with the certify or deprecate tool.",
"category": "Data catalog",
"feature": "data_catalog",
"summary": "Propose a table/view certification",
@@ -3317,104 +3317,6 @@
"readOnlyHint": true
}
},
- "evaluation-create": {
- "description": "Create a new AI observability evaluation. Supported types are 'llm_judge' (LLM scores generations against a prompt), 'hog' (deterministic code returning a boolean), and 'sentiment' (user-message sentiment analysis). For llm_judge evaluations, provide evaluation_config.prompt and model_configuration. For hog evaluations, provide evaluation_config.source. For sentiment evaluations, use output_type='sentiment', omit model_configuration, and optionally set evaluation_config.source='user_messages'.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Create a new evaluation.",
- "title": "Create evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": false,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-delete": {
- "description": "Delete an AI observability evaluation (soft delete). The evaluation will be marked as deleted and will no longer run.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Delete an evaluation.",
- "title": "Delete evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": true,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-get": {
- "description": "Get a specific AI observability evaluation by its UUID. Returns full details including name, type (llm_judge, hog, or sentiment), configuration, conditions, and enabled status.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Get a specific evaluation by ID.",
- "title": "Get evaluation",
- "required_scopes": ["evaluation:read"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": true
- }
- },
- "evaluation-run": {
- "description": "Trigger an evaluation run on a specific $ai_generation event. This executes the evaluation (either LLM judge or Hog code) against the target event asynchronously via a background workflow. The run is async — it returns a workflow_id and status 'started'. Results are written as '$ai_evaluation' events once complete. To check results after triggering a run, query events with: SELECT properties.$ai_evaluation_result as result, properties.$ai_evaluation_reasoning as reasoning FROM events WHERE event = '$ai_evaluation' AND properties.$ai_evaluation_id = '<evaluation_uuid>' AND properties.$ai_target_event_id = '<generation_event_uuid>' ORDER BY timestamp DESC LIMIT 1.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Run an evaluation on a specific event.",
- "title": "Run evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": false,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-test-hog": {
- "description": "Test Hog evaluation code against recent data without persisting results. Compiles the provided Hog source code and runs it against a sample from the last 7 days — set target to 'generation' to sample individual $ai_generation events or 'trace' to sample whole traces and run against trace-level globals. Returns per-sample results with input/output previews, pass/fail verdicts, and any errors. Use this to validate Hog evaluation logic before enabling it.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Dry-run Hog evaluation code against sample events.",
- "title": "Test Hog evaluation",
- "required_scopes": ["evaluation:read"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": true
- }
- },
- "evaluation-update": {
- "description": "Update an existing AI observability evaluation. You can change the name, description, enabled status, evaluation config (prompt or source code), and output config. Use this to enable/disable evaluations or modify their scoring logic.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Update an evaluation.",
- "title": "Update evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluations-get": {
- "description": "List AI observability evaluations for the project. Evaluations automatically score AI generations for quality, relevance, safety, and other criteria. Supports optional search by name/description and filtering by enabled status. Evaluation results are stored as '$ai_evaluation' events — to query results, use the execute-sql tool with a HogQL query filtering on event = '$ai_evaluation'. Key properties: $ai_evaluation_id (evaluation UUID), $ai_evaluation_name, $ai_target_event_id (generation event UUID), $ai_trace_id, $ai_evaluation_result (boolean pass/fail), $ai_evaluation_reasoning (text), $ai_evaluation_applicable (boolean, false = N/A).",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "List AI observability evaluations.",
- "title": "List evaluations",
- "required_scopes": ["evaluation:read"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": true
- }
- },
"event-definition-update": {
"description": "Update event definition metadata. Can update description, tags, mark status as verified or hidden. Use exact event name like '$pageview' or 'user_signed_up'.",
"category": "Events & properties",
@@ -3815,7 +3717,7 @@
}
},
"experiment-metrics-recalculation-create": {
- "description": "Requires an experiment ID. If you don't have the ID, load the finding-experiments skill to resolve the user's reference first.\n\nStart a fresh calculation of every metric on this experiment against the latest data. Use this when the user asks to refresh, recalculate, or re-run results, or when results returned by experiment-metrics-recalculation-latest look stale. Reading results does NOT trigger a new run, this tool is the only way to start one.\n\nThis queues background work that can take minutes on large experiments. Safe to call more than once: if a run is already pending or in progress, it returns that run (with is_existing true, HTTP 200) instead of starting a second one.\n\nThe response has no results array, the run has only just been queued. Take the returned id and poll experiment-metrics-recalculation-retrieve with it, or call experiment-metrics-recalculation-latest, until status is completed or failed. Watch rows_read and completed_metrics for progress. Do not poll in a tight loop; wait a few seconds between checks.",
+ "description": "Requires an experiment ID. If you don't have the ID, load the finding-experiments skill to resolve the user's reference first.\n\nStart a fresh calculation of every metric on this experiment against the latest data. Use this when the user asks to refresh, recalculate, or re-run results, or when results returned by experiment-metrics-recalculation-latest-retrieve look stale. Reading results does NOT trigger a new run, this tool is the only way to start one.\n\nThis queues background work that can take minutes on large experiments. Safe to call more than once: if a run is already pending or in progress, it returns that run (with is_existing true, HTTP 200) instead of starting a second one.\n\nThe response has no results array, the run has only just been queued. Take the returned id and poll experiment-metrics-recalculation-retrieve with it, or call experiment-metrics-recalculation-latest-retrieve, until status is completed or failed. Watch rows_read and completed_metrics for progress. Do not poll in a tight loop; wait a few seconds between checks.",
"category": "Experiments",
"feature": "experiments",
"summary": "Recalculate experiment metrics",
@@ -3843,7 +3745,7 @@
}
},
"experiment-metrics-recalculation-retrieve": {
- "description": "Get one specific metrics recalculation run by its UUID, for the experiment it belongs to. Use this to poll a run you started with experiment-metrics-recalculation-create, or the active_run.id returned by experiment-metrics-recalculation-latest.\n\nTo read an experiment's current results without a specific run id, use experiment-metrics-recalculation-latest instead.\n\nReturns the run's status (pending, in_progress, completed, failed), progress counters (completed_metrics and failed_metrics out of total_metrics, plus rows_read against estimated_rows_total), the results array once metrics finish, and metric_errors for metrics that failed. metric_retries holds transient state for metrics between failed attempts; ignore entries for metrics that already have a result, as those are stale.\n\nReturns 404 if the run id does not exist or belongs to a different experiment.",
+ "description": "Get one specific metrics recalculation run by its UUID, for the experiment it belongs to. Use this to poll a run you started with experiment-metrics-recalculation-create, or the active_run.id returned by experiment-metrics-recalculation-latest-retrieve.\n\nTo read an experiment's current results without a specific run id, use experiment-metrics-recalculation-latest-retrieve instead.\n\nReturns the run's status (pending, in_progress, completed, failed), progress counters (completed_metrics and failed_metrics out of total_metrics, plus rows_read against estimated_rows_total), the results array once metrics finish, and metric_errors for metrics that failed. metric_retries holds transient state for metrics between failed attempts; ignore entries for metrics that already have a result, as those are stale.\n\nReturns 404 if the run id does not exist or belongs to a different experiment.",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment recalculation run",
@@ -3899,7 +3801,7 @@
}
},
"experiment-results-get": {
- "description": "Get experiment metric results and exposure data in one call. Each row in `metrics.primary.results` and `metrics.secondary.results` carries a self-describing `metric` summary: `uuid`, `name` (the label users see in the experiment UI), `metric_type`, `goal`, and `source` — `inline` for metrics defined on the experiment, `shared` for metrics attached via a saved metric. For `shared` rows, `saved_metric_id` and `saved_metric_name` identify the underlying saved metric; both are `null` for `inline` rows. Rows are ordered to match the experiment UI (`primary_metrics_ordered_uuids` / `secondary_metrics_ordered_uuids`). A row whose underlying metric query failed is kept with `data: null` so positions stay aligned with the ordered UUIDs — check `data === null` to detect failures. The raw source surfaces (`experiment.metrics`, `experiment.metrics_secondary`, `experiment.saved_metrics`) are preserved on the response for callers who want to audit them, but you do not need to reconcile them yourself — the result rows already merge inline and shared. UI-only bulk fields are stripped from each `data` payload: `clickhouse_sql`, `hogql`, the legacy `insight` visualization payload, and the per-funnel-step session samples — `step_sessions` is removed from `baseline`, each `variant_results` entry, and from `baseline` / `variants[]` inside every `breakdown_results` entry. Statistical fields (`sum`, `sum_squares`, `step_counts`, `number_of_samples`, `credible_intervals`, per-breakdown stats, etc.) are preserved. Only works with new experiments (not legacy `ExperimentTrendsQuery` / `ExperimentFunnelsQuery`).",
+ "description": "Run an experiment's metric queries and return primary/secondary metric results plus exposure data in one call, with self-describing per-metric metadata: each row in metrics.primary.results / metrics.secondary.results carries a `metric` summary (uuid, name, metric_type, goal, and source - 'inline' for metrics defined on the experiment, 'shared' for saved metrics, with saved_metric_id/saved_metric_name set on shared rows). Rows are ordered to match the experiment UI (primary_metrics_ordered_uuids / secondary_metrics_ordered_uuids); a row whose metric query failed is kept with data: null so positions stay aligned. Results may be served from cache; pass refresh=true to force fresh computation (slower). Only works with new experiments (not legacy ExperimentTrendsQuery / ExperimentFunnelsQuery). Sibling tools: experiment-metrics-recalculation-latest-retrieve reads the most recent completed background recalculation run instead of executing queries in-call (pair it with experiment-metrics-recalculation-create to refresh); experiment-timeseries-results returns one metric's day-by-day history. Note the response strips UI-only bulk fields (clickhouse_sql, hogql, the legacy insight payload, per-funnel-step step_sessions) while preserving statistical fields (sum, sum_squares, step_counts, credible_intervals, per-breakdown stats).",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment metric and exposure results with self-describing per-metric metadata.",
@@ -4025,7 +3927,7 @@
}
},
"experiment-timeseries-results": {
- "description": "Only for the day-by-day history of a SINGLE metric — how its results moved over the course of the experiment. For an experiment's current results across all metrics, which is what \"how is this experiment doing\" almost always means, use experiment-metrics-recalculation-latest instead.\n\nRequires metric_uuid and fingerprint as query parameters (both available from the experiment's metrics array — each metric has a uuid and the fingerprint is computed from its configuration), so you generally need to fetch the experiment first.\n\nReturns a timeseries object keyed by date (YYYY-MM-DD) with per-variant statistical results for each day, overall status (\"pending\", \"completed\", \"partial\", \"failed\"), computed_at timestamp, and recalculation_status if a recalculation is in progress.",
+ "description": "Only for the day-by-day history of a SINGLE metric — how its results moved over the course of the experiment. For an experiment's current results across all metrics, which is what \"how is this experiment doing\" almost always means, use experiment-metrics-recalculation-latest-retrieve instead.\n\nRequires metric_uuid and fingerprint as query parameters (both available from the experiment's metrics array — each metric has a uuid and the fingerprint is computed from its configuration), so you generally need to fetch the experiment first.\n\nReturns a timeseries object keyed by date (YYYY-MM-DD) with per-variant statistical results for each day, overall status (\"pending\", \"completed\", \"partial\", \"failed\"), computed_at timestamp, and recalculation_status if a recalculation is in progress.",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment metric results over time",
@@ -4137,7 +4039,7 @@
}
},
"external-data-schemas-partial-update": {
- "description": "Update a table schema's sync configuration. Can change sync type, sync frequency, incremental field, primary key columns, CDC table mode, and enable/disable the schema.",
+ "description": "Update one table schema's sync configuration: enable/disable syncing (should_sync), sync_type (incremental, full_refresh, append, webhook, cdc, xmin), sync frequency and UTC time of day, incremental field (plus type and lookback window), primary key columns, CDC table mode, column selection (enabled_columns), row filters, and vendor API version. Changes take effect on the next sync, not retroactively. Before changing incremental_field or sync_type, call 'external-data-schemas-incremental-fields-create' to see which fields and sync methods the source actually supports; before switching to cdc, validate with 'external-data-sources-check-cdc-prerequisites-create'. To run a sync immediately after reconfiguring, use 'external-data-schemas-reload'.",
"category": "Warehouse sources",
"feature": "warehouse_sources",
"summary": "Update data warehouse table schema sync config",
@@ -4473,7 +4375,7 @@
}
},
"feature-flag-get-definition": {
- "description": "Get a feature flag by ID.",
+ "description": "Get a single feature flag's full definition — rollout conditions, variants, payloads, active state — by its numeric ID. Use `feature-flag-get-definition-by-key` when you only have the string key used in code; use `feature-flag-get-all` to search by key or name and find the ID.",
"category": "Feature flags",
"feature": "flags",
"summary": "Get feature flag definition",
@@ -4627,7 +4529,7 @@
}
},
"feature-flags-test-evaluation-create": {
- "description": "Test how a feature flag evaluates for a specific user at an optional point in time. Provides detailed reasoning about why the flag matched or didn't match, including condition analysis and person properties used in evaluation.",
+ "description": "Simulate how one feature flag (by numeric ID) would evaluate for a specific user, optionally at a past point in time (`timestamp` reconstructs flag conditions and person properties as they existed then). Provide `distinct_id` or `person_id` (mutually exclusive) and optionally `groups`. Returns the evaluated value with detailed reasoning: which condition matched and the person properties used. Use this to debug or dry-run a single flag; use `feature-flags-evaluation-reasons-retrieve` to see live evaluations across many flags for a user, and `feature-flags-user-blast-radius-create` to size a release condition before applying it.",
"category": "Feature flags",
"feature": "flags",
"summary": "Test feature flag evaluation",
@@ -4756,7 +4658,7 @@
}
},
"get-llm-total-costs-for-project": {
- "description": "Fetches the total LLM daily costs for each model for a project over a given number of days. If no number of days is provided, it defaults to 7. The results are sorted by model name. The total cost is rounded to 4 decimal places. The query is executed against the project's data warehouse. Show the results as a Markdown formatted table with the following information for each model: Model name, Total cost in USD, Each day's date, Each day's cost in USD. Write in bold the model name with the highest total cost. Properly render the markdown table in the response.",
+ "description": "Fetch daily LLM cost per model for the project over the last N days (default 7). Runs a trends query summing $ai_total_cost_usd on $ai_generation events broken down by $ai_model — call when the user asks how much the team is spending on LLMs or which model costs the most. For the current user's own spend use llma-personal-spend; for custom cost cuts (per user, per trace, per provider) query $ai_generation events with execute-sql.",
"category": "AI observability",
"feature": "llm_analytics",
"summary": "Fetches the total LLM daily costs for each model for a project over a given number of days.",
@@ -7343,7 +7245,7 @@
"feature_flag": "revamped-py-notebooks"
},
"notebooks-create": {
- "description": "Create a new notebook. Provide a title and content. Content is a JSON object representing the notebook's rich text document structure (ProseMirror-based). Returns the created notebook with its short_id.\nEmbedded charts use `{type: \"ph-query\", attrs: {nodeId, query}}` nodes. The `query` object must be one of: (a) `{kind: \"DataVisualizationNode\", source: {kind: \"HogQLQuery\", query: \"SELECT ...\"}, display: \"ActionsBar\", chartSettings: {...}}` for SQL charts — do NOT wrap this in an InsightVizNode; (b) `{kind: \"InsightVizNode\", source: <TrendsQuery | FunnelsQuery | RetentionQuery | PathsQuery | StickinessQuery | LifecycleQuery>}` for product-analytics insights; or (c) `{kind: \"SavedInsightNode\", shortId: \"...\"}` to embed a saved insight. The server rejects other shapes and auto-corrects the common `InsightVizNode` wrapping a SQL chart. Give every embedded node a short `attrs.title` saying what it shows — it renders in the node's header and is what a reader skims instead of the query.",
+ "description": "Create a new notebook. Provide a title and content. Content is a JSON object representing the notebook's rich text document structure (ProseMirror-based). Returns the created notebook with its short_id. Embedded charts use `{type: \"ph-query\", attrs: {nodeId, query}}` nodes. The `query` object must be one of: (a) `{kind: \"DataVisualizationNode\", source: {kind: \"HogQLQuery\", query: \"SELECT ...\"}, display: \"ActionsBar\", chartSettings: {...}}` for SQL charts — do NOT wrap this in an InsightVizNode; (b) `{kind: \"InsightVizNode\", source: <TrendsQuery | FunnelsQuery | RetentionQuery | PathsQuery | StickinessQuery | LifecycleQuery>}` for product-analytics insights; or (c) `{kind: \"SavedInsightNode\", shortId: \"...\"}` to embed a saved insight. The server rejects other shapes and auto-corrects the common `InsightVizNode` wrapping a SQL chart. Give every embedded node a short `attrs.title` saying what it shows — it renders in the node's header and is what a reader skims instead of the query.\nThis creates a rich-text (ProseMirror) notebook — use it for document-style notebooks built around embedded charts and saved insights. For step-by-step data analysis with executable SQL/Python cells, use `notebooks-create-markdown` instead.",
"category": "Notebooks",
"feature": "notebooks",
"summary": "Create notebook",
@@ -7463,7 +7365,7 @@
"feature_flag_behavior": "disable"
},
"notebooks-retrieve": {
- "description": "Get a specific notebook by its short_id. Returns the full notebook including title, content, version, and creation/modification metadata.",
+ "description": "Get a notebook's raw record by short_id: title, content (markdown or legacy ProseMirror JSON), version, and creation/modification metadata. Use this when you need the raw content or the current version number — required by notebooks-partial-update for optimistic concurrency. For the analysis-oriented view of a markdown notebook — every cell with its code, dataframe name, dependency edges, and stale status — use notebooks-get instead (exposed only when the revamped Python notebooks flag is enabled).",
"category": "Notebooks",
"feature": "notebooks",
"summary": "Get notebook",
@@ -9780,7 +9682,7 @@
"feature_flag": "stamphog"
},
"stamphog-pull-requests-get": {
- "description": "Get a single pull request by id, including its repository, title, author, head branch, and merge details.",
+ "description": "Get one pull request record from stamphog (PostHog's automated PR review and merged-PR digest) by its internal UUID — the `id` returned by `stamphog-pull-requests-list`, not the GitHub PR number. Returns the repository, title, author, head branch, and merge details. To look a PR up by its GitHub number, use `stamphog-pull-requests-list` with `pr_number`. For CI status or merge-timing analytics on a PR, use the engineering analytics `pull-requests` or `pr-lifecycle` tools instead.",
"category": "Stamphog",
"feature": "stamphog",
"summary": "Get stamphog pull request",
@@ -10119,7 +10021,7 @@
}
},
"subscriptions-retrieve": {
- "description": "Retrieve a single subscription by ID.",
+ "description": "Fetch a single subscription by numeric ID. Returns its kind (`resource_type`: insight, dashboard, or ai_prompt), target (`target_type`/`target_value`), schedule, enabled state, and AI-summary settings. Metadata only — for the send history and delivered reports, use `subscriptions-deliveries-list` / `subscriptions-deliveries-retrieve`.",
"category": "Subscriptions",
"feature": "subscriptions",
"summary": "Get subscription",
@@ -10464,7 +10366,7 @@
"feature_flag": "tasks"
},
"update-feature-flag": {
- "description": "Update a feature flag by ID in the current project.",
+ "description": "Update a feature flag by numeric ID (partial update — only the fields you include are changed). Call when the user asks to enable or disable a flag, change its rollout percentage or release conditions, edit variants or payloads, or update its description. Rollout conditions, variants, and payloads live in the structured `filters` param, and sending `filters` replaces the whole object — read the flag first with `feature-flag-get-definition` and merge your change. To apply a change at a future time instead, use `scheduled-changes-create`. Use `feature-flag-get-all` to find the numeric ID from a key.",
"category": "Feature flags",
"feature": "flags",
"summary": "Update feature flag",
@@ -11591,7 +11493,7 @@
"feature_flag": "visual-review"
},
"visual-review-runs-tolerate-create": {
- "description": "Mark a single changed snapshot as a known tolerated alternate. The snapshot's current hash is recorded alongside the existing baseline so future runs producing the same alternate are not flagged as changes — useful for benign rendering variants (anti-aliasing noise, blinking cursors, etc.). Pass `snapshot_id` — the UUID of the snapshot in this run. Does not change the baseline. Use approve to actually update the baseline image.",
+ "description": "Mark a single changed snapshot as a known tolerated alternate. The snapshot's current hash is recorded alongside the existing baseline so future runs producing the same alternate are not flagged as changes — useful for benign rendering variants (anti-aliasing noise, blinking cursors, etc.). Pass `snapshot_id` — the UUID of the snapshot in this run. Does not change the baseline. To accept the change instead, use `visual-review-runs-approve-create` to record the review, then `visual-review-runs-finalize-create` to actually commit the new baseline.",
"category": "Visual review",
"feature": "visual_review",
"summary": "Tolerate visual review snapshot",
@@ -11737,7 +11639,7 @@
"feature_flag": "engineering-analytics"
},
"workflows-archive": {
- "description": "Archive a draft or disabled workflow.",
+ "description": "Archive a workflow — sets its status to 'archived', retiring it from active use while keeping it readable via workflows-list / workflows-get. Use when the user asks to archive, retire, or clean up a workflow they no longer run; the workflow must be a draft or disabled first. Not a delete: no content or history is removed. Adjacent intents: workflows-enable takes a workflow live; workflows-discard-draft throws away staged edits without changing status.",
"category": "Workflows",
"feature": "workflows",
"summary": "Archive workflow",
@@ -12059,7 +11961,7 @@
}
},
"workflows-schedule-create": {
- "description": "Attach a recurring RRULE schedule to a batch workflow. The workflow must already be active (enable it first). Each run broadcasts real messages to the trigger audience — STOP and get the user's explicit confirmation first, then pass acknowledged_affected_count from workflows-blast-radius.",
+ "description": "Attach a recurring RRULE schedule to a batch workflow so it re-broadcasts to its trigger audience on a cadence (iCalendar RRULE, e.g. 'FREQ=WEEKLY;BYDAY=MO'; at most one occurrence per hour). Only valid on workflows with a 'batch' trigger, and the workflow must already be active (workflows-enable first). Every firing sends real messages: run workflows-blast-radius, STOP and get the user's explicit confirmation of the count, then pass both acknowledged_affected_count and the confirm_token from that same preview — the API rejects the call without a fresh token (15-minute expiry, stale if the audience filters change). For a one-off send use workflows-run-batch; to change an existing schedule use workflows-update-schedule (schedule IDs appear in workflows-get's 'schedules').",
"category": "Workflows",
"feature": "workflows",
"summary": "Schedule workflow runs",
diff --git a/services/mcp/schema/tool-definitions.json b/services/mcp/schema/tool-definitions.json
index 8361c3e781d0..fab98b8cb1a3 100644
--- a/services/mcp/schema/tool-definitions.json
+++ b/services/mcp/schema/tool-definitions.json
@@ -89,7 +89,7 @@
}
},
"experiment-results-get": {
- "description": "Get experiment metric results and exposure data in one call. Each row in `metrics.primary.results` and `metrics.secondary.results` carries a self-describing `metric` summary: `uuid`, `name` (the label users see in the experiment UI), `metric_type`, `goal`, and `source` — `inline` for metrics defined on the experiment, `shared` for metrics attached via a saved metric. For `shared` rows, `saved_metric_id` and `saved_metric_name` identify the underlying saved metric; both are `null` for `inline` rows. Rows are ordered to match the experiment UI (`primary_metrics_ordered_uuids` / `secondary_metrics_ordered_uuids`). A row whose underlying metric query failed is kept with `data: null` so positions stay aligned with the ordered UUIDs — check `data === null` to detect failures. The raw source surfaces (`experiment.metrics`, `experiment.metrics_secondary`, `experiment.saved_metrics`) are preserved on the response for callers who want to audit them, but you do not need to reconcile them yourself — the result rows already merge inline and shared. UI-only bulk fields are stripped from each `data` payload: `clickhouse_sql`, `hogql`, the legacy `insight` visualization payload, and the per-funnel-step session samples — `step_sessions` is removed from `baseline`, each `variant_results` entry, and from `baseline` / `variants[]` inside every `breakdown_results` entry. Statistical fields (`sum`, `sum_squares`, `step_counts`, `number_of_samples`, `credible_intervals`, per-breakdown stats, etc.) are preserved. Only works with new experiments (not legacy `ExperimentTrendsQuery` / `ExperimentFunnelsQuery`).",
+ "description": "Run an experiment's metric queries and return primary/secondary metric results plus exposure data in one call, with self-describing per-metric metadata: each row in metrics.primary.results / metrics.secondary.results carries a `metric` summary (uuid, name, metric_type, goal, and source - 'inline' for metrics defined on the experiment, 'shared' for saved metrics, with saved_metric_id/saved_metric_name set on shared rows). Rows are ordered to match the experiment UI (primary_metrics_ordered_uuids / secondary_metrics_ordered_uuids); a row whose metric query failed is kept with data: null so positions stay aligned. Results may be served from cache; pass refresh=true to force fresh computation (slower). Only works with new experiments (not legacy ExperimentTrendsQuery / ExperimentFunnelsQuery). Sibling tools: experiment-metrics-recalculation-latest-retrieve reads the most recent completed background recalculation run instead of executing queries in-call (pair it with experiment-metrics-recalculation-create to refresh); experiment-timeseries-results returns one metric's day-by-day history. Note the response strips UI-only bulk fields (clickhouse_sql, hogql, the legacy insight payload, per-funnel-step step_sessions) while preserving statistical fields (sum, sum_squares, step_counts, credible_intervals, per-breakdown stats).",
"category": "Experiments",
"feature": "experiments",
"summary": "Get experiment metric and exposure results with self-describing per-metric metadata.",
@@ -270,104 +270,6 @@
"readOnlyHint": true
}
},
- "evaluations-get": {
- "description": "List AI observability evaluations for the project. Evaluations automatically score AI generations for quality, relevance, safety, and other criteria. Supports optional search by name/description and filtering by enabled status. Evaluation results are stored as '$ai_evaluation' events — to query results, use the execute-sql tool with a HogQL query filtering on event = '$ai_evaluation'. Key properties: $ai_evaluation_id (evaluation UUID), $ai_evaluation_name, $ai_target_event_id (generation event UUID), $ai_trace_id, $ai_evaluation_result (boolean pass/fail), $ai_evaluation_reasoning (text), $ai_evaluation_applicable (boolean, false = N/A).",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "List AI observability evaluations.",
- "title": "List evaluations",
- "required_scopes": ["evaluation:read"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": true
- }
- },
- "evaluation-get": {
- "description": "Get a specific AI observability evaluation by its UUID. Returns full details including name, type (llm_judge, hog, or sentiment), configuration, conditions, and enabled status.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Get a specific evaluation by ID.",
- "title": "Get evaluation",
- "required_scopes": ["evaluation:read"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": true
- }
- },
- "evaluation-create": {
- "description": "Create a new AI observability evaluation. Supported types are 'llm_judge' (LLM scores generations against a prompt), 'hog' (deterministic code returning a boolean), and 'sentiment' (user-message sentiment analysis). For llm_judge evaluations, provide evaluation_config.prompt and model_configuration. For hog evaluations, provide evaluation_config.source. For sentiment evaluations, use output_type='sentiment', omit model_configuration, and optionally set evaluation_config.source='user_messages'.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Create a new evaluation.",
- "title": "Create evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": false,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-update": {
- "description": "Update an existing AI observability evaluation. You can change the name, description, enabled status, evaluation config (prompt or source code), and output config. Use this to enable/disable evaluations or modify their scoring logic.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Update an evaluation.",
- "title": "Update evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-delete": {
- "description": "Delete an AI observability evaluation (soft delete). The evaluation will be marked as deleted and will no longer run.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Delete an evaluation.",
- "title": "Delete evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": true,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-run": {
- "description": "Trigger an evaluation run on a specific $ai_generation event. This executes the evaluation (either LLM judge or Hog code) against the target event asynchronously via a background workflow. The run is async — it returns a workflow_id and status 'started'. Results are written as '$ai_evaluation' events once complete. To check results after triggering a run, query events with: SELECT properties.$ai_evaluation_result as result, properties.$ai_evaluation_reasoning as reasoning FROM events WHERE event = '$ai_evaluation' AND properties.$ai_evaluation_id = '<evaluation_uuid>' AND properties.$ai_target_event_id = '<generation_event_uuid>' ORDER BY timestamp DESC LIMIT 1.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Run an evaluation on a specific event.",
- "title": "Run evaluation",
- "required_scopes": ["evaluation:write"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": false,
- "openWorldHint": true,
- "readOnlyHint": false
- }
- },
- "evaluation-test-hog": {
- "description": "Test Hog evaluation code against recent data without persisting results. Compiles the provided Hog source code and runs it against a sample from the last 7 days — set target to 'generation' to sample individual $ai_generation events or 'trace' to sample whole traces and run against trace-level globals. Returns per-sample results with input/output previews, pass/fail verdicts, and any errors. Use this to validate Hog evaluation logic before enabling it.",
- "category": "AI observability",
- "feature": "llm_analytics",
- "summary": "Dry-run Hog evaluation code against sample events.",
- "title": "Test Hog evaluation",
- "required_scopes": ["evaluation:read"],
- "annotations": {
- "destructiveHint": false,
- "idempotentHint": true,
- "openWorldHint": true,
- "readOnlyHint": true
- }
- },
"notebook-edit": {
"description": "Edit part of a notebook's content by short_id.\n\nFor markdown notebooks, use `execute-sql` to read the current markdown from `system.notebooks.markdown`, then edit with `old_markdown` / `new_markdown`. These are plain markdown strings; do not copy or construct the nested `ph-markdown-notebook` JSON wrapper.\n\nFor legacy rich-text notebooks, inspect the JSON content from `system.notebooks.content`, then edit with `old_value` / `new_value` JSON subtree replacement. Matching is by content: the tool finds `old_value` anywhere in the notebook and swaps it for `new_value` in place.\n\nOn success, returns the updated notebook with the new content and bumped version. On a 409 or 410 error, the notebook has changed since you loaded it; reload the latest markdown or JSON content and re-apply your edit.",
"category": "Notebooks",
@@ -445,7 +347,7 @@
}
},
"get-llm-total-costs-for-project": {
- "description": "Fetches the total LLM daily costs for each model for a project over a given number of days. If no number of days is provided, it defaults to 7. The results are sorted by model name. The total cost is rounded to 4 decimal places. The query is executed against the project's data warehouse. Show the results as a Markdown formatted table with the following information for each model: Model name, Total cost in USD, Each day's date, Each day's cost in USD. Write in bold the model name with the highest total cost. Properly render the markdown table in the response.",
+ "description": "Fetch daily LLM cost per model for the project over the last N days (default 7). Runs a trends query summing $ai_total_cost_usd on $ai_generation events broken down by $ai_model — call when the user asks how much the team is spending on LLMs or which model costs the most. For the current user's own spend use llma-personal-spend; for custom cost cuts (per user, per trace, per provider) query $ai_generation events with execute-sql.",
"category": "AI observability",
"feature": "llm_analytics",
"summary": "Fetches the total LLM daily costs for each model for a project over a given number of days.",
@@ -812,7 +714,7 @@
}
},
"workflows-archive": {
- "description": "Archive a draft or disabled workflow.",
+ "description": "Archive a workflow — sets its status to 'archived', retiring it from active use while keeping it readable via workflows-list / workflows-get. Use when the user asks to archive, retire, or clean up a workflow they no longer run; the workflow must be a draft or disabled first. Not a delete: no content or history is removed. Adjacent intents: workflows-enable takes a workflow live; workflows-discard-draft throws away staged edits without changing status.",
"category": "Workflows",
"feature": "workflows",
"summary": "Archive workflow",
@@ -854,7 +756,7 @@
}
},
"workflows-schedule-create": {
- "description": "Attach a recurring RRULE schedule to a batch workflow. The workflow must already be active (enable it first). Each run broadcasts real messages to the trigger audience — STOP and get the user's explicit confirmation first, then pass acknowledged_affected_count from workflows-blast-radius.",
+ "description": "Attach a recurring RRULE schedule to a batch workflow so it re-broadcasts to its trigger audience on a cadence (iCalendar RRULE, e.g. 'FREQ=WEEKLY;BYDAY=MO'; at most one occurrence per hour). Only valid on workflows with a 'batch' trigger, and the workflow must already be active (workflows-enable first). Every firing sends real messages: run workflows-blast-radius, STOP and get the user's explicit confirmation of the count, then pass both acknowledged_affected_count and the confirm_token from that same preview — the API rejects the call without a fresh token (15-minute expiry, stale if the audience filters change). For a one-off send use workflows-run-batch; to change an existing schedule use workflows-update-schedule (schedule IDs appear in workflows-get's 'schedules').",
"category": "Workflows",
"feature": "workflows",
"summary": "Schedule workflow runs",
diff --git a/services/mcp/src/templates/execute-sql-prompt.md b/services/mcp/src/templates/execute-sql-prompt.md
index e49067c6ba7c..28f03534d44f 100644
--- a/services/mcp/src/templates/execute-sql-prompt.md
+++ b/services/mcp/src/templates/execute-sql-prompt.md
@@ -126,12 +126,12 @@ Assistant: I'll search existing insights and dashboards via SQL.
1. Discover columns: run the schema-discovery step from the workflow above to confirm which columns each table exposes before projecting or ordering by them. Column sets differ per system table — e.g. `system.insights` has `short_id` and `last_modified_at`, but `system.dashboards` has neither (its only timestamp is `created_at`). Without this step I'd be guessing.
2. Search insights by name (using only confirmed columns): `execute-sql` with `SELECT id, name, short_id, description FROM system.insights WHERE NOT deleted AND (name ILIKE '%revenue%' OR name ILIKE '%payment%') ORDER BY last_modified_at DESC LIMIT 20`.
3. If results are sparse, broaden to dashboards (re-using the same schema lookup — `system.dashboards` has its own column set, e.g. no `short_id` and no `last_modified_at`): `execute-sql` with `SELECT id, name, description FROM system.dashboards WHERE NOT deleted AND (name ILIKE '%revenue%' OR name ILIKE '%payment%') ORDER BY created_at DESC LIMIT 20`.
-4. Validate promising insights with `insight-retrieve`.
+4. Validate promising insights with `insight-get`.
5. Summarize with links.
<reasoning>
1. Schema discovery is mandatory step 1 of the discovery workflow above; `system.*` tables' column sets differ per entity (e.g. `system.dashboards` has no `last_modified_at` or `short_id` — ordering it by `last_modified_at` fails field resolution).
2. SQL against `system.*` tables is the fastest way to discover existing entities — no `query-*` tool covers entity search.
3. ILIKE with multiple terms catches naming variants ("Monthly Revenue", "MRR", "Payment Events").
-4. `insight-retrieve` confirms the insight's query configuration still matches intent.
+4. `insight-get` confirms the insight's query configuration still matches intent.
</reasoning>
</example>
diff --git a/services/mcp/src/templates/sections/basic-functionality.md b/services/mcp/src/templates/sections/basic-functionality.md
index 60ef049f4a28..d95ee756eae6 100644
--- a/services/mcp/src/templates/sections/basic-functionality.md
+++ b/services/mcp/src/templates/sections/basic-functionality.md
@@ -1,6 +1,6 @@
### Basic functionality
-You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
+PostHog makes the user's product self-driving: it reads their product data and ships changes with them, never without them — read freely, but make changes only with the user's direction. You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
Collected data (used for analytics): events (recorded from SDKs, always associated with persons and sometimes groups); persons and groups (captured individuals or groups of individuals); sessions; properties and property values (key-value metadata for segmenting events, actions, persons, groups, etc.); session recordings (captured web/mobile interactions).
diff --git a/services/mcp/src/templates/sections/exec-tool-blurb.md b/services/mcp/src/templates/sections/exec-tool-blurb.md
index 9466eb343913..18e9177bc199 100644
--- a/services/mcp/src/templates/sections/exec-tool-blurb.md
+++ b/services/mcp/src/templates/sections/exec-tool-blurb.md
@@ -1,6 +1,6 @@
### Using the `posthog` tool
-PostHog: dashboards, insights, funnels, SQL, experiments, surveys, replay, error tracking, flags.
+PostHog makes your product self-driving: it reads your data and ships changes with you, never without you. Spans analytics, experiments, flags, replay, and more.
Pass CLI-style commands in the `command` parameter for all PostHog interactions.
diff --git a/services/mcp/src/tools/generated/data_catalog.ts b/services/mcp/src/tools/generated/data_catalog.ts
index f6d1134915e7..56177b3208fa 100644
--- a/services/mcp/src/tools/generated/data_catalog.ts
+++ b/services/mcp/src/tools/generated/data_catalog.ts
@@ -27,7 +27,13 @@ import {
} from '@/tools/confirmed-action-runtime'
import type { Context, ToolBase, ZodObjectAny } from '@/tools/types'
-const DataCatalogCertificationCertifySchema = DataCatalogCertificationsCertifyCreateParams.omit({ project_id: true })
+const DataCatalogCertificationCertifySchema = DataCatalogCertificationsCertifyCreateParams.omit({
+ project_id: true,
+}).extend({
+ id: DataCatalogCertificationsCertifyCreateParams.shape['id'].describe(
+ 'Certification id returned by data-catalog-certification-propose (a certification UUID — not a warehouse table or view id).'
+ ),
+})
const DataCatalogCertificationCertifySchemaExecute = z.strictObject({
confirmation_hash: z
@@ -93,6 +99,10 @@ const dataCatalogCertificationCertifyExecute = (): ToolBase<
const DataCatalogCertificationDeprecateSchema = DataCatalogCertificationsDeprecateCreateParams.omit({
project_id: true,
+}).extend({
+ id: DataCatalogCertificationsDeprecateCreateParams.shape['id'].describe(
+ 'Certification id returned by data-catalog-certification-propose (a certification UUID — not a warehouse table or view id).'
+ ),
})
const DataCatalogCertificationDeprecateSchemaExecute = z.strictObject({
diff --git a/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-claude-chat.txt b/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-claude-chat.txt
index 6ec3c89fcf5e..3dbb98de3c47 100644
--- a/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-claude-chat.txt
+++ b/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-claude-chat.txt
@@ -117,7 +117,7 @@ WRONG: Confirm the event with `call read-data-schema {"query":{"kind":"events"}}
### Basic functionality
-You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
+PostHog makes the user's product self-driving: it reads their product data and ships changes with them, never without them — read freely, but make changes only with the user's direction. You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
Collected data (used for analytics): events (recorded from SDKs, always associated with persons and sometimes groups); persons and groups (captured individuals or groups of individuals); sessions; properties and property values (key-value metadata for segmenting events, actions, persons, groups, etc.); session recordings (captured web/mobile interactions).
diff --git a/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-full.txt b/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-full.txt
index ca5f5afd1511..145e89cb307e 100644
--- a/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-full.txt
+++ b/services/mcp/tests/unit/__snapshots__/instructions/exec-command-reference-full.txt
@@ -116,7 +116,7 @@ WRONG — the answer centers on a single experiment, which has a UI app (`experi
### Basic functionality
-You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
+PostHog makes the user's product self-driving: it reads their product data and ships changes with them, never without them — read freely, but make changes only with the user's direction. You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
Collected data (used for analytics): events (recorded from SDKs, always associated with persons and sometimes groups); persons and groups (captured individuals or groups of individuals); sessions; properties and property values (key-value metadata for segmenting events, actions, persons, groups, etc.); session recordings (captured web/mobile interactions).
diff --git a/services/mcp/tests/unit/__snapshots__/instructions/exec-tool-description.txt b/services/mcp/tests/unit/__snapshots__/instructions/exec-tool-description.txt
index 8767ed882eaa..d510494110db 100644
--- a/services/mcp/tests/unit/__snapshots__/instructions/exec-tool-description.txt
+++ b/services/mcp/tests/unit/__snapshots__/instructions/exec-tool-description.txt
@@ -1,6 +1,6 @@
### Using the `posthog` tool
-PostHog: dashboards, insights, funnels, SQL, experiments, surveys, replay, error tracking, flags.
+PostHog makes your product self-driving: it reads your data and ships changes with you, never without you. Spans analytics, experiments, flags, replay, and more.
Pass CLI-style commands in the `command` parameter for all PostHog interactions.
diff --git a/services/mcp/tests/unit/__snapshots__/instructions/tools-instructions.txt b/services/mcp/tests/unit/__snapshots__/instructions/tools-instructions.txt
index 2215edba42f6..603b88945a78 100644
--- a/services/mcp/tests/unit/__snapshots__/instructions/tools-instructions.txt
+++ b/services/mcp/tests/unit/__snapshots__/instructions/tools-instructions.txt
@@ -1,6 +1,6 @@
### Basic functionality
-You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
+PostHog makes the user's product self-driving: it reads their product data and ships changes with them, never without them — read freely, but make changes only with the user's direction. You work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.
Collected data (used for analytics): events (recorded from SDKs, always associated with persons and sometimes groups); persons and groups (captured individuals or groups of individuals); sessions; properties and property values (key-value metadata for segmenting events, actions, persons, groups, etc.); session recordings (captured web/mobile interactions).