:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(warehouse-suggestions): drop score from the mcp list (#114930)
Thiago Salvatore86a130dd7d2b
diff --git a/products/warehouse_suggestions/mcp/tools.yaml b/products/warehouse_suggestions/mcp/tools.yamlindex 95e0b4406994..30a4d4a04655 100644--- a/products/warehouse_suggestions/mcp/tools.yaml+++ b/products/warehouse_suggestions/mcp/tools.yaml@@ -61,7 +61,9 @@ tools:`payload` says what accepting would create or change. `can_act` says whether the caller can edit the view ortable, which accept, dismiss and resume require. Accepting a certify or deprecate suggestion also requiresedit access to the data catalog. Use warehouse-suggestions-get for the usage evidence behind one suggestion.- If the list is empty, call warehouse-suggestions-status to learn why.+ If the list is empty, call warehouse-suggestions-status to learn why. Results come strongest first within+ each kind. Explain a suggestion to the user with the numbers in `payload`, the time and bytes saved or spent+ per month. For a certify suggestion, use the read counts from warehouse-suggestions-get.response:include:- id@@ -70,7 +72,6 @@ tools:- subject_id- payload- status- - score- can_actwarehouse-suggestions-resume:operation: warehouse_suggestions_resume_creatediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 68fb95b72ce6..7f6498db6d16 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -14777,7 +14777,7 @@"feature_flag": "warehouse-suggestions"},"warehouse-suggestions-list": {- "description": "Recommendations to certify, deprecate or materialize data warehouse views and tables, computed daily from how often the project reads them. Pass status=proposed for the suggestions still waiting for a decision. `payload` says what accepting would create or change. `can_act` says whether the caller can edit the view or table, which accept, dismiss and resume require. Accepting a certify or deprecate suggestion also requires edit access to the data catalog. Use warehouse-suggestions-get for the usage evidence behind one suggestion. If the list is empty, call warehouse-suggestions-status to learn why.",+ "description": "Recommendations to certify, deprecate or materialize data warehouse views and tables, computed daily from how often the project reads them. Pass status=proposed for the suggestions still waiting for a decision. `payload` says what accepting would create or change. `can_act` says whether the caller can edit the view or table, which accept, dismiss and resume require. Accepting a certify or deprecate suggestion also requires edit access to the data catalog. Use warehouse-suggestions-get for the usage evidence behind one suggestion. If the list is empty, call warehouse-suggestions-status to learn why. Results come strongest first within each kind. Explain a suggestion to the user with the numbers in `payload`, the time and bytes saved or spent per month. For a certify suggestion, use the read counts from warehouse-suggestions-get.","category": "Warehouse suggestions","feature": "warehouse_suggestions","summary": "List warehouse suggestions",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 0dbb9aac1271..338cb4a3f9e4 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -15455,7 +15455,7 @@"feature_flag": "warehouse-suggestions"},"warehouse-suggestions-list": {- "description": "Recommendations to certify, deprecate or materialize data warehouse views and tables, computed daily from how often the project reads them. Pass status=proposed for the suggestions still waiting for a decision. `payload` says what accepting would create or change. `can_act` says whether the caller can edit the view or table, which accept, dismiss and resume require. Accepting a certify or deprecate suggestion also requires edit access to the data catalog. Use warehouse-suggestions-get for the usage evidence behind one suggestion. If the list is empty, call warehouse-suggestions-status to learn why.",+ "description": "Recommendations to certify, deprecate or materialize data warehouse views and tables, computed daily from how often the project reads them. Pass status=proposed for the suggestions still waiting for a decision. `payload` says what accepting would create or change. `can_act` says whether the caller can edit the view or table, which accept, dismiss and resume require. Accepting a certify or deprecate suggestion also requires edit access to the data catalog. Use warehouse-suggestions-get for the usage evidence behind one suggestion. If the list is empty, call warehouse-suggestions-status to learn why. Results come strongest first within each kind. Explain a suggestion to the user with the numbers in `payload`, the time and bytes saved or spent per month. For a certify suggestion, use the read counts from warehouse-suggestions-get.","category": "Warehouse suggestions","feature": "warehouse_suggestions","summary": "List warehouse suggestions",diff --git a/services/mcp/src/tools/generated/warehouse_suggestions.ts b/services/mcp/src/tools/generated/warehouse_suggestions.tsindex db2a54552661..f1794842c61f 100644--- a/services/mcp/src/tools/generated/warehouse_suggestions.ts+++ b/services/mcp/src/tools/generated/warehouse_suggestions.ts@@ -167,16 +167,7 @@ const warehouseSuggestionsList = (): ToolBase<const filtered = {...result,results: (result.results ?? []).map((item: any) =>- pickResponseFields(item, [- 'id',- 'kind',- 'subject_kind',- 'subject_id',- 'payload',- 'status',- 'score',- 'can_act',- ])+ pickResponseFields(item, ['id', 'kind', 'subject_kind', 'subject_id', 'payload', 'status', 'can_act'])),} as typeof resultreturn await withPostHogUrl(context, filtered, '/models')