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: pkg/github/__toolsnaps__/get_me.snap
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,9 @@
3
3
"title": "Get my user profile",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Get details of the authenticated GitHub user. Use this when a request includes \"me\", \"my\". The output will not change unless the user changes their profile, so only call this once.",
6
+
"description": "Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.",
7
7
"inputSchema": {
8
-
"properties": {
9
-
"reason": {
10
-
"description": "Optional: the reason for requesting the user information",
Copy file name to clipboardExpand all lines: pkg/github/context_tools.go
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,11 @@ type UserDetails struct {
35
35
// GetMe creates a tool to get details of the authenticated user.
36
36
funcGetMe(getClientGetClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
37
37
tool:=mcp.NewTool("get_me",
38
-
mcp.WithDescription(t("TOOL_GET_ME_DESCRIPTION", "Get details of the authenticated GitHub user. Use this when a request includes \"me\", \"my\". The output will not change unless the user changes their profile, so only call this once.")),
38
+
mcp.WithDescription(t("TOOL_GET_ME_DESCRIPTION", "Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.")),
39
39
mcp.WithToolAnnotation(mcp.ToolAnnotation{
40
40
Title: t("TOOL_GET_ME_USER_TITLE", "Get my user profile"),
41
41
ReadOnlyHint: ToBoolPtr(true),
42
42
}),
43
-
mcp.WithString("reason",
44
-
mcp.Description("Optional: the reason for requesting the user information"),
0 commit comments