diff --git a/src/mcp-server/tools/featureFlagsGet.ts b/src/mcp-server/tools/featureFlagsGet.ts index 6d36ae1d..f4a7b32e 100644 --- a/src/mcp-server/tools/featureFlagsGet.ts +++ b/src/mcp-server/tools/featureFlagsGet.ts @@ -13,7 +13,7 @@ const args = { export const tool$featureFlagsGet: ToolDefinition = { name: "get-feature-flag", description: - `Fetches the full configuration for a specific feature flag, including environments, variations, and targeting rules. Useful for agents auditing or managing specific feature toggles in a detailed, contextual manner. + `Fetches the full configuration for a specific feature flag, including environments, variations, and targeting rules. For navigation/open-in-browser flows, use environments..site.href from this response as the canonical UI path for that environment. `, scopes: ["read"], args, diff --git a/src/mcp-server/tools/featureFlagsList.ts b/src/mcp-server/tools/featureFlagsList.ts index 05b1c8d6..e5372d20 100644 --- a/src/mcp-server/tools/featureFlagsList.ts +++ b/src/mcp-server/tools/featureFlagsList.ts @@ -13,7 +13,7 @@ const args = { export const tool$featureFlagsList: ToolDefinition = { name: "list-feature-flags", description: - `Retrieves all feature flags within a project, including metadata and targeting rules. Enables AI agents to enumerate existing flags for inspection, configuration analysis, or generating flag usage reports across environments. + `Retrieves all feature flags within a project, including metadata and targeting rules. Enables AI agents to enumerate existing flags for inspection, configuration analysis, or generating flag usage reports across environments. IMPORTANT: Do not fabricate UI URLs from project/key. This endpoint is for discovery; when a user asks to open a flag, call get-feature-flag and use environments..site.href from that response. The 'filter' parameter uses field:value syntax — to search by keyword use query: (e.g. filter: "query:dark-mode"). Other supported filters: tags:, state:live|deprecated|archived, hasExperiment:true|false, maintainerId:, hasDataExport:true|false. Combine with commas. `, scopes: ["read"], args,