You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"List MongoDB Atlas performance advisor recommendations, which includes the operations: suggested indexes, drop index suggestions, slow query logs, and schema suggestions";
23
38
publicoperationType: OperationType="read";
24
39
protectedargsShape={
25
40
projectId: z.string().describe("Atlas project ID to list performance advisor recommendations"),
@@ -29,7 +44,10 @@ export class ListPerformanceAdvisorTool extends AtlasToolBase {
29
44
.default(PerformanceAdvisorOperationType.options)
30
45
.describe("Operations to list performance advisor recommendations"),
31
46
since: z.date().describe("Date to list slow query logs since").optional(),
32
-
namespaces: z.array(z.string()).describe("Namespaces to list slow query logs").optional(),
47
+
namespaces: z
48
+
.array(z.string())
49
+
.describe("Namespaces to list slow query logs. Only relevant for the slowQueryLogs operation.")
50
+
.optional(),
33
51
};
34
52
35
53
protectedasyncexecute({
@@ -60,8 +78,8 @@ export class ListPerformanceAdvisorTool extends AtlasToolBase {
0 commit comments