Skip to content

Commit 0546943

Browse files
Update tool descriptions (#482)
* Update Create Feature description to make creating a new feature easier * another update * more description tweaks * chore: update create_feature description * chore: update description again --------- Co-authored-by: Jonathan Norris <jonathan@taplytics.com>
1 parent e50c7c8 commit 0546943

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/mcp/tools/featureTools.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,13 @@ export function registerFeatureTools(
480480
serverInstance.registerToolWithErrorHandling(
481481
'create_feature',
482482
{
483-
description:
483+
description: [
484484
'Create a new feature flag. Include dashboard link in the response.',
485+
'If a user is creating a feature, you should follow these steps and ask users for input on these steps:',
486+
'1. create a variable and associate it with this feature. (default to creating a "boolean" variable with the same key as the feature)',
487+
'2. create variations for the feature. (default to creating an "on" and "off" variation)',
488+
'3. set and enable initial targeting for at least the development environment. (default to all users with variation "on")',
489+
].join('\n'),
485490
annotations: {
486491
title: 'Create Feature Flag',
487492
},

0 commit comments

Comments
 (0)