From 348b19be512f9c754f08cdc562a90d2ebf858ba9 Mon Sep 17 00:00:00 2001 From: Cobi Druxerman Date: Fri, 1 Aug 2025 10:29:45 -0400 Subject: [PATCH 1/5] Update Create Feature description to make creating a new feature easier --- src/mcp/tools/featureTools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp/tools/featureTools.ts b/src/mcp/tools/featureTools.ts index a0aaf93e7..485f1a76e 100644 --- a/src/mcp/tools/featureTools.ts +++ b/src/mcp/tools/featureTools.ts @@ -481,7 +481,7 @@ export function registerFeatureTools( 'create_feature', { description: - 'Create a new feature flag. Include dashboard link in the response.', + 'Create a new feature flag. If a user is creating a feature, you should follow this up by creating a Variable and Variations for the feature and setting the initial targeting for at least the development environment. Include dashboard link in the response.', annotations: { title: 'Create Feature Flag', }, From cdf83f7d4c776b5ca98259dd941535e6aa7c03c9 Mon Sep 17 00:00:00 2001 From: Cobi Druxerman Date: Fri, 1 Aug 2025 10:30:28 -0400 Subject: [PATCH 2/5] another update --- src/mcp/tools/featureTools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp/tools/featureTools.ts b/src/mcp/tools/featureTools.ts index 485f1a76e..475222d93 100644 --- a/src/mcp/tools/featureTools.ts +++ b/src/mcp/tools/featureTools.ts @@ -481,7 +481,7 @@ export function registerFeatureTools( 'create_feature', { description: - 'Create a new feature flag. If a user is creating a feature, you should follow this up by creating a Variable and Variations for the feature and setting the initial targeting for at least the development environment. Include dashboard link in the response.', + 'Create a new feature flag. If a user is creating a feature, you should follow this up by 1. creating a Variable 2. creating Variations for the feature 3. setting the initial targeting for at least the development environment. Include dashboard link in the response.', annotations: { title: 'Create Feature Flag', }, From 12c3a8c9f6c4b30e592a3b78e8382eef510b1d19 Mon Sep 17 00:00:00 2001 From: Cobi Druxerman Date: Fri, 1 Aug 2025 10:36:43 -0400 Subject: [PATCH 3/5] more description tweaks --- src/mcp/tools/featureTools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp/tools/featureTools.ts b/src/mcp/tools/featureTools.ts index 475222d93..b65ce1f6d 100644 --- a/src/mcp/tools/featureTools.ts +++ b/src/mcp/tools/featureTools.ts @@ -481,7 +481,7 @@ export function registerFeatureTools( 'create_feature', { description: - 'Create a new feature flag. If a user is creating a feature, you should follow this up by 1. creating a Variable 2. creating Variations for the feature 3. setting the initial targeting for at least the development environment. Include dashboard link in the response.', + 'Create a new feature flag. If a user is creating a feature, you should follow this up by 1. creating a Variable 2. associating the Variable with the feature 3. creating Variations for the feature 4. setting the initial targeting for at least the development environment. Include dashboard link in the response.', annotations: { title: 'Create Feature Flag', }, From 077e5631a7cea142fa3d46a7cb3eab57c3746fb6 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 1 Aug 2025 10:52:01 -0400 Subject: [PATCH 4/5] chore: update create_feature description --- src/mcp/tools/featureTools.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mcp/tools/featureTools.ts b/src/mcp/tools/featureTools.ts index b65ce1f6d..0da7d7bd1 100644 --- a/src/mcp/tools/featureTools.ts +++ b/src/mcp/tools/featureTools.ts @@ -480,8 +480,13 @@ export function registerFeatureTools( serverInstance.registerToolWithErrorHandling( 'create_feature', { - description: - 'Create a new feature flag. If a user is creating a feature, you should follow this up by 1. creating a Variable 2. associating the Variable with the feature 3. creating Variations for the feature 4. setting the initial targeting for at least the development environment. Include dashboard link in the response.', + description: [ + 'Create a new feature flag. Include dashboard link in the response.', + 'If a user is creating a feature, you should follow these steps: ', + '1. creating a Variable and associate it with this feature. (default to creating a "boolean" variable with the same key as the feature)', + '2. create Variations for the feature. (default to creating an "on" and "off" variation)', + '3. set and enable initial targeting for at least the development environment. (default to all users)', + ].join('\n'), annotations: { title: 'Create Feature Flag', }, From 3c34904fe7253708aec14c33f3b01f28d0e0e7ab Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 1 Aug 2025 10:54:14 -0400 Subject: [PATCH 5/5] chore: update description again --- src/mcp/tools/featureTools.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mcp/tools/featureTools.ts b/src/mcp/tools/featureTools.ts index 0da7d7bd1..812b51de1 100644 --- a/src/mcp/tools/featureTools.ts +++ b/src/mcp/tools/featureTools.ts @@ -482,10 +482,10 @@ export function registerFeatureTools( { description: [ 'Create a new feature flag. Include dashboard link in the response.', - 'If a user is creating a feature, you should follow these steps: ', - '1. creating a Variable and associate it with this feature. (default to creating a "boolean" variable with the same key as the feature)', - '2. create Variations for the feature. (default to creating an "on" and "off" variation)', - '3. set and enable initial targeting for at least the development environment. (default to all users)', + 'If a user is creating a feature, you should follow these steps and ask users for input on these steps:', + '1. create a variable and associate it with this feature. (default to creating a "boolean" variable with the same key as the feature)', + '2. create variations for the feature. (default to creating an "on" and "off" variation)', + '3. set and enable initial targeting for at least the development environment. (default to all users with variation "on")', ].join('\n'), annotations: { title: 'Create Feature Flag',