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
Copy file name to clipboardExpand all lines: src/tools/atlas/read/getPerformanceAdvisor.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,9 @@ export class GetPerformanceAdvisorTool extends AtlasToolBase {
26
26
protecteddescription=`Get MongoDB Atlas performance advisor recommendations, which includes the operations: suggested indexes, drop index suggestions, schema suggestions, and a sample of the most recent (max ${DEFAULT_SLOW_QUERY_LOGS_LIMIT}) slow query logs`;
27
27
publicoperationType: OperationType="read";
28
28
protectedargsShape={
29
-
projectId: AtlasArgs.projectId().describe("Atlas project ID to get performance advisor recommendations"),
29
+
projectId: AtlasArgs.projectId().describe(
30
+
"Atlas project ID to get performance advisor recommendations. The project ID is a hexadecimal identifier of 24 characters. If the user has only specified the name, use the `atlas-list-projects` tool to retrieve the user's projects with their ids."
31
+
),
30
32
clusterName: AtlasArgs.clusterName().describe("Atlas cluster name to get performance advisor recommendations"),
Copy file name to clipboardExpand all lines: src/tools/mongodb/read/aggregate.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ export const AggregateArgs = {
65
65
"An array of aggregation stages to execute. $vectorSearch can only appear as the first stage of the aggregation pipeline or as the first stage of a $unionWith subpipeline. When using $vectorSearch, unless the user explicitly asks for the embeddings, $unset any embedding field to avoid reaching context limits."
Copy file name to clipboardExpand all lines: src/tools/mongodb/read/find.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ export const FindArgs = {
30
30
"A document, describing the sort order, matching the syntax of the sort argument of cursor.sort(). The keys of the object are the fields to sort on, while the values are the sort directions (1 for ascending, -1 for descending)."
0 commit comments