Skip to content

Commit 081efe8

Browse files
committed
updating tool get_me
1 parent 0eb5c9a commit 081efe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/github/__toolsnaps__/get_me.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "Get my user profile",
44
"readOnlyHint": true
55
},
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 it is necessary to get information to build other tool calls.",
77
"inputSchema": {
88
"properties": {},
99
"type": "object"

pkg/github/context_tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type UserDetails struct {
3535
// GetMe creates a tool to get details of the authenticated user.
3636
func GetMe(getClient GetClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
3737
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 it is necessary to get information to build other tool calls.")),
3939
mcp.WithToolAnnotation(mcp.ToolAnnotation{
4040
Title: t("TOOL_GET_ME_USER_TITLE", "Get my user profile"),
4141
ReadOnlyHint: ToBoolPtr(true),

0 commit comments

Comments
 (0)