Skip to content

Commit 6464254

Browse files
committed
update for nitpick comments
1 parent b0e4df5 commit 6464254

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/roots_client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func main() {
156156

157157
// mock the root change
158158
if err := mcpClient.RootListChanges(ctx); err != nil {
159-
log.Printf("fail to notify root list change: %v", err)
159+
log.Printf("failed to notify root list change: %v", err)
160160
}
161161

162162
// Keep running until cancelled by signal

examples/roots_http_client/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ func main() {
115115

116116
// mock the root change
117117
if err := mcpClient.RootListChanges(ctx); err != nil {
118-
log.Printf("fail to notify root list change: %v", err)
118+
log.Printf("failed to notify root list change: %v", err)
119119
}
120120

121121
// call server tool
122122
request := mcp.CallToolRequest{
123123
Params: mcp.CallToolParams{
124124
Name: "roots",
125-
Arguments: map[string]any{"testonly": "yes"},
125+
Arguments: map[string]any{},
126126
},
127127
}
128128
result, err := mcpClient.CallTool(ctx, request)

examples/roots_server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
// Add a simple tool to test roots list
3434
mcpServer.AddTool(mcp.Tool{
3535
Name: "roots",
36-
Description: "Returns the current list of roots from the server",
36+
Description: "Requests and returns the current list of roots from the connected client",
3737
InputSchema: mcp.ToolInputSchema{
3838
Type: "object",
3939
Properties: map[string]any{},

0 commit comments

Comments
 (0)