File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -125,23 +125,6 @@ please log a ticket here: https://github.com/mongodb-js/mongodb-mcp-server/issue
125125 ) : TelemetryToolMetadata {
126126 const toolMetadata : TelemetryToolMetadata = { } ;
127127
128- const client = this . session . atlasLocalClient ;
129- if ( ! args . length || ! client ) {
130- return toolMetadata ;
131- }
132-
133- // Create a typed parser for the exact shape we expect
134- const argsShape = z . object ( this . argsShape ) ;
135- const parsedResult = argsShape . safeParse ( args [ 0 ] ) ;
136-
137- if ( ! parsedResult . success ) {
138- this . session . logger . debug ( {
139- id : LogId . telemetryMetadataError ,
140- context : "tool" ,
141- message : `Error parsing tool arguments: ${ parsedResult . error . message } ` ,
142- } ) ;
143- return toolMetadata ;
144- }
145128
146129 // Atlas Local tools set the deployment ID in the result metadata for telemetry
147130 // If the deployment ID is set, we use it for telemetry
You can’t perform that action at this time.
0 commit comments